Active Data Guard without force logging
A reader, August 25, 2022 - 5:30 am UTC
Hi Connor,
Just want to take your feed and opinion on the issue/approach on Data Guard without force logging.
We have force_logging enabled in our production database and it has active Standby database for supporting read-only queries.
We have many materialized view refresh running every 15 min which is complete refresh with direct loads and it generates almost 10TB of redo and archive logs per day. We wanted to look at option of disabling FORCE_LOGGING on Primary but the problem is active data guard will go out of sync due to non-logged direct path operations.
Could you please your opinion/thoughts on this approach given our environment is Active Standby ?
1) in 12.2. we have RMAN command
Oracle document Note: 2378500.1
RMAN> RECOVER DATABASE NONLOGGED BLOCK;
Given we have multi TB of redo being generated, how fast the standby will catch with "NONLOGGED BLOCK" command..
Does it go serially or we have any Parallel operation available with this command ?
Thank you for your feedback/suggestions/better approach!
August 26, 2022 - 5:30 am UTC
Check out this video which might be useful in showing some options.
You need to be on 19c
Active DataGuard without force logging
A reader, August 31, 2022 - 3:05 am UTC
Hi Connor,
Thanks a lot for sharing the video on 'best effort standby" available in 19c.
I have few questions. Can you please clarify :
1) Given our environment have slower network bandwidth between Production site and Standby Site, mostly we will go with "STANDBY NOLOGGING for load performance" option.
Is this one time execution "alter database standby nologging" on Primary database ?
Do we need to execute the same command on Active Data Guard database as well ?
2) When Data Guard role switch happens between primary and standby, Do we need to re-execute it or it will stay for ever after 1st time execution ?
3) Is my understanding correct ? that, after the command once executed Oracle automatically manages fetching non-logged operation/direct writes blocks from Primary over to Standby and sync it up. No manual intervention needed, correct ?
4) What happens to user queries (read-only query)on Active Data Guard environment when non-logged recovery operations is performed by oracle under the covers. ? Will it throw any errors ?
Thanks much!
Active data guard nologging
A reader, September 01, 2022 - 12:24 am UTC
Hi Connor,
Thank you for the quick response. It’s very helpful.
September 01, 2022 - 4:15 am UTC
glad to help