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,
     PDF_IND              CHAR(1)           DEFAULT 'N' NOT NULL,
     PDF_FREQ             NUMBER(4, 0)      NOT NULL,
     MOD_BY_BN            VARCHAR2(10)      NOT NULL,
     MOD_DATE             DATE              NOT NULL,
     SGNL_ID              VARCHAR2(75),
     SNAPSHOT_TYPE_NM     VARCHAR2(120),
     PLOT_ID              VARCHAR2(25)      NOT NULL,
     CONSTRAINT PK793 PRIMARY KEY (REP_ID)
     USING INDEX
TABLESPACE DIAG_TS
         LOGGING,
     CONSTRAINT FK_DIAG_REP_TO_PLOT_TYPE FOREIGN KEY (PLOT_ID)
     REFERENCES DIAG.PLOT_TYPE(PLOT_ID),
     CONSTRAINT RefSGNL_REC1615 FOREIGN KEY (SGNL_ID)
     REFERENCES SGNL_REC(SGNL_ID),
     CONSTRAINT FK_DIAG_REP_TO_MACH_SNAP_TYPE FOREIGN KEY (SNAPSHOT_TYPE_NM)
     REFERENCES EPICS.MACH_SNAPSHOT_TYPE(SNAPSHOT_TYPE_NM)
)
PCTFREE 0
TABLESPACE DIAG_TS
LOGGING
NOPARALLEL
STORAGE(MINEXTENTS 1
         MAXEXTENTS UNLIMITED
         PCTINCREASE 0
         )
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 
 
PDF_IND  Indicator  CHAR(1)  NO 
 
PDF_FREQ    NUMBER(4, 0)  NO 
PDF Frequency: How often to create a PDF 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.
 
SGNL_ID(FK)  Signal Id  VARCHAR2(75)  YES 
Signal Identifier:
 
SNAPSHOT_TYPE_NM(FK)  Name  VARCHAR2(120)  YES 
Snapshot Type Name: Identifies a list of predefined signal identifers that are to be snapshoted.
 
PLOT_ID(FK)    VARCHAR2(25)  NO 
 

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

DIAG_REP Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Deferrable  Initially Deferred 
SGNL_REC  Non-Identifying  Zero or One to Zero or More        SGNL_ID  NO  NO  NO 
MACH_SNAPSHOT_TYPE  Non-Identifying  Zero or One to Zero or More  FK_DIAG_REP_TO_MACH_SNAP_TYPE      SNAPSHOT_TYPE_NM  NO  NO  NO 
PLOT_TYPE  Non-Identifying  One To Zero or More  FK_DIAG_REP_TO_PLOT_TYPE      PLOT_ID  NO  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable  Initially Deferred 
REP_AXIS_DEF  Identifying  One To Zero or More  fk_rep_axis_def_to_diag_rep        NO  NO  NO 
REP_CHAN  Identifying  One To Zero or More  FK_REP_CHAN_TO_DIAG_REP        NO  NO  NO 
REP_DIST  Identifying  One To Zero or More  FK_REP_DIST_TO_DIAG_REP        NO  NO  NO 
REP_MATH_FUNC_ASGN  Identifying  One To Zero or More  fk_rep_m_func_asgn_to_diag_rep        NO  NO  NO 
REP_PDF  Identifying  One To Zero or More  FK_REP_PDF_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 
PCTUSED    
MinExtents 
MaxExtents  2147483645 
Initial   
Next   
PctIncrease 
InitTrans   
MaxTrans   
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