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 > table gowth rate

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-07-06, 14:33
redwolf redwolf is offline
Registered User
 
Join Date: Apr 2004
Posts: 179
table gowth rate

Is there a way to determine which tables have grown the most over a time period?

Thanks ... Ellis


SunOS njs75d-0004 5.8 Generic_117000-05 sun4u sparc SUNW,Netra-T12

db2level
DB21085I Instance "db2inst2" 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".
Reply With Quote
  #2 (permalink)  
Old 06-07-06, 16:17
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Yes there is, although you'll have to do it yourself. You're probably updating statistics regularly; write a script to monitor stats for the tables you're interested in and save the data. For example:
Code:
create table tablegrowth (
  tabname varchar (128) not null, 
  tstamp timestamp default current timestamp, 
  card bigint not null, 
  fpages bigint not null
);

insert into tablegrowth select tabname, current timestamp, card, fpages
from syscat.tables where tabname in (...);
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