DOWNTIME_TIMER 
Logical Entity Name  Downtime Timer 
Default Table Name  DOWNTIME_TIMER 
Oracle Temporary Table  NO 
Physical Only  NO 
Do Not Generate  False 
Owner  OPER 
Definition 
Downtime Timer: The start of a timed downtime event.
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE OPER.DOWNTIME_TIMER(
     SEQ_ID               NUMBER(38, 0)     NOT NULL,
     DOWNTIME_EVT_ID      VARCHAR2(20)      NOT NULL,
     TIMER_START_DTE      DATE              DEFAULT sysdate NOT NULL,
     DESCR                VARCHAR2(255)     NOT NULL,
     TIMER_END_DTE        DATE              DEFAULT sysdate,
     SHIFT_SUMM_IND       CHAR(1)           DEFAULT 'N' NOT NULL,
     ATTACH_FILE_NM       VARCHAR2(255),
     ATTACH_MIME_TYPE     VARCHAR2(255),
     FILE_ATTACH          BLOB,
     IMG_FILE_NM          VARCHAR2(255),
     IMG_MIME_TYPE        VARCHAR2(255),
     IMG_FILE_ATTACH      BLOB,
     CONSTRAINT fk_dt_timer_to_dt_evt FOREIGN KEY (DOWNTIME_EVT_ID)
     REFERENCES OPER.DOWNTIME_EVT(DOWNTIME_EVT_ID)
)
PCTFREE 10
INITRANS 1
MAXTRANS 255
LOGGING
NOPARALLEL
STORAGE(INITIAL 64K
         NEXT 1024K
         MINEXTENTS 1
         MAXEXTENTS UNLIMITED
         PCTINCREASE 0
         )
NOCACHE
LOB(FILE_ATTACH) STORE AS   (TABLESPACE OPER STORAGE (INITIAL 64K NEXT 1024K MINEXTENTS 1 MAXEXTENTS UNLIMITED) CHUNK 8192 NOCACHE LOGGING)
NOCOMPRESS
;



ALTER TABLE OPER.DOWNTIME_TIMER ADD
     CONSTRAINT PK_DOWNTIME_TIMER PRIMARY KEY (SEQ_ID)
     USING INDEX
         PCTFREE 10
         INITRANS 2
         MAXTRANS 255
         TABLESPACE OPER
         LOGGING
         STORAGE(INITIAL 64K
                 NEXT 1024K
                 MINEXTENTS 1
                 MAXEXTENTS UNLIMITED
                 PCTINCREASE 0
                 )
;
 
PostSQL   

DOWNTIME_TIMER Columns 
ColumnName  Domain  Datatype  NULL  Definition 
SEQ_ID(PK)  Sequence  NUMBER(38, 0)  NO 
Sequence:  A numerical primary key value derived from a Sequence.
 
DOWNTIME_EVT_ID(FK)  Identifier  VARCHAR2(20)  NO 
 
TIMER_START_DTE  Date  DATE  NO 
Date: Date and time to seconds.
 
DESCR  Description  VARCHAR2(255)  NO 
Description: Often used in validation tables accompanying an abbreviated identifer.
 
TIMER_END_DTE  Date  DATE  YES 
Date: Date and time to seconds.
 
SHIFT_SUMM_IND  Indicator  CHAR(1)  NO 
Shift Summary Indicator: Indicates that this downtime event should be added to the shift summary.
 
ATTACH_FILE_NM  File Name  VARCHAR2(255)  YES 
File Name: An external file system file name.  Often the external file name of data imported into the Rdb, such as EPICS .db files.
 
ATTACH_MIME_TYPE  MIME Type  VARCHAR2(255)  YES 
MIME Type: Multipurpose Internet Mail Extensions (MIME) is an Internet standard that extends the format of e-mail to support:


* text in character sets other than US-ASCII;
* non-text attachments;
* message bodies with multiple parts; and
* header information in non-ASCII character sets.

MIME's use, however, has grown beyond describing the content of e-mail to describing content type in general.
 
FILE_ATTACH    BLOB  YES 
 
IMG_FILE_NM  File Name  VARCHAR2(255)  YES 
File Name: An external file system file name.  Often the external file name of data imported into the Rdb, such as EPICS .db files.
 
IMG_MIME_TYPE  MIME Type  VARCHAR2(255)  YES 
MIME Type: Multipurpose Internet Mail Extensions (MIME) is an Internet standard that extends the format of e-mail to support:


* text in character sets other than US-ASCII;
* non-text attachments;
* message bodies with multiple parts; and
* header information in non-ASCII character sets.

MIME's use, however, has grown beyond describing the content of e-mail to describing content type in general.
 
IMG_FILE_ATTACH    BLOB  YES 
 

DOWNTIME_TIMER Primary and Unique Keys 
Key Name  Key Type  Keys 
PK_DOWNTIME_TIMER  PrimaryKey  SEQ_ID 

DOWNTIME_TIMER Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Deferrable  Initially Deferred 
DOWNTIME_EVT  Non-Identifying  One To Zero or More  fk_dt_timer_to_dt_evt      DOWNTIME_EVT_ID  NO  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable  Initially Deferred 
DT_TIMER_ACCT_ASSC  Identifying  One To Zero or More  fk_dtaa_to_downtime_timer        NO  NO  NO 
DT_TIMER_EVT_ASSC  Identifying  One To Zero or More  fk_dtea_to_downtime_timer        NO  NO  NO 

DOWNTIME_TIMER Check Constraints 
Check Constraint Name  CheckConstraint 

DOWNTIME_TIMER Storage 
STORAGE OPTION  STORAGE VALUE 
TABLESPACE   
PctFree  10 
PCTUSED  
MinExtents 
MaxExtents  2147483645 
Initial  64 
Next  1024 
PctIncrease 
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 

DOWNTIME_TIMER Partitions 
PARTITION PROPERTY  PARTITION PROPERTY VALUE 

DOWNTIME_TIMER 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 

DOWNTIME_TIMER Object Permissions 

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

DOWNTIME_TIMER Bound Attachments 
Name  Current Value 

DOWNTIME_TIMER Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
OPER.Downtime Timer 
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)
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)
OPER.DOWNTIME_TIMER 
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       

DOWNTIME_TIMER Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  Operation 
OPER (Oracle)  Main Model 

DOWNTIME_TIMER Data Movement Rules 
Name  Type  Rule Text/Value