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 > Transaction log full while using DB2 load utility

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-23-04, 02:25
bgdeepak bgdeepak is offline
Registered User
 
Join Date: Sep 2003
Posts: 14
Transaction log full while using DB2 load utility

HI,
I am using the load utility to load data from files into a DB .Now i am getting a transaction log size full error on loading more than 20,000 records.Can i explicitly commit for 10000 records using load utility ,if so how do i do this ?, Because load does not suppport commitcount as import utility does.
Reply With Quote
  #2 (permalink)  
Old 02-23-04, 02:49
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,

Are you sure you fulled the transaction log file? According to my knowledge load operation does not use transaction log files. So be sure that someone else fulls the logs...

Hope this helps,
Grofaty
Reply With Quote
  #3 (permalink)  
Old 02-23-04, 03:24
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
DELETE Phase of the LOAD Utility will use active logs ...

Cheers
Sathyaram

Quote:
Originally posted by grofaty
Hi,

Are you sure you fulled the transaction log file? According to my knowledge load operation does not use transaction log files. So be sure that someone else fulls the logs...

Hope this helps,
Grofaty
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #4 (permalink)  
Old 02-23-04, 03:26
bgdeepak bgdeepak is offline
Registered User
 
Join Date: Sep 2003
Posts: 14
Quote:
Originally posted by sathyaram_s
DELETE Phase of the LOAD Utility will use active logs ...

Cheers
Sathyaram
So how do i prevent the transaction log size full problem in load utility.

Thanks,
Deepak B G
Reply With Quote
  #5 (permalink)  
Old 02-23-04, 03:46
Marcus_A Marcus_A is online now
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,197
You can specify a commit interval if you use the import utility, or you could do a non-recoverable load (take a full off-line backup after the load).
__________________
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
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