Oracle中的高水位(HWM)
Jun 07, 2016 pm 05:13 PMLinux公社(www.linuxidc.com)是专业的Linux系统门户网站,实时发布最新Linux资讯,包括Linux、Ubuntu、Fedora、RedHat、红旗Linux、Linux教程、Linux认证、SUSE
Oracle中的高水位(HWM)
找一个记录数较多的表,,100万条以前的,如表test1。
create table test2 as select * from test1 where 1=2;
insert into test2 select * from test1;
在insert执行完成之前强制中断session。
此时执行select * from test2;虽然test2中没有任何记录但需要很长时间。
解决办法:
方法1:truncate table test2;
方法2:
alter table test2 enable row movement;
alter table test2 shrink space;
再执行select * from test2;应该在0.1秒以内。
更多Oracle相关信息见Oracle 专题页面 ?tid=12

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Use ddrescue to recover data on Linux

Open source! Beyond ZoeDepth! DepthFM: Fast and accurate monocular depth estimation!

How to use Excel filter function with multiple conditions

Google is ecstatic: JAX performance surpasses Pytorch and TensorFlow! It may become the fastest choice for GPU inference training

The vitality of super intelligence awakens! But with the arrival of self-updating AI, mothers no longer have to worry about data bottlenecks

Slow Cellular Data Internet Speeds on iPhone: Fixes

The U.S. Air Force showcases its first AI fighter jet with high profile! The minister personally conducted the test drive without interfering during the whole process, and 100,000 lines of code were tested for 21 times.

The first robot to autonomously complete human tasks appears, with five fingers that are flexible and fast, and large models support virtual space training
