Posted by: Peter Scott on: July 13, 2006
If you have been reading my current series on data warehouse design you will have read (or perhaps soon will, as there is also a new piece in preparation!) that a good technique in the batch process is to disable bitmap indexes during an insert and then rebuild them after the insert is complete.
Inspecting the work of another company for a customer I came across a nice Oracle package to handle the niceties of index manipulation in a DW. Two procedures in the package body caught my eye: Disable_indexes and enable_indexes. Well that sounds good…
… except for the code!
Nice!
NFW- similar to WTF…
that hurts so very very deeply…
please tell me this is still in development. please.
That is so cool Pete, maybe you could suggest that they go for gold and loop through USER_TABLES or maybe even DBA_TABLES as well. that would be a powerul utility to have..:-)
The ‘code not implemented’ error in the enable_indexes procedure is only there until the developers figure out how to undrop an index.
Maybe when they’ve done that they can think about how they handle partitioned indexes.
July 14, 2006 at 12:55 am
WTF!
That is wonderful.