Computing the Query Ratio - Teradata VantageCloud Lake

Lake - Database Reference

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
ohi1683672393549.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
ohi1683672393549

Define the query ratio as follows:


Query ratio equation

The query ratio is a normalized measure of how much faster a query runs with a join index than without a join index. For example, consulting the table about Creation and Elapsed Query Times for Different Join Indexes, you find a column of calculated query ratios.

Interpret these ratios as follows: Consider the query ratio for the creation cost of a single-table aggregate join index. The reported query value for this join index is 41. Therefore, the test query runs 41 times faster with the single-table aggregate join index defined than without it.