Knowledge increases exponentially. Today, you probably own more books than great universities of times past—Cambridge University owned less than two hundred books in the fifteenth century. First came the invention of writing, then alphabets, then paper, then the printing press, then mechanization. Each step caused an exponential increase in the collective human knowledge. In our generation, Al Gore invented the internet and the last barriers to the spread of knowledge have been broken. Today, everybody has the ability to contribute, communicate, and collaborate. We are all caught up in a tsunami, an avalanche, a conflagration, a veritable explosion of knowledge for the betterment of humankind. This is the blog of the good folks at Database Specialists, a brave band of Oracle database administrators from the great state of California. We bid you greeting, traveler. We hope you find something of value on these pages and we wish you good fortune in your journey.

Database object growth trending

I was recently asked if I had any metrics on an individual tables growth over time. I immediately thought of the DBMS_SPACE package’s OBJECT_GROWTH_TREND procedure. Here’s a quick snippet of my findings:

SQL> select * from table(dbms_space.OBJECT_GROWTH_TREND('PROD_SCHEMA','BIG_TABLE','TABLE'));

TIMEPOINT                    SPACE_USAGE SPACE_ALLOC QUALITY
---------------------------- ----------- ----------- --------------------
08-MAR-09 05.13.14.068141 PM  1715776904  2521825280 INTERPOLATED
09-MAR-09 05.13.14.068141 PM  1793318743  2521825280 GOOD
10-MAR-09 05.13.14.068141 PM  1408296977  2521825280 INTERPOLATED
11-MAR-09 05.13.14.068141 PM  1524659382  2521825280 GOOD
12-MAR-09 05.13.14.068141 PM  1626828349  2521825280 GOOD
13-MAR-09 05.13.14.068141 PM  1734537314  2521825280 GOOD
14-MAR-09 05.13.14.068141 PM  1784205219  2521825280 GOOD
15-MAR-09 05.13.14.068141 PM  1871027953  2521825280 INTERPOLATED
16-MAR-09 05.13.14.068141 PM  1982543510  2521825280 GOOD
17-MAR-09 05.13.14.068141 PM  1983452023  2521825280 PROJECTED
18-MAR-09 05.13.14.068141 PM  1984360537  2521825280 PROJECTED
19-MAR-09 05.13.14.068141 PM  1985269050  2521825280 PROJECTED
20-MAR-09 05.13.14.068141 PM  1986177563  2521825280 PROJECTED
21-MAR-09 05.13.14.068141 PM  1987086076  2521825280 PROJECTED

Looks like it can grow anywhere from 100MB+ per day and on some days less that 1MB.

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>