If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > disable not logged initially

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-02-10, 15:18
jsnyder9 jsnyder9 is offline
Registered User
 
Join Date: Aug 2010
Posts: 2
disable not logged initially

Is there any way to control the 'not logged initially' from the server so that you can turn if off? Example: if a script ran which used 'not logged initially' if would get logged anyway and thus not get the hadr system out of sync.
Reply With Quote
  #2 (permalink)  
Old 09-02-10, 17:48
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,006
If you have DB2 9.5 (at least FP 4) or higher, then set the following to YES in the db config.

Block non logged operations (BLOCKNONLOGGED) = YES

It will not allow commands to be run that are not logged, such as NONRECOVERABLE Loads, and the situation you mentioned.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 09-02-10, 17:58
jsnyder9 jsnyder9 is offline
Registered User
 
Join Date: Aug 2010
Posts: 2
Great, were using 9.7, i see the option in the db cfg.
Thanks a lot.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On