MOT_TERR_DIM_MEM_FLAG_STAGING
Staging table used to store user initiated flagging changes that will impact large number of rows in the MOT_TERR_DIM_MEM_FLAGS table. The rows in this table will be consumed by an ESS job that will in-turn update the MOT_TERR_DIM_MEM_FLAGS table with the changes and then delete the contents once the updates are successful.
Details
-
Schema: FUSION
-
Object owner: MOT
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
MOT_TERR_DIM_MEM_FLAG_STA_PK |
TERR_DIM_MEM_FLAG_STAGING_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
TERR_DIM_MEM_FLAG_STAGING_ID | NUMBER | 18 | Yes | Primary key of the staging table. Will be auto generated. | |
SEQUENCE_NUMBER | NUMBER | 18 | Yes | Order in which the operation in this staging table should be processed in the Flagging table. | |
DIMENSION_ID | NUMBER | 18 | Yes | Dimension id for the member. This will help in grouping requests together so that all requests corresponding to one Dimension will be done in one job. | |
PARTITION_ID | NUMBER | 18 | Yes | Partition that the member belongs to. Will be the ID of the flagging partition. | |
TERR_DIM_MEM_FLAG_ID | NUMBER | 18 | Yes | Reference to the row in the Flagging table in which this operation was performed. | |
EXPLICIT_FLAG | VARCHAR2 | 1 | E / I (based on the operation). | ||
ENABLE_UNSPEC_FLAG | VARCHAR2 | 1 | Y / N (based on the operation). | ||
WORKER_NUMBER | NUMBER | 18 | Future use. In case there are multiple workers, identifies which rows are to be processed by which worker. | ||
UI_OPERATION | VARCHAR2 | 20 | Yes | Could be one of the operations that the user performs on the Tree Table. | |
SEQUENCE_LOW | NUMBER | 18 | Denormalized from the Dimension Member table. | ||
SEQUENCE_HIGH | NUMBER | 18 | Denormalized from the Dimension Member table. | ||
LEVEL_NUMBER | NUMBER | 18 | Denormalized from the Dimension Member table. | ||
LEAF_FLAG | VARCHAR2 | 1 | Denormalized from the Dimension Member table. | ||
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
CONFLICT_ID | NUMBER | 18 | Yes | Disconnected Mobile: this value is used to guarantee the uniqueness of the row when duplicates are created in different databases (i.e. mobile databases or the server). | |
REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | |
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
MOT_TERR_DIM_MEM_FLAG_STA_PK | Unique | Default | TERR_DIM_MEM_FLAG_STAGING_ID |