Home » RDBMS Server » Performance Tuning » Analyze tables
Analyze tables [message #202922] |
Mon, 13 November 2006 05:26  |
seema.taunk
Messages: 96 Registered: October 2006
|
Member |
|
|
Hi Friends,
I have analyzed tables & indexes using compute statistics after one month, after which I am getting lot of buffer busy waits on some tables.Previously buffer busy waits were absolutely zero.
How can I resolve it?
If I delete statistics & again analyze tables & indexes,will it work?
Please advise.
|
|
|
|
|
|
|
|
Re: Analyze tables [message #203221 is a reply to message #203172] |
Tue, 14 November 2006 06:40   |
 |
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
You are not analying indexes at all.
use
dbms_stats.gather_table_stats(ownname=> 'username', tabname=> 'tablename', cascade=>true,method_opt=>'For all indexed columns size your_size);
>>buffer busy waits reduces drastically.
From where are you getting this?
[Updated on: Tue, 14 November 2006 06:41] Report message to a moderator
|
|
|
Re: Analyze tables [message #203369 is a reply to message #203221] |
Tue, 14 November 2006 22:52  |
seema.taunk
Messages: 96 Registered: October 2006
|
Member |
|
|
Hi Mahesh,
Thanks for ur prompt reply.
I have analyzed tables & indexes separately using OEM.
Analyze index indexname compute statistics
Same for tables.
I have generated statspack reports before deleting stats & after deleting stats.
In that there was a major difference of buffer busy waits after deleting stats of that table & its corresponding indexes.
I have read that If stats are not present for table, then oracle uses RBO. It means it is using RBO for that single table related queries right?
But if one table's stats are persent & other table's stats are not present & query uses join of those tables, then what oracle will use? CBO or RBO?
Please clarify.
Thanx in advance.
|
|
|
Goto Forum:
Current Time: Fri May 02 01:43:40 CDT 2025
|