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

Loading Query Statistics into a Database

Loading Query Statistics into a Database

The contents of the query statistics logs can be loaded into database tables for subsequent analysis and manipulation.
The following scripts are included with Data Vault Service to facilitate setting up a database to receive the query statistics information:
  • ssastat.ddl
  • ssastat.ndl
To use the scripts, first connect to the database as the user DBA, and run ssastat.ddl through the Data Vault SQL tool to create the domains and table (SSAQSTAT) for the database in a schema called SSASTAT, owned by the userID SSASTAT. Then, using the Data VaultLoader, execute the ssastat.ndl script to load the query statistics records into the SSASTAT.SSAQSTAT table. The ssastat.ndl file will likely have to be edited to point to the appropriate statistics log (
.sta
) files, since the loader script points to "ssa_stats.sta" in the current directory by default.
When invoking the Data Vault Loader, include the argument
-s 1
to start processing from the second row of data. The first row in every query statistics log consists of column headers.

0 COMMENTS

We’d like to hear from you!