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 > Reorg increased by 2.5 hours

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-25-07, 16:17
redwolf redwolf is offline
Registered User
 
Join Date: Apr 2004
Posts: 179
Reorg increased by 2.5 hours

I have a situation where the runtime to reorg a large table has increase from 2 hours to 4.5 hours in the past 2 weeks. Any ideas what could have caused the sharp rise in runtime ?

Thanks

REORG TABLE PROD.GL_ENTRY INDEX PROD.XGLENC02 USE TEMPSPACE1;



DB21085I Instance "db2inst1" uses "64" bits and DB2 code release "SQL08022"
with level identifier "03030106".
Informational tokens are "DB2 v8.1.0.89", "special_15295", "U800790_15295", and
FixPak "9".
Product is installed at "/opt/IBM/db2/V8.1".

Solaris 8
Reply With Quote
  #2 (permalink)  
Old 09-26-07, 02:04
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,
has table grown a bit time? What was table size in pages before and after?
Grofaty
Reply With Quote
  #3 (permalink)  
Old 09-26-07, 03:10
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Try specifying a temporary tablespace for the reorg. You probably no longer have enough free space inside the tablespace to reorg the table efficiently.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #4 (permalink)  
Old 09-27-07, 11:38
redwolf redwolf is offline
Registered User
 
Join Date: Apr 2004
Posts: 179
The table is reorged on a weekly bases and the number of rows inserted are about the same each week.

I'm using a temp tablespace to perform the reorg which is ~ 50GB while the table total size is ~ 18GB. See actual reorg command above.
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