Oracle Flash back Technology-update ing

Source: Internet
Author: User

Flash-back technology was introduced in oracle10g, but this does not mean that all tables will be successful, and when there is not enough disk space, Oracle uses disk space in the Recycle Bin, and the bitmap connection index and referential integrity constraints are not protected by the Recycle Bin.

Setting of the RecycleBin parameter

Show Parameter bin       -Shows whether flash-back technology is used, by default the flash-back technology
Alter session set Recyclebin=off; --Modify at session level
alter system set Recyclebin=off DEFERRED; -- deferred parameter is not allowed to modify, but can be modified at session level, different from 10g

Show deleted tables in Recycle Bin

Show RecycleBin

Delete or empty a table in the Recycle Bin

table table_name;    --Delete a table from the collection
Purge RecycleBin; --Emptying and recycling

Recovering a deleted table

Table  to drop;   

Completely delete the table and not put it in the Recycle Bin

Drop table table_name purge;

Flashback Error DML operation

Oracle Flash back Technology-update ing

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.