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 > Load

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-31-05, 11:04
allian allian is offline
Registered User
 
Join Date: Dec 2004
Posts: 54
Load

Whenever I load data by using DB2 LOAD utility I am forced to take backup. can this be avoid by anyway?

Thanks,
Reply With Quote
  #2 (permalink)  
Old 10-31-05, 11:45
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Quote:
Originally Posted by allian
Whenever I load data by using DB2 LOAD utility I am forced to take backup. can this be avoid by anyway?

Thanks,
Yes, use the NONRECOVERABLE option. Cautiously... make sure you look over the docs to make sure you really want to do this, as implied it means you cannot recover that table data.

jono
__________________
--
Jonathan Petruk
DB2 Database Consultant
Reply With Quote
  #3 (permalink)  
Old 11-21-05, 14:42
Lxw176 Lxw176 is offline
Registered User
 
Join Date: Feb 2005
Posts: 36
I have the same problem, where can I find docs relate to nonrecoverable option? Can you jave me a sample contains db2 load with nonrecoverable option?

Thanks!
Lan
Reply With Quote
  #4 (permalink)  
Old 11-21-05, 14:46
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
Look in Command Refference.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
Reply With Quote
  #5 (permalink)  
Old 11-21-05, 14:46
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
It's in the Command Reference.

LOAD FROM xxx.del of del insert into mytable NONRECOVERABLE

Again - be careful. If you ever get put in a position where you have to RESTORE, that table is toast if you used this option and go past the point in time of the LOAD.
__________________
--
Jonathan Petruk
DB2 Database Consultant
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