PV 
Logical Entity Name  Process Variable 
Default Table Name  PV 
Oracle Temporary Table  NO 
Physical Only  NO 
Do Not Generate  False 
Owner  ALARM 
Definition 
Process Variable: 
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE ALARM.PV(
     COMPONENT_ID             NUMBER(38, 0)      NOT NULL,
     DESCR                    VARCHAR2(100),
     ENABLED_IND              NUMBER(1, 0)       DEFAULT 0 NOT NULL,
     ANNUNCIATE_IND           NUMBER(1, 0)       DEFAULT 0 NOT NULL,
     LATCH_IND                NUMBER(1, 0)       DEFAULT 0 NOT NULL,
     DELAY                    NUMBER(38, 0),
     FILTER                   VARCHAR2(4000),
     DELAY_COUNT              NUMBER(38, 0),
     STATUS_ID                NUMBER(38, 0),
     SEVERITY_ID              NUMBER(38, 0),
     CUR_SEVERITY_ID          NUMBER(38, 0),
     PV_VALUE                 VARCHAR2(100),
     ALARM_TIME               TIMESTAMP(6)       DEFAULT systime,
     CUR_STATUS_ID            NUMBER(38, 0),
     ACT_GLOBAL_ALARM_IND     NUMBER(1, 0)       DEFAULT 0 NOT NULL,
     CONSTRAINT PK_PV PRIMARY KEY (COMPONENT_ID)
     USING INDEX
TABLESPACE DIAG_TS
         LOGGING,
     CONSTRAINT FK_PV_TO_STATUS FOREIGN KEY (STATUS_ID)
     REFERENCES ALARM.STATUS(STATUS_ID),
     CONSTRAINT FK_PV_TO_SEVERITY FOREIGN KEY (SEVERITY_ID)
     REFERENCES ALARM.SEVERITY(SEVERITY_ID),
     CONSTRAINT FK_PV_TO_ALARM_TREE FOREIGN KEY (COMPONENT_ID)
     REFERENCES ALARM.ALARM_TREE(COMPONENT_ID),
     CONSTRAINT FK_CUR_SVRTY_TO_SEVERITY FOREIGN KEY (CUR_SEVERITY_ID)
     REFERENCES ALARM.SEVERITY(SEVERITY_ID)
)
PCTFREE 0
TABLESPACE express_TS
LOGGING
NOPARALLEL
STORAGE(MINEXTENTS 1
         MAXEXTENTS UNLIMITED
         PCTINCREASE 0
         )
NOCACHE
NOCOMPRESS
;
 
PostSQL   

PV Columns 
ColumnName  Domain  Datatype  NULL  Definition 
COMPONENT_ID(PK)(FK)  Identifier  NUMBER(38, 0)  NO 
Component Identifier: The id for identification of each component.
 
DESCR  Description  VARCHAR2(100)  YES 
Description: Description that might be more meaningful than PV name.
 
ENABLED_IND  Indicator  NUMBER(1, 0)  NO 
Enabled Indicator: Indicates if alarms are enabled for a given PV.
 
ANNUNCIATE_IND  Indicator  NUMBER(1, 0)  NO 
Annunciate Indicator:  Indicates if alarm should be annunciated.
 
LATCH_IND  Indicator  NUMBER(1, 0)  NO 
Latch Indicator: Indicates that alarm should be latched for acknowledgement, even if PV recovers.
 
DELAY    NUMBER(38, 0)  YES 
Delay: Minimum time in seconds before raising the alarm.
 
FILTER    VARCHAR2(4000)  YES 
Filter: Filter expression, may be used to compute \'enabled\' from expression.
 
DELAY_COUNT    NUMBER(38, 0)  YES 
Count: Alarm when PV != OK more often than this count within delay.
 
STATUS_ID(FK)    NUMBER(38, 0)  YES 
Status Identifier: Alarm system state for the severity identifier.
 
SEVERITY_ID(FK)    NUMBER(38, 0)  YES 
Severity Identifier: Alarm system severity.
 
CUR_SEVERITY_ID(FK)    NUMBER(38, 0)  YES 
Current Severity Identifier: Current severity of PV.
 
PV_VALUE    VARCHAR2(100)  YES 
Process Variable Value: PV value that caused severity/status.
 
ALARM_TIME  TimeStamp  TIMESTAMP(6)  YES 
Alarm Time: The time of the most recent alarm.
 
CUR_STATUS_ID    NUMBER(38, 0)  YES 
 
ACT_GLOBAL_ALARM_IND  Indicator  NUMBER(1, 0)  NO 
 

PV Primary and Unique Keys 
Key Name  Key Type  Keys 
PK_PV  PrimaryKey  COMPONENT_ID 

PV Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Deferrable  Initially Deferred 
SEVERITY  Non-Identifying  Zero or One to Zero or More  FK_CUR_SVRTY_TO_SEVERITY      CUR_SEVERITY_ID  NO  NO  NO 
ALARM_TREE  Identifying  One to Zero or One  FK_PV_TO_ALARM_TREE      COMPONENT_ID  NO  NO  NO 
SEVERITY  Non-Identifying  Zero or One to Zero or More  FK_PV_TO_SEVERITY      SEVERITY_ID  NO  NO  NO 
STATUS  Non-Identifying  Zero or One to Zero or More  FK_PV_TO_STATUS      STATUS_ID  NO  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable  Initially Deferred 

PV Check Constraints 
Check Constraint Name  CheckConstraint 

PV Storage 
STORAGE OPTION  STORAGE VALUE 
TABLESPACE  express_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 
Compress Expression   
Row Movement  Disabled 

PV Partitions 
PARTITION PROPERTY  PARTITION PROPERTY VALUE 

PV 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 

PV Object Permissions 

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

PV Bound Attachments 
Name  Current Value 

PV Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
ALARM.Process Variable 
NO       
ALARM_MYSQL (MySQL)
ALARM.PV 
NO       
ALARM_ORACLE (Oracle)
ALARM.PV 
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)
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)
Does Not Exist 
NO       
XAL_OPTICS (Oracle)
Does Not Exist 
NO       
XF_ADMIN (Oracle)
Does Not Exist 
NO       

PV Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  Alarm 
ALARM_MYSQL (MySQL)  Main Model 
ALARM_ORACLE (Oracle)  Main Model 

PV Data Movement Rules 
Name  Type  Rule Text/Value