Code.GeekInterview.com
 
Code Samples Oracle
 

Oracle Database Growth Report


Code ResourceAuthor: Beena  

Difficulty Level: Beginner

Published: 15th Jul 2008   Read: 13473 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. jamesravid37445
2. krishnaindia200731196
3. Jim.Anderson27790
4. Mohit Sharma20065
5. Beena13474
6. jainsourabh28645
7. Satheesh5686
8. SriramKrishna4771

Active Coders

Refined Tags