« It168急聘 频道主编 | Blog首页 | Oracle9i中如何重建与切换临时表空间 »
关于临时段(temporary segment)的管理
链接:https://www.eygle.com/archives/2006/04/oracle_temporary_segment.html
临时表空间中创建的临时段一次分配,多次使用。同数据表空间的使用原则不同。
当排序等操作完成之后,空间不会被回收,而是标记相应的Extents为Free,这些Extents可以被重用。
这些区的管理,通过一个新的内存组件Sort Extent Pool(SEP)来完成,该内存在SGA中分配。
SEP的访问通过一个Latch来控制,这个Latch是:Sort Extent Pool Latch.
我们可以通过v$latch等视图来查看这个Latch的分配和使用情况:
SQL> select * from v$latchname LATCH# NAME SQL> select addr,latch#,name,gets,misses,sleeps
|
历史上的今天...
>> 2019-04-11文章:
>> 2010-04-11文章:
>> 2007-04-11文章:
>> 2005-04-11文章:
By eygle on 2006-04-11 16:51 | Comments (0) | FAQ | 739 |