Solved

logging

Posted on 2013-11-20
13
245 Views
Last Modified: 2013-12-13
why we are using force logging while dataguard setup..
0
Comment
Question by:dev_dba
  • 5
  • 3
  • 3
  • +1
13 Comments
 
LVL 24

Expert Comment

by:chaau
ID: 39664599
Do you realise that the person who interviews you may have an account at EE?
0
 

Author Comment

by:dev_dba
ID: 39664601
There is no interview ,
I ask when I cannot find satisfied answers from google.
I hope you can understand,
0
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 39664605
What part from the docs is confusing?

http://docs.oracle.com/cd/E11882_01/server.112/e10803/config_dg.htm#HABPT4887

In a nutshell:  If you perform some operations that specify nologging, for example: inserts into a nologging table, the changes are forced into the logs anyway so they can be picked up and sync'ed in the standby database.
0
 

Author Comment

by:dev_dba
ID: 39665466
Could any other experts answer my question..
0
 
LVL 34

Expert Comment

by:johnsone
ID: 39665546
What answer are you looking for?  I can reword slightwv's answer, but it would be the same answer.
0
 

Author Comment

by:dev_dba
ID: 39666973
Keeping going if any other experts...
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39666979
The answer is what I posted.  There is no other answer.

I suppose other Experts can make something up that sounds reasonable and you can accept that?
0
 
LVL 34

Expert Comment

by:johnsone
ID: 39667000
Well, if reworded other responses is what you want then here you go.


The doc reference has already been posted.

Force logging does as the name implies.  It basically disables the NOLOGGING option on all commands.  You can specify it, but it won't be honored.  This is done when a database has a standby because you want all of the operations duplicated in the standby.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39667506
>> This is done when a database has a standby because you want all of the operations duplicated in the standby.

Since we are re-wording:
 This is done when a database has a standby AND you want all of the operations duplicated in the standby.

The reason this is important:  Just because you have a standby database, does not mean you want ALL operations duplicated.

For production systems, any object created nologging is obviously not considered important for disaster recovery per say.

You have to know your database.

For my database I have a bunch of intermediate working tables for longer processes where global temp tables would not work.  I created them nologging to reduce the overhead since the data in them is transactional.

There is NO reason I would ever want any data in them duplicated over in a standby database.
0
 
LVL 34

Expert Comment

by:johnsone
ID: 39668744
Personally, I have always set force logging on when there is a standby.  It prevented other people from messing things up that didn't know better.  Someone would create a script with nologging because they read it in something they googled and data would have been lost if force logging wasn't turned on.  Or, an admin who normally worked with databases that don't have a standby ran something nologging without realizing the consequences.  I would rather have extra data logged and moved across than lose data.
0
 

Author Comment

by:dev_dba
ID: 39684673
Thanks..
0
 

Author Closing Comment

by:dev_dba
ID: 39717644
Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
Via a live example, show how to take different types of Oracle backups using RMAN.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now