Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Query to retrieve average growth

609621Sep 29 2011 — edited Sep 29 2011
Dear all,

10.2.0.5 on solaris

Table script :

DB_SPACE_HIST
(
TIMESTAMP DATE,
TOTAL_SPACE NUMBER(8),
USED_SPACE NUMBER(8),
FREE_SPACE NUMBER(8),
PCT_INUSE NUMBER(5,2),
NUM_DB_FILES NUMBER(5)
);

Sample data :


Time stamp : /16/2010 12:57:52 AM
Totak space : 678017
Used space : 235612
Free space : 442405
Pct in use : 34.75
number of files : 60


We have the timestamp stored in the table for morethan 3 years. The requirement is that we need to get the average growth in the database/month.

Any idea how I can do this ?

Kai
This post has been answered by Kim Berg Hansen on Sep 29 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 27 2011
Added on Sep 29 2011
1 comment
338 views