TEMPLATE 
Logical Entity Name  TEMPLATE 
Default Table Name  TEMPLATE 
Oracle Temporary Table  NO 
Physical Only  NO 
Do Not Generate  False 
Owner  EPICS 
Definition 
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE EPICS.TEMPLATE(
     TMPL_ID                  VARCHAR2(50)      NOT NULL,
     TMPL_DESC                VARCHAR2(255),
     EXT_SRC_FILE_NM          VARCHAR2(100),
     EXT_SRC_FILE_MOD_DTE     DATE              DEFAULT sysdate,
     CONSTRAINT TEMPLATE_PK PRIMARY KEY (TMPL_ID)
     USING INDEX
         PCTFREE 10
         INITRANS 2
         MAXTRANS 255
         TABLESPACE EPICS_INDEX_TS
         LOGGING
         STORAGE(INITIAL 64K
                 NEXT 64K
                 MINEXTENTS 1
                 MAXEXTENTS UNLIMITED
                 PCTINCREASE 0
                 FREELISTS 1
                 FREELIST GROUPS 1
                 BUFFER_POOL DEFAULT
                 ),
     CONSTRAINT EXT_SRC_FILE_NM_UNQ   UNIQUE (EXT_SRC_FILE_NM)
     USING INDEX
         PCTFREE 10
         INITRANS 2
         MAXTRANS 255
         TABLESPACE EPICS_INDEX_TS
         LOGGING
         STORAGE(INITIAL 64K
                 NEXT 64K
                 MINEXTENTS 1
                 MAXEXTENTS UNLIMITED
                 PCTINCREASE 0
                 FREELISTS 1
                 FREELIST GROUPS 1
                 BUFFER_POOL DEFAULT
                 )
)
PCTFREE 10
PCTUSED 40
INITRANS 1
MAXTRANS 255
TABLESPACE EPICS_TS
LOGGING
NOPARALLEL
STORAGE(INITIAL 64K
         NEXT 64K
         MINEXTENTS 1
         MAXEXTENTS UNLIMITED
         PCTINCREASE 0
         FREELISTS 1
         FREELIST GROUPS 1
         BUFFER_POOL DEFAULT
         )
NOCACHE
NOCOMPRESS
;
 
PostSQL   

TEMPLATE Columns 
ColumnName  Domain  Datatype  NULL  Definition 
TMPL_ID(PK)    VARCHAR2(50)  NO 
 
TMPL_DESC    VARCHAR2(255)  YES 
 
EXT_SRC_FILE_NM    VARCHAR2(100)  YES 
 
EXT_SRC_FILE_MOD_DTE    DATE  YES 
 

TEMPLATE Primary and Unique Keys 
Key Name  Key Type  Keys 
EXP_SRC_FILE_NM_UNQ  Index  EXT_SRC_FILE_NM 
TEMPLATE_PK  PrimaryKey  TMPL_ID 

TEMPLATE 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 
TMPL_MACRO  Identifying  One To Zero or More  TEMPLATE_MACRO_TMPL_ID_FK        NO  NO  NO 
TMPL_SGNL_REC  Identifying  One To Zero or More  TMPL_SGNL_REC_TEMPLATE_FK        NO  NO  NO 

TEMPLATE Check Constraints 
Check Constraint Name  CheckConstraint 

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

TEMPLATE Partitions 
PARTITION PROPERTY  PARTITION PROPERTY VALUE 

TEMPLATE 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 

TEMPLATE Object Permissions 

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

TEMPLATE Bound Attachments 
Name  Current Value 

TEMPLATE Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
EPICS.Template 
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)
Does Not Exist 
NO       
DIAG_MPS (Oracle)
Does Not Exist 
NO       
ENGA (Oracle)
Does Not Exist 
NO       
EPICS (Oracle)
EPICS.TEMPLATE 
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)
Does Not Exist 
NO       
XAL_OPTICS (Oracle)
Does Not Exist 
NO       
XF_ADMIN (Oracle)
Does Not Exist 
NO       

TEMPLATE Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  EPICS 
EPICS (Oracle)  Main Model 

TEMPLATE Data Movement Rules 
Name  Type  Rule Text/Value