Get Oracle Database Growth up by Month
SELECT To_char(creation_time, 'RRRR') year, To_char(creation_time, 'MM') month, Round(SUM(bytes) / 1024 / 1024 ) MB FROM v$datafile GROUP BY To_char(creation_time, 'RRRR'), To_char(creation_time, 'MM') ORDER BY 1, 2;
Xem thêm:
- Lỗi ORA-16470 Oracle Data Guard Oracle 19c
- Foreign Key là gì?
- Delete table thì có lấy lại được dữ liệu không?
- Q126 The EMPLOYEES table contains columns EMP_ID of data type NUMBER and HIRE_DATE of data type DATE
- Q89. Which are the three steps in the SQL tuning process for Oracle Database environments?