eygle.com   eygle.com
eygle.com eygle
eygle.com  
 

« It168急聘 频道主编 | Blog首页 | Oracle9i中如何重建与切换临时表空间 »

关于临时段(temporary segment)的管理
modb.pro

临时表空间中创建的临时段一次分配,多次使用。同数据表空间的使用原则不同。

当排序等操作完成之后,空间不会被回收,而是标记相应的Extents为Free,这些Extents可以被重用。
这些区的管理,通过一个新的内存组件Sort Extent Pool(SEP)来完成,该内存在SGA中分配。

SEP的访问通过一个Latch来控制,这个Latch是:Sort Extent Pool Latch.

我们可以通过v$latch等视图来查看这个Latch的分配和使用情况:

SQL> select * from v$latchname
  2  where name like 'sort%';

    LATCH# NAME
---------- -----------------------------------------------
       138 sort extent pool

SQL> select addr,latch#,name,gets,misses,sleeps
  2  from v$latch where latch#=138;


ADDR         LATCH# NAME                                 GETS     MISSES     SLEEPS
-------- ---------- ------------------------------ ---------- ---------- ----------
50011E00        138 sort extent pool                     2297          0          0

 


历史上的今天...
    >> 2019-04-11文章:
    >> 2010-04-11文章:
    >> 2007-04-11文章:
           CSDN英雄会上签名送书
    >> 2005-04-11文章:

By eygle on 2006-04-11 16:51 | Comments (0) | FAQ | 739 |


CopyRight © 2004~2020 云和恩墨,成就未来!, All rights reserved.
数据恢复·紧急救援·性能优化 云和恩墨 24x7 热线电话:400-600-8755 业务咨询:010-59007017-7040 or 7037 业务合作: marketing@enmotech.com