MACH_SNAPSHOT_TYPE 
Logical Entity Name  Machine Snapshot Type 
Default Table Name  MACH_SNAPSHOT_TYPE 
Oracle Temporary Table  NO 
Physical Only  NO 
Do Not Generate  False 
Owner  EPICS 
Definition 
Machine Snapshot Type:  Predefined list that indicates what type or group the snapshot belongs.
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE EPICS.MACH_SNAPSHOT_TYPE(
     SNAPSHOT_TYPE_NM       VARCHAR2(120)     NOT NULL,
     SNAPSHOT_TYPE_DESC     VARCHAR2(255),
     SNAPSHOT_PER           NUMBER(5, 0)      NOT NULL,
     SNAPSHOT_RETENT        NUMBER(5, 0)      NOT NULL,
     SVC_ID                 VARCHAR2(10)      NOT NULL,
     CONSTRAINT MACH_SNAPSHOT_TYPE_PK PRIMARY KEY (SNAPSHOT_TYPE_NM)
     USING INDEX
         PCTFREE 0
         TABLESPACE EPICS_INDEX_TS
         LOGGING
         STORAGE(INITIAL 64K
                 NEXT 64K
                 MINEXTENTS 1
                 MAXEXTENTS UNLIMITED
                 PCTINCREASE 0
                 ),
     CONSTRAINT RefMACH_SNAPSHOT_SVC1114 FOREIGN KEY (SVC_ID)
     REFERENCES EPICS.MACH_SNAPSHOT_SVC(SVC_ID),
     CONSTRAINT RefMACH_SNAPSHOT_PER1695 FOREIGN KEY (SNAPSHOT_PER)
     REFERENCES EPICS.MACH_SNAPSHOT_PER(SNAPSHOT_PER),
     CONSTRAINT RefMACH_SNAPSHOT_RETENT1696 FOREIGN KEY (SNAPSHOT_RETENT)
     REFERENCES EPICS.MACH_SNAPSHOT_RETENT(SNAPSHOT_RETENT)
)
PCTFREE 0
TABLESPACE EPICS_TS
LOGGING
NOPARALLEL
STORAGE(INITIAL 64K
         NEXT 64K
         MINEXTENTS 1
         MAXEXTENTS UNLIMITED
         PCTINCREASE 0
         )
NOCACHE
NOCOMPRESS
;
 
PostSQL   

MACH_SNAPSHOT_TYPE Columns 
ColumnName  Domain  Datatype  NULL  Definition 
SNAPSHOT_TYPE_NM(PK)  Name  VARCHAR2(120)  NO 
Snapshot Type Name: Identifies a list of predefined signal identifers that are to be snapshoted.
 
SNAPSHOT_TYPE_DESC  Description  VARCHAR2(255)  YES 
Description: Often used in validation tables accompanying an abbreviated identifer.
 
SNAPSHOT_PER(FK)    NUMBER(5, 0)  NO 
Machine Snapshot: The period in seconds that the snapshop data should be saved. 0 = disable the snapshot.
 
SNAPSHOT_RETENT(FK)    NUMBER(5, 0)  NO 
Machine Retention: The period in days that the snapshop data should be retained. 0 = None.
 
SVC_ID(FK)    VARCHAR2(10)  NO 
Service Identifer: Abbreviated identifer for the PV Logger service.
 

MACH_SNAPSHOT_TYPE Primary and Unique Keys 
Key Name  Key Type  Keys 
MACH_SNAPSHOT_TYPE_PK  PrimaryKey  SNAPSHOT_TYPE_NM 

MACH_SNAPSHOT_TYPE Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Deferrable  Initially Deferred 
MACH_SNAPSHOT_SVC  Non-Identifying  One To Zero or More        SVC_ID  NO  NO  NO 
MACH_SNAPSHOT_PER  Non-Identifying  One To Zero or More        SNAPSHOT_PER  NO  NO  NO 
MACH_SNAPSHOT_RETENT  Non-Identifying  One To Zero or More        SNAPSHOT_RETENT  NO  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable  Initially Deferred 
MACH_SNAPSHOT  Non-Identifying  One To Zero or More  MACH_SNAPSHOT_TYPE_FK        NO  NO  NO 
MACH_SNAPSHOT_TYPE_SGNL  Identifying  One To Zero or More  MACH_SNAPSHOT_TYPE_SGNL_NM_FK        NO  NO  NO 

MACH_SNAPSHOT_TYPE Check Constraints 
Check Constraint Name  CheckConstraint 

MACH_SNAPSHOT_TYPE Storage 
STORAGE OPTION  STORAGE VALUE 
TABLESPACE  EPICS_TS 
PctFree 
PCTUSED    
MinExtents 
MaxExtents  2147483645 
Initial  64 
Next  64 
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 

MACH_SNAPSHOT_TYPE Partitions 
PARTITION PROPERTY  PARTITION PROPERTY VALUE 

MACH_SNAPSHOT_TYPE 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 

MACH_SNAPSHOT_TYPE Object Permissions 

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

MACH_SNAPSHOT_TYPE Bound Attachments 
Name  Current Value 

MACH_SNAPSHOT_TYPE Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
PVLOG.Machine Snapshot Type 
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)
EPICS.MACH_SNAPSHOT_TYPE 
NO       
DIAG_MPS (Oracle)
Does Not Exist 
NO       
ENGA (Oracle)
Does Not Exist 
NO       
EPICS (Oracle)
EPICS.MACH_SNAPSHOT_TYPE 
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)
EPICS.MACH_SNAPSHOT_TYPE 
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       

MACH_SNAPSHOT_TYPE Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  Diagnostics 
Logical  EPICS 
Logical  PV Logger 
DIAG (Oracle)  Main Model 
EPICS (Oracle)  Main Model 
PV_LOGGER (Oracle)  Main Model 

MACH_SNAPSHOT_TYPE Data Movement Rules 
Name  Type  Rule Text/Value