DB performing very slowly, [message #318743] |
Wed, 07 May 2008 16:48 |
me_maddy
Messages: 31 Registered: April 2008
|
Member |
|
|
Hello Everybody,
We have one of our database(1.8 TB size) which is performing very slowly,
cache hit ratio= 28.7%
After checking I found the db_cache_size=32M and shared_pool_size=400M.
I changed the values dynamically for db_cache_size=4G and shared_pool_size=4G.
but still cache hit ratio= 28.7% and performance is very poor.
Oracle: 10.2.0.3.0
OS: Solaris 10 SPARC 64
Please suggest, this is really a crunch situattion.
Regards,
Maddy.
|
|
|
Re: DB performing very slowly, [message #318744 is a reply to message #318743] |
Wed, 07 May 2008 16:53 |
|
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
http://www.orafaq.com/forum/t/84315/74940/
which of the above suggestions/ideas have you done & what were the results?
Buffer Cache Hit Ratio (BCHR) is a mythical indicator of performance.
In and by itself, it is a meaningless number.
Pl/SQL code exists that allows you to specify & obtain any BCHR you desire.
You've asked, "How do I tune a poorly performing application?".
The answer is "You tune one SQL statement at a time.".
Only rarely is there is single magic pill that makes everything OK after taking it.
[Updated on: Wed, 07 May 2008 16:57] by Moderator Report message to a moderator
|
|
|
Re: DB performing very slowly, [message #318747 is a reply to message #318743] |
Wed, 07 May 2008 17:07 |
me_maddy
Messages: 31 Registered: April 2008
|
Member |
|
|
Thanks for your reply Anacedent.
Actually this is a newly created, only 2 weeks old server.the database was earlier running on hpux and now migrated to solaris server.
Please suggest which parameters should we tune or look after.
Thanks.
|
|
|
|
Re: DB performing very slowly, [message #318751 is a reply to message #318743] |
Wed, 07 May 2008 17:32 |
me_maddy
Messages: 31 Registered: April 2008
|
Member |
|
|
Hi
We have taken schema level statistics on solaris, not database level statistics.
Shall we go ahead and perform database level statistics using DBMS_STATS.GATHER_DATABASE_STATS.
Moreover optimizer_mode= ALL_ROWS.
Do we need to change it to choose.
Appreciate your response in this regard.
Thanks.
|
|
|
|
|
Re: DB performing very slowly, [message #318774 is a reply to message #318751] |
Wed, 07 May 2008 23:08 |
rleishman
Messages: 3728 Registered: October 2005 Location: Melbourne, Australia
|
Senior Member |
|
|
me_maddy wrote on Thu, 08 May 2008 08:32 |
Moreover optimizer_mode= ALL_ROWS.
Do we need to change it to choose.
|
You don't use CHOOSE in 10g any more. CHOOSE used to choose between ALL_ROWS and RULE, but now RULE is deprecated, therefore so is CHOOSE.
Ross Leishman
|
|
|
|
|