CREATE TABLE cso_doc_data (
    COLLECTION_ID           NUMBER       ,
    DATA_TYPE_ID            NUMBER       ,
    DOC_ID                  NUMBER       ,
    GZIP_DATA               BLOB         ,
    GZIP_DATA_SIZE          NUMBER           NOT NULL,
    ORIG_DATA_SIZE          NUMBER           NOT NULL,
    FILE_APP_METADATA_ID    VARCHAR2(128),
    COLLECTION_ID           NUMBER       ,
    DATA_TYPE_ID            NUMBER       ,
    DOC_ID                  NUMBER       ,
    GZIP_DATA               BLOB         ,
    GZIP_DATA_SIZE          NUMBER           NOT NULL,
    ORIG_DATA_SIZE          NUMBER           NOT NULL,
    FILE_APP_METADATA_ID    VARCHAR2(128),
    CONSTRAINT pk_cso_doc_data PRIMARY KEY (COLLECTION_ID, DATA_TYPE_ID, DOC_ID, COLLECTION_ID, DATA_TYPE_ID, DOC_ID)
);
