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 > roerg timings

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-07-11, 07:56
nanaavinash nanaavinash is offline
Registered User
 
Join Date: Dec 2011
Posts: 17
roerg timings

when i do offline reorg it takes 3.5 hours
after that when i checked actual reorg done on each table and sum the time taken to reorg the each table..its actualy only (1/2)half an our..


for reorg tiime taken...i used the command


db2pd -d <dbname> -reorg


please help me why this time difference
Reply With Quote
  #2 (permalink)  
Old 12-07-11, 08:31
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
can you state in more detail which timing you collect for which operation and how you get to the statement..
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 12-08-11, 01:42
nanaavinash nanaavinash is offline
Registered User
 
Join Date: Dec 2011
Posts: 17
reorg timings

Ex:

Complete time taken for 4 table (A,B,C,D) in db1.

i scheduled the cronjobs for this and get the email for successfull completion.
its getting after 3 hours(No delay in mail).


After this i checked for each table by using "db2pd -d <dbname> -reorg"
it gives

Address TableName Start End


1 A 09/26/2011 04:32:12 09/26/2011 04:32:13
Reply With Quote
  #4 (permalink)  
Old 12-08-11, 02:20
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
maybe : checking stats_time in catalog and see when this was done
in the crontab job-generate log and time of start and end for each table
according to db2pd = 1 sec ????
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #5 (permalink)  
Old 12-08-11, 02:31
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
when I start a reorg - the table is not reflected in the db2pd output list
I presume this is for automatic maintenance -
has to be checked..
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #6 (permalink)  
Old 12-08-11, 02:59
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
reorg

checked again - seems ok
(0)[db2inst1@dlx00005 ump]$ date;db2 "reorg table pip.access"; date
Thu Dec 8 08:55:38 CET 2011
DB20000I The REORG command completed successfully.
Thu Dec 8 08:55:50 CET 2011

db2pd..
0x00002AD316418528 ACCESS 12/08/2011 08:55:39 12/08/2011 08:55:50 12/08/2011 08:55:40 3
I suggest - you print the times in the job executing the reorg to check
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
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