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

Data Indexing Example

Data Indexing Example

You want to run a query to find a specific customer ID. When you originally archived the customer table, you did not use the customer ID as the partition key. When you run the query, the query performance is slow.
The following table shows a simplified example of data files for a table that includes customer IDs:
Data File
Customer ID
Range of Values
1
1000, 1005, 1010, 1015, 1020, 1025
1000-1025
2
1001, 1006, 1011, 1016, 1021, 1026
1001-1026
3
1002, 1007, 1012, 1017, 1022, 1027
1002-1027
4
1003, 1008, 1013, 1018, 1023, 1028
1003-1028
5
1004, 1009, 1014, 1019, 1024, 1029
1004-1029
You run a query to search for customer ID 1011. Without the index, the query processes all data files because 1011 is in the value range of all the data files. You create an index on the customer ID column and run the query again. The query performance improves because the query only processes one data file. Data file 2 is the only data file that includes the value 1011.

0 COMMENTS

We’d like to hear from you!