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 > How long to REORG?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-16-11, 15:24
daGGoth daGGoth is offline
Registered User
 
Join Date: Sep 2011
Posts: 19
How long to REORG?

Looking to REORG numerous databases soon. Our largest database is 14.14GB. How long do you think it would take to REORG? Our DB2 server is v9.5, running 2x X5860's (3.33GHz) and 8GB DDR3.
Reply With Quote
  #2 (permalink)  
Old 11-16-11, 15:47
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
We cannot give specific times. It depends on how the data is fragmented among other things. 14 GB is not that big, so I would suspect that it would not take too long. It would be best to try it on a test system first.


Andy
Reply With Quote
  #3 (permalink)  
Old 11-16-11, 16:01
daGGoth daGGoth is offline
Registered User
 
Join Date: Sep 2011
Posts: 19
Quote:
Originally Posted by ARWinner View Post
We cannot give specific times. It depends on how the data is fragmented among other things. 14 GB is not that big, so I would suspect that it would not take too long. It would be best to try it on a test system first.


Andy
Alright. Kinda figured that. I know when i Connect to it, its the only database (of 10) that has Attention under health. It says Reorganization required. The others don't, but i don't guess it cant hurt to REORG them. This server is in the live environment and it going off line would, depending on which database, would effect between 200-15,000 end users, so uptime is a must.
Reply With Quote
  #4 (permalink)  
Old 11-16-11, 16:04
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
You can do on-line reorgs that will keep the system up, but take a lot longer and require lots of logs.

Andy
Reply With Quote
  #5 (permalink)  
Old 11-16-11, 16:11
daGGoth daGGoth is offline
Registered User
 
Join Date: Sep 2011
Posts: 19
Quote:
Originally Posted by ARWinner View Post
You can do on-line reorgs that will keep the system up, but take a lot longer and require lots of logs.

Andy
I don't mind doing it during our maintenance period around the middle of the night. Just trying to get a rough estimate.

I figure I will start on our smallest database (.58GB) and go from there to get an idea.
Reply With Quote
  #6 (permalink)  
Old 11-16-11, 16:13
daGGoth daGGoth is offline
Registered User
 
Join Date: Sep 2011
Posts: 19
Where would I go to do an online reorg?
Reply With Quote
  #7 (permalink)  
Old 11-16-11, 16:28
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Quote:
Originally Posted by daGGoth View Post
I know when i Connect to it, its the only database (of 10) that has Attention under health. It says Reorganization required.
Execute reorgchk to see what needs to be reorged.
Reply With Quote
  #8 (permalink)  
Old 11-16-11, 16:28
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Quote:
Originally Posted by daGGoth View Post
Where would I go to do an online reorg?
Look in the manual on the REORG command. One option is to do it online.

If you never have done a reorg before, I strongly suggest that you try it on a test system (maybe a copy of the database you want to reorg). This will give you some experience, see how long things will take, and see what resources are necessary.

Andy
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