Code.GeekInterview.com
 
Code Samples Oracle
 

Oracle Database Growth Report


Code ResourceAuthor: Beena  

Difficulty Level: Beginner

Published: 15th Jul 2008   Read: 14155 times  

Filed in: Oracle
Add Comment


 

 

Sponsored Links


 

 

Oracle Database Growth Report by Month and Year

 


Sample Code
  1. SELECT TO_CHAR(creation_time, 'RRRR Month') "Month",
  2.        SUM(bytes)/1024/1024 "Growth in MB"
  3.   FROM sys.v_$datafile
  4.  WHERE creation_time > SYSDATE-365
  5.  GROUP BY TO_CHAR(creation_time, 'RRRR Month')
  6. /
Copyright GeekInterview.com


Next Article: Function To Convert Amount to Words


 

Latest Code Samples

 

Popular Code Samples

 

Related Code Samples

 

Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    



Popular Coders

# Coder NameHits
1. jamesravid39380
2. krishnaindia200732926
3. Jim.Anderson28666
4. Mohit Sharma20985
5. Beena14156
6. jainsourabh29133
7. Satheesh6002
8. SriramKrishna5009

Active Coders

Refined Tags