DIAG_REP 
Logical Entity Name  Diagnostics Report 
Default Table Name  DIAG_REP 
Oracle Temporary Table  NO 
Physical Only  NO 
Do Not Generate  False 
Owner  DIAG 
Definition 
Diagnostics Report: Defintion of Beam Instrumentation (Diagnostics) web based reports.
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE DIAG.DIAG_REP(
     REP_ID                VARCHAR2(50)       NOT NULL,
     DESCR                 VARCHAR2(255),
     TITLE                 VARCHAR2(255)      NOT NULL,
     STAT_IMG_IND          CHAR(1)            DEFAULT 'N' NOT NULL,
     STAT_IMG_FREQ         NUMBER(4, 0)       NOT NULL,
     MOD_BY_BN             VARCHAR2(10)       NOT NULL,
     MOD_DATE              DATE               NOT NULL,
     NOTE                  VARCHAR2(4000),
     TMPL_ID               VARCHAR2(25)       NOT NULL,
     START_TIME            TIMESTAMP(6),
     START_TIME_OFFSET     NUMBER(5, 0),
     END_TIME              TIMESTAMP(6),
     END_TIME_OFFSET       NUMBER(5, 0),
     OFFSET_UOM_ID         VARCHAR2(20)       NOT NULL,
     CONSTRAINT PK_DIAG_REP PRIMARY KEY (REP_ID)
     USING INDEX
         PCTFREE 10
         INITRANS 2
         MAXTRANS 255
         TABLESPACE DIAG_TS
         LOGGING
         STORAGE(INITIAL 256K
                 NEXT 256K
                 MINEXTENTS 1
                 MAXEXTENTS UNLIMITED
                 PCTINCREASE 0
                 FREELISTS 1
                 FREELIST GROUPS 1
                 ),
     CONSTRAINT FK_DIAG_REP_TO_DIAG_REP_TMPL FOREIGN KEY (TMPL_ID)
     REFERENCES DIAG.DIAG_REPT_TMPL(TMPL_ID)
)
PCTFREE 10
PCTUSED 40
INITRANS 1
MAXTRANS 255
TABLESPACE DIAG_TS
LOGGING
NOPARALLEL
STORAGE(INITIAL 256K
         NEXT 256K
         MINEXTENTS 1
         MAXEXTENTS UNLIMITED
         PCTINCREASE 0
         FREELISTS 1
         FREELIST GROUPS 1
         )
NOCACHE
NOCOMPRESS
;
 
PostSQL   

DIAG_REP Columns 
ColumnName  Domain  Datatype  NULL  Definition 
REP_ID(PK)    VARCHAR2(50)  NO 
 
DESCR  Description  VARCHAR2(255)  YES 
Description: Often used in validation tables accompanying an abbreviated identifer.
 
TITLE  Title  VARCHAR2(255)  NO 
 
STAT_IMG_IND  Indicator  CHAR(1)  NO 
 
STAT_IMG_FREQ    NUMBER(4, 0)  NO 
Static Image Frequency: How often to create a static image of the plot.
 
MOD_BY_BN  Modied By Badge Number  VARCHAR2(10)  NO 
Modified by Badge Number:  The ORNL badge number of the person who inserted or update a record in the table.
 
MOD_DATE  Modify Date  DATE  NO 
Modify Date: The date the entity values were were created or modified.
 
NOTE  Note  VARCHAR2(4000)  YES 
 
TMPL_ID(FK)    VARCHAR2(25)  NO 
 
START_TIME  Start Time  TIMESTAMP(6)  YES 
Start Time: If the axis is a temporal plot then the starting time.
 
START_TIME_OFFSET    NUMBER(5, 0)  YES 
Start Time Offset: The offset, most often in days to apply to the the start time. (i.e. sysdate - 1).
 
END_TIME  Datetime  TIMESTAMP(6)  YES 
 
END_TIME_OFFSET    NUMBER(5, 0)  YES 
End Time Offset: The offset, most often in days to apply to the the end time. (i.e. sysdate - 1).
 
OFFSET_UOM_ID    VARCHAR2(20)  NO 
Unit of Measure:  A field used to define a unique unit of measure.
 

DIAG_REP Primary and Unique Keys 
Key Name  Key Type  Keys 
PK_DIAG_REP  PrimaryKey  REP_ID 

DIAG_REP Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Deferrable  Initially Deferred 
DIAG_REPT_TMPL  Non-Identifying  One To Zero or More  FK_DIAG_REP_TO_DIAG_REP_TMPL      TMPL_ID  NO  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable  Initially Deferred 
REP_DIST  Identifying  One To Zero or More          NO  NO  YES 
DIAG_RPT_CHART_ASSC  Identifying  One To Zero or More          NO  NO  YES 
REP_OPT_DIAG_REP_ASSC  Identifying  One To Zero or More  FK_RODRA_TO_DIAG_REP        NO  NO  NO 

DIAG_REP Check Constraints 
Check Constraint Name  CheckConstraint 

DIAG_REP Storage 
STORAGE OPTION  STORAGE VALUE 
TABLESPACE  DIAG_TS 
PctFree  10 
PCTUSED   40 
MinExtents 
MaxExtents  2147483645 
Initial  256 
Next  256 
PctIncrease 
InitTrans 
MaxTrans  255 
Organization  Heap 
Cache  NO 
Logging   
Parallel  NO 
Parallel Degrees   
Parallel Instances   
FREELISTS 
FREELIST GROUPS 
Buffer Pool   
Table Compression  NO 
Row Movement  Disabled 

DIAG_REP Partitions 
PARTITION PROPERTY  PARTITION PROPERTY VALUE 

DIAG_REP Growth Metrics 
TABLE METRIC  TABLE METRIC VALUE 
Current Row Count 
Growth  Static 
Growth Type  N/A 
Growth Period  N/A 
Maximum Rows 
Average Row Size 

DIAG_REP Object Permissions 

User/Role Name  Grantee Type  Permission Type  Action Type  Is Action Extended  Is System 
DIAG_REP Security Types 
Name  Current Value 

DIAG_REP Bound Attachments 
Name  Current Value 

DIAG_REP Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
DIAG.Diagnostics Report 
NO       
ALARM_MYSQL (MySQL)
Does Not Exist 
NO       
ALARM_ORACLE (Oracle)
Does Not Exist 
NO       
BICS (Oracle)
Does Not Exist 
NO       
BLM (Oracle)
Does Not Exist 
NO       
BYPASS_REQ (Oracle)
Does Not Exist 
NO       
CHAN_ARCH (Oracle)
Does Not Exist 
NO       
CNMS_PRPSL (Oracle)
Does Not Exist 
NO       
DIAG (Oracle)
DIAG.DIAG_REP 
NO       
DIAG_MPS (Oracle)
Does Not Exist 
NO       
ENGA (Oracle)
Does Not Exist 
NO       
EPICS (Oracle)
Does Not Exist 
NO       
EQUIP (Oracle)
Does Not Exist 
NO       
EXPRESS (Oracle)
Does Not Exist 
NO       
ICS_SFTW_APPL (Oracle)
Does Not Exist 
NO       
INSTR (Oracle)
Does Not Exist 
NO       
Instrument Logbook (Oracle)
Does Not Exist 
NO       
INVT (Oracle)
Does Not Exist 
NO       
IONSRC (Oracle)
Does Not Exist 
NO       
IONSRC1 (Oracle)
Does Not Exist 
NO       
IPTSv5 (Oracle)
Does Not Exist 
NO       
IRMISBase (Oracle)
Does Not Exist 
NO       
Logbook (Oracle)
Does Not Exist 
NO       
Magnet (Oracle)
Does Not Exist 
NO       
MPS (Oracle)
Does Not Exist 
NO       
NS_OPER (Oracle)
Does Not Exist 
NO       
OPER (Oracle)
Does Not Exist 
NO       
PART (Oracle)
Does Not Exist 
NO       
PRINT (Oracle)
Does Not Exist 
NO       
PROC (Oracle)
Does Not Exist 
NO       
PRPSL (Oracle)
Does Not Exist 
NO       
PUBL (Oracle)
Does Not Exist 
NO       
PUBL_V1 (Oracle)
Does Not Exist 
NO       
PV_LOGGER (Oracle)
Does Not Exist 
NO       
SCORE (Oracle)
Does Not Exist 
NO       
SICAT (Oracle)
Does Not Exist 
NO       
SMPL (Oracle)
Does Not Exist 
NO       
SMPLACT (Oracle)
Does Not Exist 
NO       
SURVEY (Oracle)
Does Not Exist 
NO       
Watchman (Oracle)
DIAG.DIAG_REP 
NO       
XAL_OPTICS (Oracle)
Does Not Exist 
NO       
XF_ADMIN (Oracle)
Does Not Exist 
NO       

DIAG_REP Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  Diagnostics 
Logical  Diagnostics - Watchman 
DIAG (Oracle)  Main Model 
Watchman (Oracle)  Main Model 

DIAG_REP Data Movement Rules 
Name  Type  Rule Text/Value