HWM problems in oracle

Source: Internet
Author: User

Oracle high water level (HWM) problems in oracle high water level (HWM) find a table with a large number of records, before 1 million, such as table test1. Create table test2 as select * from test1 where 1 = 2; insert into test2 select * from test1; force session interruption before the insert operation is complete. In this case, select * from test2; although test2 does not have any records, it takes a long time. Solution: www.2cto.com Method 1: truncate table test2; Method 2: alter table test2 enable row movement;
Alter table test2 shrink space; then execute select * from test2; it should be within 0.1 seconds.
Author sxdtzhp

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.