469,090 Members | 1,163 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,090 developers. It's quick & easy.

stats on indexes

Hi All

I was just wundering what happens if we dont gather stats on indexes
will it effect the optimiser plans ?

regards
Hrishy
Jul 19 '05 #1
2 1904

Yes, stats on indexes affects execution plans, but if you're using 9i
oracle make a little sample on non-analyzed objects.

Originally posted by Hrishy
Hi All I was just wundering what happens if we dont gather stats on indexes will it effect the optimiser plans ? regards


Hrishy
--
Posted via http://dbforums.com
Jul 19 '05 #2
ndu35 <me*********@dbforums.com> wrote in message news:<34****************@dbforums.com>...
Yes, stats on indexes affects execution plans, but if you're using 9i
oracle make a little sample on non-analyzed objects.

Originally posted by Hrishy
Hi All


I was just wundering what happens if we dont gather stats on indexes

will it effect the optimiser plans ?


regards


Hrishy


Depending on the option used to gather statistics Oracle often
automatically generates index statistics when you generate statistics
on the base table.

Example: analyze table bob.table_with_indexes compute statistiscs [OR
sample] will generate statistics for the table and all its indexes.

HTH -- Mark D Powell --
Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Bob II | last post: by
reply views Thread by dba | last post: by
1 post views Thread by MKoool | last post: by
9 posts views Thread by ankitdesai | last post: by
2 posts views Thread by Monu | last post: by
2 posts views Thread by hrishy | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by kglaser89 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.