Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Case for Index Organized table?
Ahhh... yes, developer education... Did you ask them how they are manipulating the date values? Perhaps they do not know how to use the to_date function correctly. I have seen this many times where rather than leaving the column in the table in it's native form, they convert it to a string. The performance goes into the tank when every row has to be converted, and there is no chance of using indexes. Before you implement this nasty table, I would ask them to send the query that they say needs this table and see if indeed they are preventing index usage by converting the dates. Have them send the query before the addition of the new table also.
Pat
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Kerber, Andrew W.
Sent: Monday, April 23, 2007 3:24 PM
To: veeeraman_at_gmail.com; oracle-l
Subject: RE: Case for Index Organized table?
I have to ask, how can this possible speed anything up? The only reason that comes to mind is the developers don't know how to do a function call on a fixed value, so they want to join through a table? Maybe its really a developer education issue...
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Ram Raman
Sent: Monday, April 23, 2007 2:12 PM
To: oracle-l
Subject: Case for Index Organized table?
Hi all,
I got a requirement from the developers to build a new table which has a column that will hold every second of every business day. That is the only column in the table. The table will be truncated everyday and loaded with the subsequent day's time. The developers told me that this table speeds up their queries, I also talked about using other ways but they said that they tested a few ways and found this one the best. They also want an index on that table. I am thinking of creating an index organized table for this purpose. Does anyone foresee any problem in this approach.
Ram.
-- http://www.freelists.org/webpage/oracle-lReceived on Mon Apr 23 2007 - 15:37:39 CDT
![]() |
![]() |