Table of Contents

Search

  1. About the Data Vault Administrator Guide
  2. Introduction to the Data Vault
  3. Data Vault Service Startup and Shutdown
  4. Data Vault Configuration
  5. Data Vault SSL Setup
  6. Data Vault ODBC Setup
  7. Data Vault Administration
  8. Data Repartitioning
  9. Partial Data Vault Copy
  10. Archived Data Migration
  11. Bulk File Uploader
  12. Data Vault Administration Tool
  13. Data Vault Logs
  14. User Account Privileges
  15. ssasql Command Line Program
  16. Data Vault Audit Log
  17. Sample Configuration Files

Data Vault Administrator Guide

Data Vault Administrator Guide

Query Statistics Fields

Query Statistics Fields

The first line of each query statistics log file is a header containing the field names for the records that are written to the file.
The following table describes query statistics fields:
Field
Description
TimeStamp
The date and time when the query was started.
DBName
The name of the Data Vault repository targeted by the query.
UserID
The user authorization that executed the query.
QueryID
The internal identifier for the query.
RowsFetched
The total number of rows in the query result set.
RowsReturned
The total number of rows from the query result set that were sent to the client.
TimeGetMD
The amount of time (in seconds, rounded from milliseconds) from when the query fetching starts to when the first data file is selected. Between these two points, a list of all the data files affected by the query is assembled from the metadata information.
TimeExec
The amount of time (in seconds, rounded from milliseconds) from when the first compressed data file is selected to when the first row (or block of rows, depending on the manner of fetching) is received by the client.
TimeFetch
The total amount of time (in seconds, rounded from milliseconds) spent fetching data from compressed data files.
TotTimeGetMD
The total amount of time (in seconds, rounded from milliseconds) from when the query fetching starts to when the last data file is selected.
TotTimeExec
The total amount of time (in seconds, rounded from milliseconds) from when the first data file is selected to when the result set is complete.
NumFiles
The total number of data files accessed by the query.
NumTasks
The total number of processes started during the query execution. The number of processes is equal to the number of data files accessed by the query.
MaxDiskSpace
The maximum amount of disk space (in bytes) required by the query for temporary result set data.
SQL1...SQL9
The text of the SQL command for the query, split across multiple SQL
n
fields if necessary. That is, if the SQL statement exceeds the length of the
SQL1
field (4056 bytes), the first 4056 characters are put in
SQL1
and the rest is put in the
SQL2
field; if the rest of the SQL statement does not fit in
SQL2
, that field is filled and the rest is put in
SQL3
; and so on until the
SQL9
field is filled.
If the full SQL statement exceeds 36,504 characters, then the query text will be truncated at the end of the
SQL9
field.
Error
The error code returned, if the query did not complete successfully.
ErrorString
The error message associated with the error code above.
When query statistics logging is enabled, each executed query will have a record written to the CSV log file, whether or not the query completes successfully.

0 COMMENTS

We’d like to hear from you!