Table Detail Report
DM_SCRIPT_TABLES
| Column Section | Top of Page |
Table-level Detail
| Description: | DM SCRIPT TABLES |
| Definition: | Holds table names used in all parent/request & child objects |
| Table Type: | ACTIVITY |
Column Detail - DM_SCRIPT_TABLES
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| SCHEMA_DATE | DATE | N | Rev date from DM_SCHEMA_VERSION |
| SCRIPT_NAME | VC2(80) | N | The script name of the object that the table information was generated for |
| TABLE_NAME | VC2(32) | N | Name of the tables used within a specific object |
| USER_NAME | VC2(30) | N | Shows what user is accessing the table, either a BATCH or an individual user |
DM_SEGMENTS
| Column Section | Top of Page |
Table-level Detail
| Description: | DM SEGMENTS |
| Definition: | Contains the same info as USER_SEGMENTS |
| Table Type: | ACTIVITY |
Column Detail - DM_SEGMENTS
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| BLOCKS | FLOAT | Y | Number of blocks used by the segment |
| BYTES | FLOAT | Y | Number of bytes used by the segment |
| EXTENTS | FLOAT | Y | The number of extents used by the segment |
| FREELISTS | FLOAT | Y | Free lists for the segment |
| FREELIST_GROUPS | FLOAT | Y | Free list groups for the segment |
| INITIAL_EXTENT | FLOAT | Y | The initial extent allocated to the segment |
| MAX_EXTENTS | FLOAT | Y | The maximum extent allowed for the segment |
| MIN_EXTENTS | FLOAT | Y | The minimum extent for the segment |
| NEXT_EXTENT | FLOAT | Y | The next extent for the segment |
| PCT_INCREASE | FLOAT | Y | The percent increase for the segment |
| SEGMENT_NAME | VC2(81) | N | Name of the segment (index or table) |
| SEGMENT_TYPE | VC2(18) | N | The type of the segment |
| TABLESPACE_NAME | VC2(30) | Y | The name of the table space |
| TABLE_NAME | VC2(30) | N | The Table name associated with the segment (index or table) |
DM_SOFT_CONSTRAINTS
| Column Section | Top of Page |
Table-level Detail
| Description: | DM table for dynamic soft constraints. |
| Definition: | DM merge table |
| Table Type: | REFERENCE |
Column Detail - DM_SOFT_CONSTRAINTS
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| CHILD_COLUMN | VC2(30) | Y | Column name |
| CHILD_TABLE | VC2(30) | Y | Table name |
| CHILD_WHERE | VC2(255) | Y | Optional where clause |
| CODE_SET | NUMBER | N | code_set for the soft constraint |
| EXCLUDE_IND | NUMBER | Y | this constraint should be excluded |
| PARENT_COLUMN | VC2(30) | Y | Column name |
| PARENT_TABLE | VC2(30) | Y | Table name |
| REFERENCE_IND | NUMBER | Y | constraint is a reference type |
DM_SQL_PERF
| Column Section | Top of Page |
Table-level Detail
| Description: | DM SQL PERF |
| Definition: | Data used by trhe CBO Implementer |
| Table Type: | ACTIVITY |
Column Detail - DM_SQL_PERF
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| CCL_QUERY_NBR | NUMBER | N | Cerner Query Number |
| CCL_QUERY_NBR_TEXT | VC2(7) | N | Cerner query identifier |
| CCL_SCRIPT_NAME | VC2(30) | N | Cerner Script Name |
| COMMENTS | VC2(255) | Y | SQL PERF COMMENTS |
| DM_SQL_ID | NUMBER | N | PRIMARY KEY |
| LAST_TUNING_DT_TM | DATE | Y | Last Tuning Date and Time |
| SQLTEXT_HASH_VALUE | NUMBER | N | Cerner generated hash value on SQL_TEXT from GV$SQL |
| TGT_OPT_MODE | NUMBER | N | Cerner Optimizer Mode |
| TUNING_STATUS | VC2(40) | N | Cerner tuning status |
| UPDT_APPLCTX | NUMBER | N | The application context number from the record info block. |
| UPDT_CNT | NUMBER | N | Set to 0 on insert. Incremented by 1 on update. Used to recognize update conflict where data in a row updated by one application is at risk of being lost by a second application attempting to update the row. |
| UPDT_DT_TM | DATE | N | The date and time the row was last inserted or updated. |
| UPDT_ID | NUMBER | N | The person_id of the person from the personnel table (prsnl) that caused the last insert or update of the row in the table. |
| UPDT_TASK | NUMBER | N | The registered (assigned) task number for the process that inserted or updated the row. |
DM_SQL_PERFORMANCE
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | DM_SQL_PERFORMANCE |
| Definition: | Stores tuning status, best optimizer mode for different queries used by Millennium applications. |
| Table Type: | REFERENCE |
Column Detail - DM_SQL_PERFORMANCE
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| BEST_OPTIMIZER_MODE | VC2(40) | N | UNKNOWN', 'RULE', 'FIRST ROWS', 'CHOOSE' |
| COMMENTS | VC2(255) | Y | Contains comments relating to the performance of this SQL. |
| DM_SQL_ID | NUMBER | N | Primary key, pull value from DM_CLINICAL_SEQ |
| FINAL_BUFFER_GETS_EXEC | FLOAT | N | final ratio that was determined to be the best |
| FINAL_EXECUTIONS_SEC | FLOAT | N | final ratio of executions per second |
| FINAL_ROWS_PROCESSED_EXEC | FLOAT | N | Final number of rows processed executed |
| HASH_VALUE | FLOAT | N | Stores the hash value obtained from V$SQLAREA |
| INITIAL_BUFFER_GETS_EXEC | FLOAT | N | initial ratio that drove us to look at this statement |
| INITIAL_EXECUTIONS_SEC | FLOAT | N | initial ratio of executions per second |
| INITIAL_ROWS_PROCESSED_EXEC | FLOAT | N | Initial number of rows processed executed |
| LAST_TUNING_DT_TM | DATE | N | last time we worked on this SQL |
| OUTLINE_NAME | VC2(40) | Y | name of the stored outline |
| TUNING_STATUS | VC2(40) | N | NOT TUNED, IN PROCESS, TUNED |
| UPDT_APPLCTX | NUMBER | N | The application context number from the record info block. |
| UPDT_CNT | NUMBER | N | Set to 0 on insert. Incremented by 1 on update. Used to recognize update conflict where data in a row updated by one application is at risk of being lost by a second application attempting to update the row. |
| UPDT_DT_TM | DATE | N | The date and time the row was last inserted or updated. |
| UPDT_ID | NUMBER | N | The person_id of the person from the personnel table (prsnl) that caused the last insert or update of the row in the table. |
| UPDT_TASK | NUMBER | N | The registered (assigned) task number for the process that inserted or updated the row. |
Relationship Detail - DM_SQL_PERFORMANCE
| Parent Column in DM_SQL_PERFORMANCE (PK) | Child Table Name | Child Column Name | |
|---|---|---|---|
| Children: | DM_SQL_ID | DM_SQL_PERF_DTL_PLAN | DM_SQL_ID |
| DM_SQL_PERF_TEXT | DM_SQL_ID |