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 in DB@

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-21-03, 03:20
sengu sengu is offline
Registered User
 
Join Date: Oct 2003
Location: Chennai,India
Posts: 4
Post Transaction Log in DB@

Hi,

Can i stop writing Transaction log in DB2 while importing large number of data when i don't need transaction log? If it is possible HOw?

Thanks in Advance.
Sengu
Reply With Quote
  #2 (permalink)  
Old 10-21-03, 03:23
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: Transaction Log in DB@

You can use the LOAD command ...

The other alternative is to use the NOT LOGGED INITIALLY on the table...

Refer to the db2 manuals for detailed information on these topics

HTH

Sathyaram

Quote:
Originally posted by sengu
Hi,

Can i stop writing Transaction log in DB2 while importing large number of data when i don't need transaction log? If it is possible HOw?

Thanks in Advance.
Sengu
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 10-21-03, 03:28
sengu sengu is offline
Registered User
 
Join Date: Oct 2003
Location: Chennai,India
Posts: 4
Post Re: Transaction Log in DB@

HI Sathyaram,

Thank you Very much for your immediate relpy.

Is there any way to configure the same[Not logged initially] in Control center?

Thanks and Regards,
Sengu
Reply With Quote
  #4 (permalink)  
Old 10-21-03, 04:03
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: Transaction Log in DB@

Not Logged Initially is not a Configuration parm ...

You will have to mention this when creating the table ...

CREATE TABLE ............. NOT LOGGED INITIALLY


The do the following in the same UOW :

ALTER TABLE <tabname> NOT LOGGED INTIALLY
IMPORT FROM <> ....

Personally, I prefer LOAD to NLI

HTH

sathyaram

Quote:
Originally posted by sengu
HI Sathyaram,

Thank you Very much for your immediate relpy.

Is there any way to configure the same[Not logged initially] in Control center?

Thanks and Regards,
Sengu
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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