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 > REORGCHK example

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-04-04, 09:23
mbourd25 mbourd25 is offline
Registered User
 
Join Date: Mar 2004
Location: Ottawa
Posts: 21
REORGCHK example

Hi, could someone give an example of a REORGCHK command? I would like to do a REORGCHK on all my tables inside my database.

I'm running on a S/390 DB2 v7.2.

Any help would be great.

Thanks.
__________________
Mbourd25
Reply With Quote
  #2 (permalink)  
Old 03-04-04, 15:24
Koz Koz is offline
Registered User
 
Join Date: May 2002
Posts: 43
db2 reorgchk current statistics on table ALL
or if you want it to run runstats
db2 reorgchk on table ALL
Reply With Quote
  #3 (permalink)  
Old 03-05-04, 01:19
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi mbourd25,

You wrote:
Quote:

I'm running on a S/390 DB2 v7.2.
On witch operating sistem are you running the db2? S/390 is hardware like Intel on PC world. There are 4 operating sistems on S/390 hardware having the DB2 database:
- MVS, OS/390, z/OS
- VM, z/VM
- VSE and
- Linux for S/390.

Execute the following command in Command Window for full sintax of reorgchk command (if using z/OS or Linux):
db2 ? reorgchk

Hope this helps,
Grofaty

Last edited by grofaty; 03-05-04 at 01:21.
Reply With Quote
  #4 (permalink)  
Old 03-07-04, 15:11
famudba famudba is offline
Registered User
 
Join Date: Jan 2004
Location: Tallahassee, FL, USA
Posts: 96
in O/S 390 no reogchk utility.

only reorg available.


but you can find table need reorg



if clasterratio in sysibm.sysindexe is < 90

row overflow in sysibm.systables is > 5


need to run reorg

for more detail Utility Guide and Reference for
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