AnalysisLog - Analytics Database - Teradata Vantage

SQL Request and Transaction Processing

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
zfm1628111633230.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
evd1472255317510
lifecycle
latest
Product Category
Teradata Vantage™

Function of AnalysisLog

AnalysisLog maintains the checkpoint information that is recorded when you enable the CHECKPOINT option for an INITIATE INDEX ANALYSIS request.

AnalysisLog Table Definition

The following CREATE TABLE request defines the AnalysisLog table:

   CREATE TABLE AnalysisLog (
     WorkLoadID		        INTEGER NOT NULL,
     RecommendationID  INTEGER NOT NULL,
     IndexNameTag      VARCHAR(128) CHARACTER SET UNICODE
                       NOT CASESPECIFIC NOT NULL,
     SeqNumber         SMALLINT NOT NULL,
     Cflag             CHARACTER(1) CHARACTER SET LATIN
                       NOT CASESPECIFIC NOT NULL,
     UserName          VARCHAR(128) CHARACTER SET UNICODE
                       NOT CASESPECIFIC NOT NULL,
     AnalysisStatus    VARBYTE(32000) NOT NULL,
     StartTime         TIMESTAMP(6) NOT NULL,
     UpdateTime        TIMESTAMP(6) NOT NULL)
   PRIMARY INDEX (WorkloadID, IndexNameTag);

Attribute Definitions for AnalysisLog

The following table defines the AnalysisLog table attributes:

Attribute Definition
WorkloadID
  • Uniquely identifies the workload.
  • Partial NUPI for the table.
RecommendationID Uniquely identifies the index recommendation generated for the specific index analysis.
IndexNameTag
  • User-specified name for the index analysis.
  • Partial NUPI for the table.
SeqNumber A sequence number to identify individual rows that belong to a multirow AnalysisStatus.

The sequence begins at 1.

Cflag Used with multirow AnalysisStatus.
  • If the row is the last row in the sequence, then Cflag is set to F.
  • If the row is not the last row in the sequence, then Cflag is set to T.
UserName Name of the user performing the index analysis.
AnalysisStatus Identifies the status of the index analysis.
StartTime Timestamp for the beginning of the index analysis.
UpdateTime Timestamp for the moment the AnalysisStatus column is most recently updated.