Data retrieval speed between normal table and IOT on date type indexing [message #62044] |
Mon, 21 June 2004 22:22 |
Shibaji Ghosh
Messages: 39 Registered: April 2002
|
Member |
|
|
Hello,
I am trying to design a storage aspect which will basically be used for faster query access. There will be around 100 fields and millions of rows. I am in a dillema as to go by Index Organized table or a normal relational table.
The situation is as mentioned. There is a date type field and most of the queries will be based on date and time range. If I plan to go by IOT then the date field has to be the primary key and in such a case if I query with a format specifier (say to_char) then the index will not be used properly. I am getting a Full Index Scan and not a Index Range Scan.
Can you tell me whether I go by the above mentioned design or should I stick to a normal relational table and use a function based index (with to_char) on the date field.
While querying data which one will be faster. Also there is a trade off to be made with the data load time, since IOT will take more time in loading.
Thanks in advance.
Shibaji
|
|
|
|