Oracle database query database snapshot point ID interval

Source: Internet
Author: User

Set pagesize 150;

Col instart_fmt format A30

Col inst_name format A20

Col db_name format A20

Col snap_id for 999999999999

Col snapdat format A30

Col lvl for 999999999999

Select To_char (s.startup_time, ' dd Mon ' at "HH24:mi:ss ') instart_fmt

, Di.instance_name Inst_name

, Di.db_name db_name

, s.snap_id snap_id

, To_char (S.end_interval_time, ' dd Mon YYYY hh24:mi ') snapdat

, S.snap_level LVL

From Dba_hist_snapshot S

, Dba_hist_database_instance di

where di.dbid = S.dbid

and Di.instance_number = S.instance_number

and di.startup_time = S.startup_time

Order by Db_name, instance_name, snap_id;


Oracle database query database snapshot point ID interval

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.