View previous topic :: View next topic |
Author |
Message |
kingo1984 Beginner
Joined: 24 Jan 2007 Posts: 1 Topics: 1
|
Posted: Thu Jan 25, 2007 1:00 am Post subject: Use of LOG in LOAD utility |
|
|
Hi,
I liked to know or can anyone explain me why we use LOG NO or YES
in the LOAD utility. |
|
Back to top |
|
 |
hareshh Beginner
Joined: 13 Dec 2006 Posts: 16 Topics: 0
|
|
Back to top |
|
 |
CZerfas Intermediate
Joined: 31 Jan 2003 Posts: 211 Topics: 8
|
Posted: Thu Jan 25, 2007 9:51 am Post subject: |
|
|
Besides LOBs, you have to answer the question: Do I want to be able to recover this tablespace which DB2 utilities?
If yes, you have to use LOG YES in the Load statement and pay an extra CPU/IO price for that, or you use LOG NO and start an imagecopy utility directly after the load or use the implicit imagecopy capability of the load utility.
If no, you have to be able to build the table data from scratch.
regards
Christian |
|
Back to top |
|
 |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Wed Feb 07, 2007 6:05 am Post subject: |
|
|
I have one more question so what does this LOG info contain?
For example
If i have run a LOAD utility to insert some 100000 recs does it contain LOG info of each and every record?
Thanks,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed Feb 07, 2007 6:30 am Post subject: |
|
|
kingo,
LOG Tells whether logging is to occur during the RELOAD phase of the load process. YES Specifies normal logging during the load process. All records loaded are logged.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Wed Feb 07, 2007 7:36 am Post subject: |
|
|
Can we give LOG NO with both REPLACE and RESUME ?
Regds,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Wed Feb 07, 2007 9:20 am Post subject: |
|
|
Thanks Kolusu
Regds,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
 |
|
|