MPS_CHAN_AUDIT 
Logical Entity Name  MPS Chan Audit 
Default Table Name  MPS_CHAN_AUDIT 
Oracle Temporary Table  NO 
Physical Only  NO 
Do Not Generate  False 
Owner   
Definition 
Machine Protection System Channel Audit: The results of the automated MPS channel audit program.
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE MPS_CHAN_AUDIT(
     DVC_ID          VARCHAR2(50)     NOT NULL,
     APPR_DTE        TIMESTAMP(6)     NOT NULL,
     CHANNEL_NBR     NUMBER(3, 0)     NOT NULL,
     AUDIT_DTE       DATE             DEFAULT sysdate NOT NULL,
     MPS_DVC_ID      VARCHAR2(50),
     PASS_IND        CHAR(1)          DEFAULT 'Y' NOT NULL,
     ERR_NBR         NUMBER(4, 0),
     MOD_BY_UID      VARCHAR2(64),
     CONSTRAINT PK_MPS_CHAN_AUDIT PRIMARY KEY (DVC_ID, APPR_DTE, CHANNEL_NBR, AUDIT_DTE)
     USING INDEX
         PCTFREE 10
         INITRANS 2
         MAXTRANS 255
         TABLESPACE OPER_INDEX_TS
         LOGGING
         STORAGE(INITIAL 64K
                 NEXT 64K
                 MINEXTENTS 1
                 MAXEXTENTS UNLIMITED
                 PCTINCREASE 50
                 ),
     CONSTRAINT FK_MACHINE_MODE FOREIGN KEY (DVC_ID, APPR_DTE, CHANNEL_NBR)
     REFERENCES MACHINE_MODE(DVC_ID, APPR_DTE, CHANNEL_NBR),
     CONSTRAINT FK_ERR_MSG FOREIGN KEY (ERR_NBR)
     REFERENCES MPS_AUDIT_ERR_MSG(ERR_NBR)
)
PCTFREE 10
PCTUSED 40
INITRANS 1
MAXTRANS 255
TABLESPACE EPICS_TS
LOGGING
NOPARALLEL
STORAGE(INITIAL 64K
         NEXT 64K
         MINEXTENTS 1
         MAXEXTENTS UNLIMITED
         PCTINCREASE 50
         )
NOCACHE
NOCOMPRESS
;
 
PostSQL   

MPS_CHAN_AUDIT Columns 
ColumnName  Domain  Datatype  NULL  Definition 
DVC_ID(PK)(FK)  Device Id  VARCHAR2(50)  NO 
Device Identifier: The unique identifier for the device. The identifier consists of the concatenation of the following fields:  System ID, Subsystem ID, Device Qualifier, Device Type and Device Instance.
 
APPR_DTE(PK)(FK)  Datetime  TIMESTAMP(6)  NO 
Approval Date
 
CHANNEL_NBR(PK)(FK)    NUMBER(3, 0)  NO 
Channel Number
 
AUDIT_DTE(PK)  Modify Date  DATE  NO 
Modify Date: The date the entity values were were created or modified.
 
MPS_DVC_ID  Device Id  VARCHAR2(50)  YES 
Device Identifier: The unique identifier for the device. The identifier consists of the concatenation of the following fields:  System ID, Subsystem ID, Device Qualifier, Device Type and Device Instance.
 
PASS_IND  Indicator  CHAR(1)  NO 
Pass Indicator: Indicates whether or not the channel passed the test.
 
ERR_NBR(FK)    NUMBER(4, 0)  YES 
Error Number: Primary key for the error messages.
 
MOD_BY_UID  Mod By Uid  VARCHAR2(64)  YES 
Modified by Userid:  The database userid of the person who inserted or update a record in the table.
 

MPS_CHAN_AUDIT Primary and Unique Keys 
Key Name  Key Type  Keys 
PK_MPS_CHAN_AUDIT  PrimaryKey  DVC_ID, APPR_DTE, CHANNEL_NBR, AUDIT_DTE 

MPS_CHAN_AUDIT Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Deferrable  Initially Deferred 
MPS_AUDIT_ERR_MSG  Non-Identifying  Zero or One to Zero or More  FK_ERR_MSG      ERR_NBR  NO  NO  NO 
MACHINE_MODE  Identifying  One To Zero or More  FK_MACHINE_MODE      DVC_ID, APPR_DTE, CHANNEL_NBR  NO  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable  Initially Deferred 

MPS_CHAN_AUDIT Check Constraints 
Check Constraint Name  CheckConstraint 

MPS_CHAN_AUDIT Storage 
STORAGE OPTION  STORAGE VALUE 
TABLESPACE  EPICS_TS 
PctFree  10 
PCTUSED   40 
MinExtents 
MaxExtents  2147483645 
Initial  64 
Next  64 
PctIncrease  50 
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 

MPS_CHAN_AUDIT Partitions 
PARTITION PROPERTY  PARTITION PROPERTY VALUE 

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

MPS_CHAN_AUDIT Object Permissions 

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

MPS_CHAN_AUDIT Bound Attachments 
Name  Current Value 

MPS_CHAN_AUDIT Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
Does Not Exist 
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.MPS_CHAN_AUDIT 
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)
MPS_CHAN_AUDIT 
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       

MPS_CHAN_AUDIT Where Used - Submodel Usage 
Model  Submodel Usage 
EPICS (Oracle)  Main Model 
MPS (Oracle)  Main Model 

MPS_CHAN_AUDIT Data Movement Rules 
Name  Type  Rule Text/Value