CSO_SEARCH_QUESTION_TOKENS
This table stores normalized questions and tokens. These are then used in token usage reporting.
Details
-
Schema: FUSION
-
Object owner: CSO
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
CSO_SEARCH_QUESTION_TOKENS_PK |
QUESTION_TOKEN_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
QUESTION_TOKEN_ID | NUMBER | 18 | Yes | Primary Key of the table. Populated by sequence number. | |
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_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to 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. | |
NORMALIZED_QUESTION_ID | NUMBER | 18 | Yes | The unique ID used to track the text for a given normalized question. | |
TOKEN_ID | NUMBER | 18 | Yes | This is the token associated with a normalized question. This is the reference to the token_id in cso_search_tokens table. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
CSO_SEARCH_QUESTION_TOKENS | cso_normalized_questions | NORMALIZED_QUESTION_ID |
CSO_SEARCH_QUESTION_TOKENS | cso_search_tokens | TOKEN_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
CSO_SEARCH_QUESTION_TOKENS_FK1 | Non Unique | Default | NORMALIZED_QUESTION_ID |
CSO_SEARCH_QUESTION_TOKENS_PK | Unique | Default | QUESTION_TOKEN_ID |
CSO_SEARCH_QUESTION_TOKENS_U1 | Unique | Default | TOKEN_ID, NORMALIZED_QUESTION_ID |