v$datafile
814590Jun 3 2011 — edited Jun 3 2011Hi,
I need to calculate the database size for the years 2008/2009.
I used this sql query for that -> select sum(bytes)/(1024/1024/1024) "in GB" from v$datafile where to_char(creation_time,'YYYY')='2009'
I have a question here,
Is that query gives the space added in 2009 or size of the database till 2009
Please clarify me
Thanks
Vijay.