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 > do you REORG system tables?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-23-09, 16:00
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
do you REORG system tables?

from your experience do you ever REORG system tables (SYSIBM.*)? in what situations?
thanks
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #2 (permalink)  
Old 12-23-09, 16:38
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
doveryai, no proveryai
Reply With Quote
  #3 (permalink)  
Old 12-23-09, 19:42
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
I don't recall ever doing a reorg on the catalog at our shop (mainframe), but that is most likely because we didn't do a lot of changes to the catalog... or could be some other reason. I don't remember.

I think it's a good idea to reorg your system catalog tables after a significant schema change and reorgchk can help you decide what to reorg. If you're going to reorg, then do runstats as well.

Last edited by db2girl; 12-24-09 at 14:28.
Reply With Quote
  #4 (permalink)  
Old 12-27-09, 10:35
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
we don't manually run reorgchk - we have to run maintanence script to reorg and runstats all tables in production within a small maintanence window. i think i will exclude system tables from reorg and runstats all tables incl. system.

thank you, Bella
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #5 (permalink)  
Old 12-28-09, 02:03
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
It depends... if your database or subsystem has a lot of tables and/or columns (a lot means a few thousand), I would consider system tables for reorg. Especially if you have page locks, it can be beneficial.

If the schema doesn't change or doesn't change significantly, it should be a one-time task only.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #6 (permalink)  
Old 12-28-09, 02:57
yhangw yhangw is offline
Registered User
 
Join Date: Nov 2009
Posts: 5
Quote:
Originally Posted by MarkhamDBA View Post
from your experience do you ever REORG system tables (SYSIBM.*)? in what situations?
thanks


I suggest you put reorging system tables into your schedule. It cost you little time but save you from a lot of problems.
Reply With Quote
  #7 (permalink)  
Old 12-29-09, 12:20
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
thanks everyone
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
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