Oracle snapshot Management

Source: Internet
Author: User

Oracle snapshot Management

---- Manually create an Oracle Snapshot
BEGIN
DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT ();
END;
/

--- Delete a snapshot
For more information about snapshots, see DBA_HIST_SNAPSHOT.
 
BEGIN
DBMS_WORKLOAD_REPOSITORY.DROP_SNAPSHOT_RANGE (low_snap_id => 22,
High_snap_id = & gt; 32, dbid = & gt; 3310949047 );
END;
/
 

--- Modify snapshot settings
BEGIN
DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS (retention => 43200, interval => 30, topnsql => 100, dbid => 3310949047 );
END;
/
 
/* Retention: 43200 minutes (30 days); interval: 30 minutes; topsql :*/
View the current snapshot parameter configuration through DBA_HIST_WR_CONTROL.

Oracle Database ORA-01555 snapshot old

Oracle ORA-01555 snapshot old description

Snapshot control file)

Oracle Tutorial: Snapshot Control File

How to synchronize two databases in Oracle (using the materialized view) (Oracle snapshot instance)

Related Article

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.