Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Logical Standby Issues (cont.)
I will answer the last three responses with a single response:
SQL> exec dbms_logstdby.apply_set ('_EAGER_SIZE', 2000); SQL> exec dbms_logstdby.apply_set ('_MAX_TRANSACTION_COUNT',12); SQL> exec dbms_logstdby.apply_set ('MAX_SGA', 3/4 of your shared pool);
I chose 500 as the setting for MAX_SGA (up from the default of 30M). It is my belief that the significant increase in MAX_SGA accounted for the most dramatic effect in performance. Before, I could see that SQL Apply was constantly paging out to a LOB in the SYSAUX tablespace.
4) I have parallel_max_servers set to 9.
In my test environment, it's taking about 4 minutes for SQL Apply to get through each 10-Mb archived log. If we can't tune that any better, in Production we'll have to re-instantiate large tables that get mass updates rather than let SQL Apply chew through the millions of update statements. Our largest table (that is maintained by SQL Apply) is 12-Gb which takes about 4 hours to re-instantiate. Inconvenient but do-able.
I might have anticipated how SQL Apply (via Streams) would handle a mass update if I had had better insight into the contents of the redo stream. I've just never taken the time to figure all that out. Our site is new to Logical Standby, so we're climbing the learning curve. Other than this nasty little surprise and the discovery that Change Data Capture doesn't work in 10.1.0.3, Logical Standby has been quite reliable since we implemented it in Production on June 10th. We're not yet reliant on the logical standby for reporting, so the impact of the surprises has been manageable. We'll be at 10.1.0.5 in Production in October, at which time, I expect that we will implement Change Data Capture and migrate the bulk of our reporting load over from the primary.
Thanks to all who offered ideas, insights, etc.
Mark
-- http://www.freelists.org/webpage/oracle-lReceived on Thu Jul 27 2006 - 11:04:04 CDT
![]() |
![]() |