Home » RDBMS Server » Performance Tuning » Collecting stats (oracle - windows XP)
Collecting stats [message #496924] Thu, 03 March 2011 03:36 Go to next message
Messages: 526
Registered: December 2009
Senior Member
Hi All,

please clear my below doubts.

1) I made a composite index.
2) without collecting statistics, i had run AUTOTRACE.
It shown me FULL TABLE SCAN.

3) Then I had collected the stats and ran Autotrace,
Still it shows FULL TABLE SCAN only.

4) But when I dropped and recreate the index, then it shows me RANGE SCAN.

Why, we need to drop and recreate the index?

Re: Collecting stats [message #496938 is a reply to message #496924] Thu, 03 March 2011 04:14 Go to previous message
Michel Cadot
Messages: 65146
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Because statistics on the index are gathered.


[Updated on: Thu, 03 March 2011 04:15]

Report message to a moderator

Previous Topic: query issue
Next Topic: performance tuning
Goto Forum:

Current Time: Mon Aug 21 07:12:41 CDT 2017

Total time taken to generate the page: 0.01927 seconds