Archives of the TeradataForum
Message Posted: Thu, 26 Jun 2003 @ 08:42:13 GMT
<-- Anonymously Posted: Thursday, June 26, 2003 00:38 -->
We have a 1 TB table which has a Primary Index defined on two columns. But when it comes to accessing information from this table we also need to limit the rows by using a WHERE Condition on a 3rd row.
To facilitate the access we are planning to build a Secondary Index on the 3rd column.
However in reality we need a combination of all the three columns.
So should we build a Secondary Index on all the 3 columns including the Primary Index columns.
Or should we build a single Table join Index on this table with the Primary Index as the three columns (Can't afford the space).
Or should we build 3 different secondary indexes on 3 different colums.
Or can we use a combination of the 2 PIs and 1 SI in the queries. (which will be a Full Table Scan)
|Copyright 2016 - All Rights Reserved|
|Last Modified: 27 Dec 2016|