Home » RDBMS Server » Performance Tuning » Very Bad Performance After ReOrg (v92080 Enterprise - SPARC 8 64bit)
Very Bad Performance After ReOrg [message #525664] Tue, 04 October 2011 09:21 Go to next message
drovnik
Messages: 34
Registered: January 2011
Location: Gaborone, Botswana
Member

I am experiencing very bad performance after completing a reorg.
All indexes are valid after rebuilding and stats are up to date.

STATPACK top statement by gets shows the following query being run 35 times with high gets per execution; I cannot seem to locate the query session and kill it as its not related to the application in any way.


CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
--------------- ------------ -------------- ------ -------- --------- ----------
1,170,910,588 35 33,454,588.2 58.2 ######## 12255.50 4175502449

Module: JDBC Thin Client

select round((100 * (sum(nvl((d.bytes - nvl(s.bytes,0))/(1024*10
24),0))) / sum(NVL(d.bytes / 1024 / 1024, 0))), 2) DiskUtilizati
on from sys.dba_data_files d, (select file_id, sum(bytes) bytes
from sys.dba_free_space group by file_id) s where (s.file_id (+)
= d.file_id)



STATPACK also shows top waits of db sequential file and cpu, also shows latch free and buffer busy. I understand latch free waits relate to cache buffers chains.

Is there some way I can reduce these wait events also to better my performance.
Re: Very Bad Performance After ReOrg [message #525675 is a reply to message #525664] Tue, 04 October 2011 10:47 Go to previous messageGo to next message
John Watson
Messages: 8930
Registered: January 2010
Location: Global Village
Senior Member
Hi - do you have statspack level 6 or 7 snapshots from before your reorg? If so, you can get the execution plan that was used before and compare it with what is being used now. That will make tuning the statement much easier. And that is what you have to do: adjust the statement/database/instance/environment to influence the optimizer towards a better exec plan.
(btw, I see you are in Gabarone, do you work for RPC Data, by any chance?)
Re: Very Bad Performance After ReOrg [message #525681 is a reply to message #525664] Tue, 04 October 2011 11:08 Go to previous messageGo to next message
Michel Cadot
Messages: 68643
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Also no expert would say that a reord will lead to better performances, many will say it will lead to worse performances.

Quote:
I understand latch free waits relate to cache buffers chains.

If you see this, it is an expected behaviour after a reorg that lower the used space.

Regards
Michel
Re: Very Bad Performance After ReOrg [message #525704 is a reply to message #525664] Tue, 04 October 2011 12:18 Go to previous message
LNossov
Messages: 318
Registered: July 2011
Location: Germany
Senior Member
Could you please upload the whole statspack report. If you have an old one (before reorg), upload it also. Performance issues after reorg arise mostly because of changing of execution plans.
Previous Topic: how to find index to rebuilt
Next Topic: Tuning help needed
Goto Forum:
  


Current Time: Tue Apr 23 06:00:17 CDT 2024