ZSP_ODM_CLUSTERS
This table is used to store the customer and product clusters in ODM.
Details
-
Schema: FUSION
-
Object owner: ZSP
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
ZSP_ODM_CLUSTERS_PK |
ODM_CLUSTER_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
ODM_CLUSTER_ID | NUMBER | 18 | Yes | ODM_CLUSTER_ID | |
MODEL_ID | NUMBER | 18 | Yes | MODEL_ID | |
CLUSTER_ID | NUMBER | 18 | Yes | CLUSTER_ID | |
CLUSTER_TYPE_FLG | VARCHAR2 | 20 | Yes | CLUSTER_TYPE_FLG | |
CLUSTER_VARIANCE | NUMBER | CLUSTER_VARIANCE | |||
CLUSTER_DESCRIPTION | VARCHAR2 | 80 | CLUSTER_DESCRIPTION | ||
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_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. | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who 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. | |
USER_LAST_UPDATE_DATE | TIMESTAMP | Disconnected Mobile: indicates the date and time of the last update of the row. This value is different from LAST_UPDATE_DATE if the update originally happened in a different database (i.e. a different mobile database or the server). |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
ZSP_ODM_CLUSTERS | zsp_odm_models | MODEL_ID |
zsp_odm_train_opty | zsp_odm_clusters | CUST_CLUSTER_ID |
zsp_odm_train_opty | zsp_odm_clusters | PROD_CLUSTER_ID |
zsp_odm_recommend_cust | zsp_odm_clusters | CUST_CLUSTER_ID |
zsp_odm_recommend_cust | zsp_odm_clusters | PROD_CLUSTER_ID |
zsp_odm_train_customers | zsp_odm_clusters | ODM_CLUSTER_ID |
zsp_odm_recommend_opty | zsp_odm_clusters | OPTY_CLUSTER_ID |
zsp_odm_clust_attributes | zsp_odm_clusters | ODM_CLUSTER_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
ZSP_ODM_CLUSTERS_PK | Unique | FUSION_TS_TX_IDX | ODM_CLUSTER_ID |
ZSP_ODM_CLUSTERS_U1 | Unique | Default | MODEL_ID, CLUSTER_ID, CLUSTER_TYPE_FLG |