IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

database growth metrics


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
amiya_mf

New User


Joined: 01 Mar 2005
Posts: 18

PostPosted: Tue Oct 13, 2009 11:49 am
Reply with quote

Hi,

Can somebody help me to find out some EZtrieve program by which I can build reports to format the "database growth" metrics into a readable format.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Oct 13, 2009 7:57 pm
Reply with quote

Hello,

Suggest you post a bit of the data that you want to work with and show an example of the output you want from that input data. . .
Back to top
View user's profile Send private message
amiya_mf

New User


Joined: 01 Mar 2005
Posts: 18

PostPosted: Wed Oct 14, 2009 10:12 am
Reply with quote

Hi Dick,
Thanks for your reply.
Actually in my shop I have one table which is being used by the user everyday. and the no of records inserted is huge number. So just to track weekly, how many records got inserted into the table, i need to prepare a report. So for this I am looking for an approach.

I think now i made my requirement somewhat clear, as there is no input data and out put data so i have not given any sample. At the end of the program it should give me a report by which i can see what was the number of records last week and how many new records got inserted into the table and what is the current record count.

Thanks.
Back to top
View user's profile Send private message
dejunzhu

Active User


Joined: 08 May 2008
Posts: 390
Location: China

PostPosted: Wed Oct 14, 2009 12:02 pm
Reply with quote

If you have got a timestamp field in your table structure, you can simply achieve this by issuing a SQL statement.
Back to top
View user's profile Send private message
amiya_mf

New User


Joined: 01 Mar 2005
Posts: 18

PostPosted: Wed Oct 14, 2009 12:16 pm
Reply with quote

There is no timestamp field in the table structure.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Oct 14, 2009 12:23 pm
Reply with quote

Quote:
if you have got a timestamp field in your table structure, you can simply achieve this by issuing a SQL statement.
and, by grace, how would a timestamp in the data help to plot a growth rate for a database ??

anyway You should define a new DB2 table <Your _statistics_stuff> with the columns relevant to the data You want to keep track on
here You might want to include a timestamp to record the time the data was collected..

run the proper SQL queries for the relevant catalog tables,
populate the <Your _statistics_stuff> with the data...

afterwards it is just the issue to process the <Your _statistics_stuff> in order to get reports an graphs for Your metric application

it' s a full blown application ( small, maybe, but an application neverthless)
the proper approach must be followed, requirements and all the rest proper design, plan, documentatin
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts What database does Jobtrac use CA Products 4
No new posts Capturing COBOL job and program names... All Other Mainframe Topics 2
No new posts Products/Tools to Optimize Adabas Dat... Compuware & Other Tools 2
No new posts AUTHORIZED database error in HALDB IMS DB/DC 2
No new posts linking an ALC program to a Relationa... PL/I & Assembler 1
Search our Forums:

Back to Top