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 > Need to estimate the time to export of table

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-07-09, 14:36
prasadv18 prasadv18 is offline
Registered User
 
Join Date: Nov 2007
Posts: 26
Need to estimate the time to export of table

Hi All
In my environment ( "DB2 v8.1.1.156" , 64 bit)
nearly 18GB table is there
i want to take export of that table and load into another tablespace
i want to estimate the time which takes for export and load
please let me know is any procedure

Thanks
Reply With Quote
  #2 (permalink)  
Old 10-07-09, 14:56
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
It depends.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
Reply With Quote
  #3 (permalink)  
Old 10-07-09, 15:12
db2udbgirl db2udbgirl is offline
Registered User
 
Join Date: Mar 2006
Location: Tuticorin, India
Posts: 100
Do some testing using the same table/export criteria in lower environment to guestimate it
Reply With Quote
  #4 (permalink)  
Old 10-07-09, 19:11
sundaram sundaram is offline
Registered User
 
Join Date: Mar 2006
Posts: 104
Hi,

I had a similar situation and this is what I did:

Did a count of number of records in the table T1.

Created a new table T1_N identical to T1 in new tablespace

Used 'Load from cursor' to load 10% of the records from T1 to T1_N (used the 'fetch first xxxx rows' in the select statement in the 'load from cursor').

Gestimated the actual time as 10 times the time taken for loading 10% of the records and requetsed outage for this period.


During the outage:
Dropped the T1_N

Recreated T1_N

Moved data from T1 to T1_N

Renamed T1 to T1_O

Renamed T1_N to T1

After ensuring apps were running OK for a week, dropped table T1_O

Harikumar
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