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 > Logs DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-06-11, 12:29
vicmen2000 vicmen2000 is offline
Registered User
 
Join Date: Jan 2011
Posts: 2
Logs DB2

Good Morning:

You need to make a time-consuming in a DB2 database, which generates a lot of logs which is unnecessary, as the logs off


Thanks
Reply With Quote
  #2 (permalink)  
Old 01-06-11, 18:15
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
What is your question/problem?
Reply With Quote
  #3 (permalink)  
Old 01-06-11, 23:41
vicmen2000 vicmen2000 is offline
Registered User
 
Join Date: Jan 2011
Posts: 2
Logs DB2

Thanks

I do not Know the command for disable the logs, until finish an activity, that generate lot logs unnecesary

OS is . AIX
Reply With Quote
  #4 (permalink)  
Old 01-07-11, 01:14
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Reply With Quote
  #5 (permalink)  
Old 01-07-11, 09:34
dav1mo dav1mo is offline
Registered User
 
Join Date: Dec 2007
Location: Richmond, VA
Posts: 782
logs records are not unnecessary. Any DBMS writes out log records for any change to the database in order to ensure recoverability and integrity. If you have a process that is writing a ton of log records and is causing your logs to fill, but they cannot be archived, because your thread is still running, that is another issue. There are a couple of ways around that issue. Have you considered LOAD? If it is a process that for some reason you feel cannot be handled with load, then issue periodic commits during your processing to free up the log files.
Dave
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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