ZCA_FEED_AUTO_SHARD_TASKS
This table stores the task information related to elasticsearch feed index auto-sharding.
Details
-
Schema: FUSION
-
Object owner: ZCA
-
Object type: TABLE
-
Tablespace: zca_feed_auto_shard_tasks
Primary Key
Name | Columns |
---|---|
ZCA_FEED_AUTO_SHARD_TASKS_PK |
AUTO_SHARD_TASK_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
AUTO_SHARD_TASK_ID | NUMBER | 18 | Yes | Auto generated primary key of the table. | |
TASK_ID | VARCHAR2 | 64 | Yes | The id of elasticsearch reindex task. | |
SOURCE_INDEX | VARCHAR2 | 128 | Yes | The name of the source elasticsearch index. | |
TARGET_INDEX | VARCHAR2 | 128 | Yes | The name of the target elasticsearch index. | |
TASK_STATUS | VARCHAR2 | 64 | Yes | The status of the auto shard task. | |
TASK_START_TIME | TIMESTAMP | Yes | The auto shard task start time in UTC. | ||
LAST_DB_SYNC_TIME | TIMESTAMP | The start time of the previous database sync execution. | |||
INDEX_ALIAS | VARCHAR2 | 128 | Yes | The elasticsearch index alias name. | |
TASK_METADATA | CLOB | The payload representing additional information related to the auto shard task. | |||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated 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. | ||
SOURCE_SYSTEM_NAME | VARCHAR2 | 32 | Name of the system which generates the cloud event. | ||
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. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
ZCA_FEED_AUTO_SHARD_TASKS_N1 | Non Unique | ZCA_FEED_AUTO_SHARD_TASKS_N1 | TASK_STATUS |
ZCA_FEED_AUTO_SHARD_TASKS_N2 | Non Unique | ZCA_FEED_AUTO_SHARD_TASKS_N2 | SOURCE_INDEX |
ZCA_FEED_AUTO_SHARD_TASKS_N3 | Non Unique | ZCA_FEED_AUTO_SHARD_TASKS_N3 | TARGET_INDEX |
ZCA_FEED_AUTO_SHARD_TASKS_PK | Unique | ZCA_FEED_AUTO_SHARD_TASKS_PK | AUTO_SHARD_TASK_ID |
ZCA_FEED_AUTO_SHARD_TASKS_U1 | Unique | ZCA_FEED_AUTO_SHARD_TASKS_U1 | TASK_ID, SOURCE_INDEX, TARGET_INDEX |