DVC 
Logical Entity Name  DVC 
Default Table Name  DVC 
Oracle Temporary Table  NO 
Physical Only  NO 
Do Not Generate  False 
Owner  EPICS 
Definition 
Device:  A collection of one or more types of  equipment used to perform a function.  A device is "generic" in that it's parameters are static.  Equipment components may be swapped in and out without changing the overall device parameters.  A device may consist of one equipment component or be composed of multiple pieces of equipment.
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE EPICS.DVC(
     DVC_ID              VARCHAR2(40)      NOT NULL,
     SYS_ID              VARCHAR2(10),
     SUBSYS_ID           VARCHAR2(10),
     DVC_TYPE_ID         VARCHAR2(25),
     DVC_INST            VARCHAR2(25),
     DVC_DESC            VARCHAR2(255),
     PARENT_DVC_ID       VARCHAR2(40),
     BL_DVC_IND          CHAR(1)           DEFAULT 'N' NOT NULL,
     VIRTUAL_DVC_IND     CHAR(1)           DEFAULT 'N' NOT NULL,
     INVALID_ID_IND      CHAR(1)           DEFAULT 'N' NOT NULL,
     DVC_ID_ALIAS        VARCHAR2(40),
     ACT_DVC_IND         CHAR(1)           DEFAULT 'Y',
     MPS_DVC_IND         CHAR(1)           DEFAULT 'N' NOT NULL,
     DVC_DRW_NBR         VARCHAR2(50),
     DRW_DVC_ID          VARCHAR2(40),
     MOD_BY_UID          VARCHAR2(64),
     MOD_DTE             DATE,
     CRIT_ID             VARCHAR2(6)       DEFAULT 'NotSet' NOT NULL,
     ORNL_PROP_NBR       VARCHAR2(10),
     OWNER_BN            VARCHAR2(10),
     CONSTRAINT DEVICE_PK PRIMARY KEY (DVC_ID)
     USING INDEX
         PCTFREE 10
         INITRANS 2
         MAXTRANS 255
         TABLESPACE EPICS_TS
         NOLOGGING
         STORAGE(INITIAL 64K
                 NEXT 64K
                 MINEXTENTS 1
                 MAXEXTENTS UNLIMITED
                 PCTINCREASE 0
                 FREELISTS 1
                 FREELIST GROUPS 1
                 BUFFER_POOL DEFAULT
                 ),
     CONSTRAINT DVC_DVC_TYPE_ID_RF FOREIGN KEY (DVC_TYPE_ID)
     REFERENCES EPICS.DVC_TYPE(DVC_TYPE_ID),
     CONSTRAINT DVC_SUBSYS_RF FOREIGN KEY (SUBSYS_ID)
     REFERENCES EPICS.SUBSYS(SUBSYS_ID),
     CONSTRAINT DVC_SYS_RF FOREIGN KEY (SYS_ID)
     REFERENCES EPICS.SYST(SYS_ID),
     CONSTRAINT FK_DVC_DVC_CRIT FOREIGN KEY (CRIT_ID)
     REFERENCES EPICS.DVC_CRIT(CRIT_ID),
     CONSTRAINT PARENT_DVC_ID_DVC_RF FOREIGN KEY (PARENT_DVC_ID)
     REFERENCES EPICS.DVC(DVC_ID)
)
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
;



CREATE UNIQUE INDEX EPICS.DVC_ID_ALIAS_IDX ON EPICS.DVC(DVC_ID_ALIAS)
     PCTFREE 10
     INITRANS 2
     MAXTRANS 255
     TABLESPACE EPICS_INDEX_TS
     NOLOGGING
     STORAGE(INITIAL 64K
             NEXT 64K
             MINEXTENTS 1
             MAXEXTENTS UNLIMITED
             PCTINCREASE 0
             FREELISTS 1
             FREELIST GROUPS 1
             BUFFER_POOL DEFAULT
             )
;
 
PostSQL   

DVC Columns 
ColumnName  Domain  Datatype  NULL  Definition 
DVC_ID(PK)    VARCHAR2(40)  NO 
Device Identifier: The unique identifier for the device.  It is represented in the form of a bar code.  The identifier consists of the concatenation of the following fields:  System ID, Subsystem ID, Device Qualifier, Device Type and Device Instance.
 
SYS_ID(FK)    VARCHAR2(10)  YES 
System Identifier: This  System to which the device is assigned.  This field is validated against the System table.  If the value is not found then the Invalid Sys Ind field is set to "Y".
 
SUBSYS_ID(FK)    VARCHAR2(10)  YES 
Subsystem Identifier: This Subsystem to which the device is assigned.  This field is validated against the  Subsystem table.  If the value is not found then the Invalid Sub Sys Ind field is set to "Y".
 
DVC_TYPE_ID(FK)    VARCHAR2(25)  YES 
Device Type Identifier: This Device Type to which the device is assigned.  This field is validated against the Dvc Type table.  If the value is not found then the Invalid Dvc Type  Ind field is set to "Y".
 
DVC_INST    VARCHAR2(25)  YES 
Device Instance:
 
DVC_DESC    VARCHAR2(255)  YES 
Device Description: A free form text field used to describe a device.
 
PARENT_DVC_ID(FK)    VARCHAR2(40)  YES 
Parent Device Identifier:  If the device is part of another device this field will contain the device identifier for the parent device.
 
BL_DVC_IND    CHAR(1)  NO 
Beam Line Device Indicator:  Default is "N"
 
VIRTUAL_DVC_IND    CHAR(1)  NO 
 
INVALID_ID_IND    CHAR(1)  NO 
Invalid Identifier Indicator: Used to indicate if the device identifier conforms to standards.
 
DVC_ID_ALIAS    VARCHAR2(40)  YES 
Device Identifier Alias:  This field is used to the "to-be" device identifier.  Currently non-standard device identifiers are stored in the device identifier field.  The alias field is used to store the device identifier that will later become the actual i
 
ACT_DVC_IND    CHAR(1)  YES 
Active Device Indicator:  Indicates that the device is in active use.  (i.e. If device is still in design and not yet functional the indicator will be set to N)
 
MPS_DVC_IND    CHAR(1)  NO 
Machine Protection System Device Indicator: Indicates that the device is part of or protected by the MPS.
 
DVC_DRW_NBR    VARCHAR2(50)  YES 
Device Drawing Number: The number of the drawing for which the device is documented.
 
DRW_DVC_ID    VARCHAR2(40)  YES 
Drawing Device Id:  The device id as it was specified on the drawing.  The device very well may have been renamed since it was defined on a drawing.
 
MOD_BY_UID    VARCHAR2(64)  YES 
Modified by Userid:  The database userid of the person who inserted or update a record in the table.
 
MOD_DTE    DATE  YES 
Modify Date: The date the record was created or modified.
 
CRIT_ID(FK)    VARCHAR2(6)  NO 
 
ORNL_PROP_NBR    VARCHAR2(10)  YES 
 
OWNER_BN    VARCHAR2(10)  YES 
 

DVC Primary and Unique Keys 
Key Name  Key Type  Keys 
DVC_ID_ALIAS_IDX  Index  DVC_ID_ALIAS 
DEVICE_PK  PrimaryKey  DVC_ID 

DVC Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Deferrable  Initially Deferred 
DVC_TYPE  Non-Identifying  Zero or One to Zero or More  DVC_DVC_TYPE_ID_RF      DVC_TYPE_ID  NO  NO  NO 
SUBSYS  Non-Identifying  Zero or One to Zero or More  DVC_SUBSYS_RF      SUBSYS_ID  NO  NO  NO 
SYST  Non-Identifying  Zero or One to Zero or More  DVC_SYS_RF      SYS_ID  NO  NO  NO 
DVC_CRIT  Non-Identifying  One To Zero or More  FK_DVC_DVC_CRIT      CRIT_ID  NO  NO  NO 
DVC  Non-Identifying  Zero or One to Zero or More  PARENT_DVC_ID_DVC_RF      PARENT_DVC_ID  NO  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable  Initially Deferred 
BEAM_LINE_DVC_LOC  Identifying  One To Zero or More  BEAM_LINE_DVC_DVC_RF        NO  NO  NO 
BEAM_LINE_DVC_ENERGY  Identifying  One To Zero or More  BEAM_LINE_DVC_ENERGY_DVC_RF        NO  NO  NO 
BPM_DVC  Identifying  One To Zero or More  BPM_DVC_DVC_RF        NO  NO  NO 
CAB_NOID_DVC  Non-Identifying  One To Zero or More  CAB_NOID_DVC_DVC_RF        NO  NO  NO 
DVC_SETTING  Identifying  One To Zero or More  DVC_DVC_SETTING_RF        NO  NO  NO 
EPICS_GRP  Non-Identifying  One To Zero or More  DVC_EPICS_GRP_RF        NO  NO  NO 
DVC_PHYS_LOC  Identifying  One To Zero or More  DVC_PHYS_LOC_DVC_FK        NO  NO  NO 
SGNL_REC  Non-Identifying  One To Zero or More  DVC_SGNL_REC_RF        NO  NO  NO 
CHMK_DVC  Identifying  One To Zero or More  FK_CHMK_DVC_TO_DVC        NO  NO  NO 
DVC_DVC_TYPE_SFTW_ASSC  Identifying  One To Zero or More  fk_ddtsa_to_dvc        NO  NO  NO 
DVC_PORT_ASGN  Identifying  One To Zero or More  FK_DVC_ID_DVC        NO  NO  NO 
ICS_COMM_DVC  Identifying  One To Zero or More  FK_ICS_COMM_DVC_DVC        NO  NO  NO 
ICS_COMM_OPER_ENV  Identifying  One To Zero or More  FK_ICS_COMM_OPER_ENV_DVC        NO  NO  NO 
IOC_CONFIG_FILE  Identifying  One To Zero or More  FK_IOC_CONFIG_FILE_DVC        NO  NO  NO 
IOC_DBD_FILE_ASGN  Identifying  One To Zero or More  FK_IOC_DBD_FL_AS_DVC        NO  NO  NO 
IOC_DVC  Identifying  One To Zero or More  FK_IOC_DVC_DVC        NO  NO  NO 
IOC_ERROR_LOG  Non-Identifying  One To Zero or More  FK_IOC_ERROR_LOG_DVC        NO  NO  NO 
INVALID_DVC  Non-Identifying  One To Zero or More  FK_PARENT_DVC_ID        NO  NO  NO 
DVC_PORT_ASGN  Identifying  One To Zero or More  FK_PORT_DVC_ID_DVC        NO  NO  NO 
MPS_CHAN_AUDIT  Non-Identifying  One To Zero or More  FK_SUBSEQ_DVC_ID        NO  NO  NO 
FUNC_DVC_GRP_ITEM  Identifying  One To Zero or More  FUNC_DVC_GRP_ITEM2_RF        NO  NO  NO 
FUNC_DVC_GRP_ITEM  Identifying  One To Zero or More  FUNC_DVC_GRP_ITEM_RF        NO  NO  NO 
ICS_COMM_DVC  Non-Identifying  One To Zero or More  ICS_COMM_RPC_DVC_ID_DVC_FK        NO  NO  NO 
ICS_COMM_DVC  Non-Identifying  One To Zero or More  ICS_COMM_SW_DVC_ID_DVC_FK        NO  NO  NO 
ICS_COMM_DVC  Non-Identifying  One To Zero or More  ICS_COMM_TSRV_DVC_ID_DVC_FK        NO  NO  NO 
ICS_MULTIPORT_COMM_DVC  Identifying  One To Zero or More  ICS_MP_COMM_DVC_DVC_RF        NO  NO  NO 
ICS_MULTIPORT_COMM_DVC  Non-Identifying  One To Zero or More  ICS_MP_COMM_SW_DVC_ID_DVC_RF        NO  NO  NO 
ICS_MULTIPORT_COMM_DVC  Non-Identifying  One To Zero or More  ICS_MP_RPC_DVC_ID_DVC_FK        NO  NO  NO 
ICS_MULTIPORT_COMM_DVC  Non-Identifying  One To Zero or More  ICS_MP_TSRV_DVC_ID_DVC_FK        NO  NO  NO 
IOC_DVC_ASGN  Identifying  One To Zero or More  IOC_DVC_DVC_ID_DVC_FK        NO  NO  NO 
IOC_DVC_ASGN  Identifying  One To Zero or More  IOC_DVC_ID_DVC_FK        NO  NO  NO 
IOC_DVC  Non-Identifying  One To Zero or More  IOC_DVC_RPC_DVC_ID_DVC_FK        NO  NO  NO 
IOC_DVC  Non-Identifying  Zero or One to Zero or More  IOC_DVC_TSRV_DVC_ID_DVC_FK        NO  NO  NO 
IOC_DVC  Non-Identifying  One To Zero or More  IOC_SW_DVC_ID_DVC_FK        NO  NO  NO 
MACHINE_MODE  Non-Identifying  One To Zero or More  MACHINE_MODE_DVC_FK        NO  NO  NO 
MAG_DVC  Identifying  One To Zero or More  MAG_DVC_DVC_RF        NO  NO  NO 
MPS_SGNL_PARAM  Identifying  One To Zero or More  MPS_SGNL_PARAM_DVC_RF        NO  NO  NO 
MPS_SGNL_PARAM  Non-Identifying  One To Zero or More  MPS_SGNL_PARAM_IOC_DVC_RF        NO  NO  NO 
DVC  Non-Identifying  One To Zero or More  PARENT_DVC_ID_DVC_RF        NO  NO  NO 
PS_DVC  Identifying  One To Zero or More  PS_DVC_DVC_RF        NO  NO  NO 
MAG_DVC  Non-Identifying  One To Zero or More  PS_DVC_ID_DVC_RF        NO  NO  NO 
PSC_DVC  Identifying  One To Zero or More  PSC_DVC_DVC_RF        NO  NO  NO 
PSI_DVC  Identifying  One To Zero or More  PSI_DVC_DVC_RF        NO  NO  NO 
PSI_DVC  Non-Identifying  One To Zero or More  PSI_DVC_PSC_DVC_RF        NO  NO  NO 
RF_CAV_DVC  Identifying  One To Zero or More  RF_CAV_DVC_DVC_RF        NO  NO  NO 
SGNL  Identifying  One To Zero or More  SGNL_DVC_RF        NO  NO  NO 

DVC Check Constraints 
Check Constraint Name  CheckConstraint 

DVC 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 

DVC Partitions 
PARTITION PROPERTY  PARTITION PROPERTY VALUE 

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

DVC Object Permissions 

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

DVC Bound Attachments 
Name  Current Value 

DVC Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
EPICS.Device 
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)
EPICS.DVC 
NO       
ENGA (Oracle)
Does Not Exist 
NO       
EPICS (Oracle)
EPICS.DVC 
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)
EPICS.DVC 
NO       
Logbook (Oracle)
Does Not Exist 
NO       
Magnet (Oracle)
Does Not Exist 
NO       
MPS (Oracle)
DVC 
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)
EPICS.DVC 
NO       
XF_ADMIN (Oracle)
Does Not Exist 
NO       

DVC Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  Diagnostics 
Logical  Diagnostics MPS 
Logical  EPICS 
Logical  Machine Mode 
Logical  Power Supply 
Logical  XAL Optics 
DIAG_MPS (Oracle)  Main Model 
EPICS (Oracle)  Main Model 
IRMISBase (Oracle)  Main Model 
MPS (Oracle)  Main Model 
XAL_OPTICS (Oracle)  Main Model 

DVC Data Movement Rules 
Name  Type  Rule Text/Value