RE: Standby Database performance

From: CRISLER, JON A <JC1706_at_att.com>
Date: Sun, 27 Nov 2011 16:08:16 +0000
Message-ID: <9F15274DDC89C24387BE933E68BE3FD3136A05_at_MISOUT7MSGUSR9D.ITServices.sbc.com>



I find it odd that you say DG did not scale. I would suggest going back and looking at DG again: if implemented properly, it should save a great deal of labor since it will manage archive gaps for you. Have you implemented statspack on the standby side? AWR reports will not be helpful if I recall correctly (i.e. they don't work on standby, at least for 10g), but there is a technote that shows you how to add statspack to a standby db, so it would give you additional metrics to help diagnose the problem.

How hard is your interconnect running ? We have found a lot of benefit in running 10g Ethernet with jumbo frames. Also, have your sysadmin / platform engineer check your HBA's to make sure they are optimially setup for high i/o to your SAN (or network connections if NFS). Look at things like proper multipath setup, proper queue lengths etc. Consider running Orion to benchark your disk i/o, and compare that to the primary side. Run against all LUN's / filesystems as well as some might perform worse than others.

-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of kapil vaish Sent: Thursday, November 24, 2011 11:46 AM To: Marcin Przepiorowski
Cc: deshpande.subodh_at_gmail.com; oracle-l_at_freelists.org Subject: Re: Standby Database performance

Hi,
DG was not able to scale upto this level. We tried combination of parallel threads starting from 8 threads upto 64 . We got best perf with 32 threads. Will review the suggested docs .  
Thanks
Kapil



From: Marcin Przepiorowski <pioro1_at_gmail.com> To: kapilvaish1_at_yahoo.com
Cc: "deshpande.subodh_at_gmail.com" <deshpande.subodh_at_gmail.com>; "oracle-l_at_freelists.org" <oracle-l_at_freelists.org> Sent: Thursday, November 24, 2011 5:20 AM Subject: Re: Standby Database performance

On Wed, Nov 23, 2011 at 6:32 PM, kapil vaish <kapilvaish1_at_yahoo.com> wrote:
> Thanks for all the answers, awesome team. Here are some answers to your questions .
> Manual means thru scripts only, this is not Dataguard . There is no issue in shipping time, we hae plenty archived logs available on the standby server to apply. The lag becomes 30-40 hours in 3-4 days and will continue to grow . This DR  is used for multiple purposes and we can not afford this much lag . This is 3 node RAC BTW.
> What we are trying to figure out is that if it is limitation of Oracle and it can not get any better or some other tunings can be checked. We are continously working with our storage/hw teams to take care of any contentions .
>

Hi,

Why you are not using DataGuard ? in that case you can use real time apply and it can work better than applying archive logs. From other side - did you ever try to check why standby is performing poor ? you can use v$system/session_event and try to figure out where Oracle is loosing time. It can be issue with applying logs but it can be issue with DBWR doing checkpoint as well. I have seen case where MRP was able to apply log in 20 s but checkpoint took 40 s.

regards,

-- 
Marcin Przepiorowski
http://oracleprof.blogspot.com
--
http://www.freelists.org/webpage/oracle-l


--
http://www.freelists.org/webpage/oracle-l
Received on Sun Nov 27 2011 - 10:08:16 CST

Original text of this message