|
原帖由 我上面有人 于 2010-3-19 11:13 发表
truncate=drop+create
truncate 和drop 有本质的区别,并不是 truncate=drop+create
我之前也是认为说 drop 只要删除 数据字典表就好了,并不会修改数据本身所处的 段头 数据,这一点通过将 数据所在的 tablespace 设成 read only ,还能 drop掉表也能得到验证,但是请看下面一句话
the drop will first convert the segment to a temporary segment, and only then start cleaning up the now temporary segment's extents. Thus, if the drop is interrupted, the temporary segment will now be cleaned up by SMON.
convert the segment to a temporary segment 这个怎么理解呢?
drop 会占用多少的 temporary segment 呢, interrupt drop 会很大影响吗?
[ 本帖最后由 txt1124 于 2010-3-19 13:09 编辑 ] |
|