Created
October 6, 2016 16:22
-
-
Save dotmaik1/599d39ac350a81eb83d7634fc7e72e29 to your computer and use it in GitHub Desktop.
--Note: 135294.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --Note: 135294.1 | |
| select to_char(creation_time, 'RRRR Month') "Month", | |
| sum(bytes)/1024/1024 "Growth in Meg" | |
| from sys.v_$datafile | |
| where creation_time > SYSDATE-365 | |
| group by to_char(creation_time, 'RRRR Month') | |
| order by "Month" desc; | |
| select to_char(CREATION_TIME,'RRRR') year, to_char(CREATION_TIME,'MM') month, round(sum(bytes)/1024/1024/1024) "Growth in GB" | |
| from v$datafile | |
| group by to_char(CREATION_TIME,'RRRR'), to_char(CREATION_TIME,'MM') | |
| order by 1, 2; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment