Re: Query with LONG RAW
Date: Wed, 3 Mar 2010 03:09:17 -0800 (PST)
On Mar 2, 9:46 pm, "bob123" <bob..._at_gmail.com> wrote:
> How can I speed up the query below (third party software)
> it takes 30 min to execute.
> Oracle 18.104.22.168
> LONG RAW on PFMQ_MESSAGEDATASTORAGE
I forgot to mention that Jonathan Lewis was so kind to publish a ready- -use script that allows to calculate an approximate index size which might help you if you can't do the ANALYZE INDEX ... VALIDATE STRUCTURE on your system:
Please read the comments and notes how to use it and interpret the results of the script.
Also - as mentioned in the blog post's comments you could use EXPLAIN PLAN in 10g on the CREATE INDEX statement to get an index size estimation from Oracle itself.
Oracle related stuff blog:
Co-author of the "OakTable Expert Oracle Practices" book: http://www.apress.com/book/view/1430226684 http://www.amazon.com/Expert-Oracle-Practices-Database-Administration/dp/1430226684 Received on Wed Mar 03 2010 - 05:09:17 CST