| SUBSTANCE |
| Logical Entity Name | SUBSTANCE |
| Default Table Name | SUBSTANCE |
| Physical Only | NO |
| Do Not Generate | False |
| Owner | BARD_CAP_PROD |
| Definition | Substance is used a CACHE of data from PubChem. This cache can be removed if we can be assured that availability and capacity (for API queries) of PubChem will support dynamic use. |
| Note | |
| PreSQL | |
| DDL Code | CREATE TABLE BARD_CAP_PROD.SUBSTANCE(      SUBSTANCE_ID     NUMBER(19, 0)      NOT NULL,      SMILES           VARCHAR2(4000),      VERSION          NUMBER(38, 0)      DEFAULT 0 NOT NULL,      DATE_CREATED     TIMESTAMP(6)       DEFAULT sysdate NOT NULL,      LAST_UPDATED     TIMESTAMP(6),      MODIFIED_BY      VARCHAR2(40),      CONSTRAINT PK_SUBSTANCE PRIMARY KEY (SUBSTANCE_ID)      USING INDEX          PCTFREE 10          INITRANS 2          MAXTRANS 255          TABLESPACE BARD_CAP_PROD          LOGGING          STORAGE(INITIAL 64K                  NEXT 1024K                  MINEXTENTS 1                  MAXEXTENTS UNLIMITED                  PCTINCREASE 0                  BUFFER_POOL DEFAULT                  ) ) PCTFREE 10 INITRANS 1 MAXTRANS 255 TABLESPACE BARD_CAP_PROD LOGGING STORAGE(INITIAL 64K          NEXT 1024K          MINEXTENTS 1          MAXEXTENTS UNLIMITED          PCTINCREASE 0          BUFFER_POOL DEFAULT          ) ; |
| PostSQL |
| SUBSTANCE Columns |
| ColumnName | Domain | Datatype | NULL | Definition |
SUBSTANCE_ID |
NUMBER(19, 0) | NO | ||
| SMILES | VARCHAR2(4000) | YES | ||
| VERSION | NUMBER(38, 0) | NO | ||
| DATE_CREATED | TIMESTAMP(6) | NO | ||
| LAST_UPDATED | TIMESTAMP(6) | YES | ||
| MODIFIED_BY | VARCHAR2(40) | YES |
| SUBSTANCE Primary and Unique Keys |
| Key Name | Key Type | Keys |
| PK_SUBSTANCE | PrimaryKey | SUBSTANCE_ID |
| SUBSTANCE Foreign Keys |
| Parent Relationships: |
| Table Name | Type | Cardinality | Constraint Name | VerbPhrase | InversePhrase | Foreign Keys | Is Supertype | Deferrable | Initially Deferred |
| Child Relationships: |
| Table Name | Type | Cardinality | Constraint Name | VerbPhrase | InversePhrase | Foreign Keys | Is Subtype | Deferrable | Initially Deferred |
| SUBSTANCE Check Constraints |
| Check Constraint Name | CheckConstraint |
| SUBSTANCE Storage |
| STORAGE OPTION | STORAGE VALUE |
| TABLESPACE | BARD_CAP_PROD |
| PctFree | 10 |
| PCTUSED | 0 |
| MinExtents | 1 |
| MaxExtents | 2147483645 |
| Initial | 64 |
| Next | 1024 |
| PctIncrease | 0 |
| InitTrans | 1 |
| MaxTrans | 255 |
| Organization | Heap |
| Cache | NO |
| Logging | Logged |
| Parallel | NO |
| Parallel Degrees | |
| Parallel Instances | |
| FREELISTS | FreeLists |
| FREELIST GROUPS | FreeList Groups |
| Buffer Pool | DEFAULT |
| Table Compression | NO |
| Row Movement | Disabled |
| SUBSTANCE Growth Metrics |
| TABLE METRIC | TABLE METRIC VALUE |
| Current Row Count | 0 |
| Growth | Static |
| Growth Type | N/A |
| Growth Period | N/A |
| Maximum Rows | 0 |
| SUBSTANCE Security Types |
| Name | Current Value |
| SUBSTANCE Where Used - Model Usage |
| Mapped Object | Is User Defined? | Denormalization Mappings | Description | Bound Attachments |
| Logical Does Not Exist |
NO | |||
| BARD - MySQL (MySQL) Does Not Exist |
NO | |||
| BARD_Dev (Oracle) SUBSTANCE |
NO | |||
| Current Production (Oracle) BARD_CAP_PROD.SUBSTANCE |
NO |
| SUBSTANCE Where Used - Submodel Usage |
| Model | Submodel Usage |
| BARD_Dev (Oracle) | Main Model |
| Current Production (Oracle) | Main Model |
| Current Production (Oracle) | Dictionary |