Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does the Oracle database view the generation of archived logs within a week

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains the "Oracle database how to view a week's archive log generation", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "Oracle database how to view a week's archive log generation" bar!

Select logtime

Count (*)

Round (sum (blocks * block_size) / 1024 / 1024) mbsize

From (select trunc (first_time, 'dd') as logtime, a.BLOCKS, a.BLOCK_SIZE

From v$archived_log a

Where a.DEST_ID = 1

And a.FIRST_TIME > trunc (sysdate-7))

Group by logtime

Order by logtime desc

Select count (*) from v$process

Thank you for your reading. The above is the content of "how to check the generation of archived logs in a week in Oracle database". After the study of this article, I believe you have a deeper understanding of how to view archived logs in Oracle database within a week, and the specific usage needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report