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 > how to resize transaction log

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-29-03, 16:47
christine2003 christine2003 is offline
Registered User
 
Join Date: Jul 2003
Posts: 78
Question how to resize transaction log

Hello,

When I tried to import a very big file to a table, I got the error of transaction log full. I have to split the file several times in order to load the data. Does anyone know how to resize DB2 V8.1 transaction log?

I'd appreciate your suggestion.
Christine
Reply With Quote
  #2 (permalink)  
Old 09-29-03, 16:54
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
Here is a better idea:

Use COMMITCOUNT n on the IMPORT command.

This will perform a COMMIT after every n records are imported. I would recommend a value of 1000 for n.
Reply With Quote
  #3 (permalink)  
Old 09-30-03, 05:03
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,

It was written a lot of this topic. One of them I have already answered this question. Plese visit the following link.

Please also search this forum. I have found some links.

Hope this helps,
Grofaty
Reply With Quote
  #4 (permalink)  
Old 09-30-03, 12:21
christine2003 christine2003 is offline
Registered User
 
Join Date: Jul 2003
Posts: 78
I changed the log file size

Thank you guys. I managed to change the log file size, and that problem never happen again.



Quote:
Originally posted by grofaty
Hi,

It was written a lot of this topic. One of them I have already answered this question. Plese visit the following link.

Please also search this forum. I have found some links.

Hope this helps,
Grofaty
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