DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Monitoring table growth

  1. #1
    Join Date
    Aug 2000
    Location
    Jolo, Sulu
    Posts
    639

    Monitoring table growth

    Hi,

    I was task to monitor the growth of all our database tables
    weekly. So the have a weekly count on all of them and stored in
    in the table. The count table looks like this:

    date1 table_name count1
    --------- ---------- ------
    07-JAN-04 EMP 50
    14-JAN-04 EMP 53
    21-JAN-04 EMP 60
    .
    .
    .

    My questions is, how can i write a sql program the print
    the ff report:

    WEEKLY TABLE GROWTH

    TABLE NAME 07-JAN-04 INCREASE 14-JAN-04 INCREASE
    ---------- --------- --------- --------- --------- ...
    EMP 50 3 53 7
    DEPT 20 0 20 0


    Thanks again for your help

  2. #2
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    Have a search for "pivot"
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width