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 > backup pending because of load command, please help!!!!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-31-06, 19:44
M_RAS M_RAS is offline
Registered User
 
Join Date: Sep 2003
Location: canada
Posts: 230
backup pending because of load command, please help!!!!

I use db2 v8.2.2 and aix 5.2

archive logging in database is ON, when I ran load command tabale space went to backup pending and made a lot of touble in production box, yes I know I should take a backup and continue or restore and turn OFF archive logging and run load command, my question is if I use IMPORT command instead of LOAD it seems is ok and I will not get backup pending

Am I right?

I am a little bit panick, I want to use import and I want sure I will not get any problem, please help.
Reply With Quote
  #2 (permalink)  
Old 01-31-06, 20:26
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Import uses inserts (which are logged, so you will not get any copy pending). Make sure you set the commitcount parm so you take commits every 1000 or so inserts to keep the active log from filling up.
__________________
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 01-31-06, 20:32
M_RAS M_RAS is offline
Registered User
 
Join Date: Sep 2003
Location: canada
Posts: 230
Quote:
Originally Posted by Marcus_A
Import uses inserts (which are logged, so you will not get any copy pending). Make sure you set the commitcount parm so you take commits every 1000 or so inserts to keep the active log from filling up.
Thank you so much Marcus_A
Reply With Quote
  #4 (permalink)  
Old 01-31-06, 21:09
murali_sb murali_sb is offline
Registered User
 
Join Date: Dec 2005
Posts: 39
You won't get backup pending state if you use nonrecoverable option in your load statement. Load is much faster than import so if data is huge you might be better off with load. However you need to ensure integrity is set once load is over.
Reply With Quote
  #5 (permalink)  
Old 02-01-06, 08:24
M_RAS M_RAS is offline
Registered User
 
Join Date: Sep 2003
Location: canada
Posts: 230
Quote:
Originally Posted by murali_sb
You won't get backup pending state if you use nonrecoverable option in your load statement. Load is much faster than import so if data is huge you might be better off with load. However you need to ensure integrity is set once load is over.
Thank you murali_sb for your help
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