欧美一区二区三区,国内熟女精品熟女A片视频小说,日本av网,小鲜肉男男GAY做受XXX网站

一般什么原因可以導致oracle數據庫歸檔日志過快增長

榮姿康2年前13瀏覽0評論

一般什么原因可以導致oracle數據庫歸檔日志過快增長?

通過這個語句可以查看每天的日志產生量,然后就可以看到從哪一天出現日志增長大。

SELECT TO_CHAR (first_time, 'YYYY-MM-DD WW') AS "DATE" ,TO_CHAR (first_time, 'DAY') week ,ROUND (SUM ( (blocks + 1) * block_size) / 1024 / 1024, 0) AS "SIZE_MB" ,COUNT (*) AS "NUMBER_OF_SWITCHES_PER_DAY" FROM v$archived_log WHERE dest_id = 1 and first_time>=trunc(sysdate)-40GROUP BY TO_CHAR (first_time, 'YYYY-MM-DD WW'), TO_CHAR (first_time, 'DAY')ORDER BY TO_CHAR (first_time, 'YYYY-MM-DD WW') DESC;