Table CTL_AUDIT_LOG

From Genesys Documentation
Jump to: navigation, search

In the Column List:

  • P = Primary key
  • M = Mandatory field
  • F = Foreign key (where the term is used loosely to indicate a surrogate key reference to a field in another table, not a formal constraint)
  • DV = Default value
  • For Microsoft SQL Server, varchar/nvarchar in the Data Type column means that the data type is varchar except in multi-language databases that use Unicode, in which case the data type is nvarchar. (The Info Mart database in cloud deployments is not multi-language.) THIS BULLET WILL DISPLAY ONLY IN THE PE MSSQL PDM.

This table allows facts and dimensions to be described by data lineage attributes.


Description

Modified: 8.5.116.12 (PRODUCER_INFO_KEY added); 8.5.003 (in Oracle, fields with VARCHAR data types use explicit CHAR character-length semantics)

In partitioned databases, this table is partitioned.


This table allows facts and dimensions to be described by data lineage attributes. Each row represents a logical transaction that is committed by Genesys Info Mart, identifying the ETL job that is involved in the transaction, including the minimum and maximum DATE_TIME values (which give a date-time range for the data that is committed in the transaction), and providing the processing status (an internal indicator of the kind of data that is processed).


Tip
To assist you in preparing supplementary documentation, click the following link to download a comma-separated text file containing information such as the data types and descriptions for all columns in this table:

Download a CSV file .

Hint: For easiest viewing, open the downloaded CSV file in Excel and adjust settings for column widths, text wrapping, and so on as desired. Depending on your browser and other system settings, you might need to save the file to your desktop first.

Column List

Legend

Column Data Type P M F DV
AUDIT_KEY numeric(19) X X
JOB_ID varchar(64) X
CREATED timestamp(3) X
INSERTED timestamp(3)
PROCESSING_STATUS_KEY integer X
MIN_START_DATE_TIME_KEY integer X
MAX_START_DATE_TIME_KEY integer X
MAX_CHUNK_TS integer
DATA_SOURCE_KEY integer
ROW_COUNT integer
CREATED_TS integer X
PRODUCER_INFO_KEY numeric(19)

AUDIT_KEY

The primary key of this table and the surrogate key that is used to join this table to GIDB, merge tables, and dimensional model tables.

JOB_ID

ID that uniquely identifies the execution instance of the job.

CREATED

The date and time of row creation.

INSERTED

The UTC-equivalent date and time when the processing of the logical transaction described by this row was completed and the record was inserted into the database.

PROCESSING_STATUS_KEY

Reference to the CTL_PROCESSING_STATUS dimension. This field is reserved.

MIN_START_DATE_TIME_KEY

The minimum value of START_DATE_TIME_KEY that is committed in a transaction. If partitioning is enabled, this value helps to identify fact-table partition(s) in which data was inserted or updated.

MAX_START_DATE_TIME_KEY

The maximum value of START_DATE_TIME_KEY that is committed in a transaction. If partitioning is enabled, this value helps to identify fact-table partition(s) in which data was inserted or updated.

MAX_CHUNK_TS

The maximum value out of all timestamps that are stored for a particular chunk of data that is marked with the corresponding audit key.

DATA_SOURCE_KEY

The surrogate key that is used to join to the CTL_DS dimension. It specifies the data source server, such as T-Server, Interaction Server, Configuration Server, Outbound Contact Server (OCS), and Genesys Info Mart Server itself.

ROW_COUNT

The number of records that are marked with this audit key.

CREATED_TS

The UTC-equivalent value of the date and time of row creation.

PRODUCER_INFO_KEY

Introduced: Release 8.5.116.12
Reference to the CTL_PRODUCER_INFO dimension, to identify the version of the upstream application or service that produced Kafka data.


Index List

CODE U C Description
IDX_CTL_AL_CTS Improves purge performance.

Index IDX_CTL_AL_CTS

Field Sort Comment
CREATED_TS Ascending

Subject Areas

Template:PDMSubjAreaQuery

References

The summary List of References will include the following entries for this table or view:


Child Table/View Child Table/View Column Parent Table/View Parent Table/View Column
CTL_AUDIT_LOG MAX_START_DATE_TIME_KEY DATE_TIME DATE_TIME_KEY
CTL_AUDIT_LOG MIN_START_DATE_TIME_KEY DATE_TIME DATE_TIME_KEY





















































Comments or questions about this documentation? Contact us for support!