|
View previous topic :: View next topic
|
| Author |
Message |
theone1987
New User

Joined: 14 Sep 2009 Posts: 60 Location: Milan
|
|
|
|
Hello everyone,
I wonder if you can do an unload multiple partitions are not consecutive.
Now I make two separate unload for each partition.
I know that you can do if the partitions are consecutive.
I should do the unload of the partition 13 and 18. can I do it with a single unload?
thanks |
|
| Back to top |
|
 |
GuyC
Senior Member
Joined: 11 Aug 2009 Posts: 1281 Location: Belgium
|
|
| Back to top |
|
 |
guptae
Moderator

Joined: 14 Oct 2005 Posts: 1209 Location: Bangalore,India
|
|
|
|
Hello There,
I think it can be achieve using LISTDEF. You can specify partition 13 & 18 in list like
| Code: |
LISTDEF UNLDLIST
INCLUDE TABLESPACE TDB1.TSP1 PARTLEVEL(13)
INCLUDE TABLESPACE TDB1.TSP1 PARTLEVEL(18) |
And then
| Code: |
UNLOAD LIST UNLDLIST
UNLDDN UNLDDS |
But not sure what benefit you will get if you loaded them consecutive rather than Separate .Would you please let me know why you want them to unload together? |
|
| Back to top |
|
 |
theone1987
New User

Joined: 14 Sep 2009 Posts: 60 Location: Milan
|
|
|
|
| guptae wrote: |
But not sure what benefit you will get if you loaded them consecutive rather than Separate .Would you please let me know why you want them to unload together? |
because if I unload from the partition 13 to 18, I unload data of 6 partitions. using LISTDEF I'll unload data of only 2 partitions. I'd saving a lot of CPU. |
|
| Back to top |
|
 |
guptae
Moderator

Joined: 14 Oct 2005 Posts: 1209 Location: Bangalore,India
|
|
|
|
| I meant why you want to unload 13 & 18 th partition together rather to unload them seperately |
|
| Back to top |
|
 |
theone1987
New User

Joined: 14 Sep 2009 Posts: 60 Location: Milan
|
|
|
|
| guptae wrote: |
| I meant why you want to unload 13 & 18 th partition together rather to unload them seperately |
I do so that, the job (which is quite long) is as clear and understandable as possible. there is no other reason. |
|
| Back to top |
|
 |
|
|