设为首页 加入收藏

TOP

Oracle本地管理对比数据字典管理表空间(二)
2015-07-24 11:48:02 来源: 作者: 【 】 浏览:3
Tags:Oracle 本地 管理 对比 数据 字典 空间
es (single ST enqueue) 减少对数据字典表的争用。
Locally managed tablespaces eliminate the need to periodically coalesce free space (automatically tracks adjacent free space) 不需要定期合并空闲空间。
Changes to the extent bitmaps do not generate rollback information 对于位图区的改变不会产生回滚信息。
Locally ManagedSYSTEM Tablespace:
From Oracle9irelease 9.2 one can change the SYSTEM tablespace to locally managed. Further, ifyou create a database with DBCA (Database Configuration Assistant), it willhave a locally managed SYSTEM tablespace by default. The following restrictionsapply:
No dictionary-managed tablespace in the database can be READ WRITE.
You cannot create new dictionary managed tablespaces
You cannot convert any dictionary managed tablespaces to local

Thus, it is bestonly to convert the SYSTEM tablespace to LMT after

all other tablespaces are migrated to LMT.

自920后数据字典管理表空间已被废弃!

Segment SpaceManagement in LMT: 本地管理表空间中的段管理

From Oracle 9i,one can not only have bitmap managed tablespaces, but also bitmap managedsegments when setting Segment Space Management to AUTO for a tablespace. Lookat this example:设置段自动管理

SQL> CREATE TABLESPACE ts4 DATAFILE '/oradata/ts4_01.dbf'SIZE 50M

EXTENT MANAGEMENT LOCAL

SEGMENT SPACE MANAGEMENT AUTO;

Segment SpaceManagement eliminates the need to specify and tune the PCTUSED, FREELISTS, andFREELISTS GROUPS storage parameters for schema objects. The Automatic SegmentSpace Management feature improves the performance of concurrent DML operationssignificantly since different parts of the bitmap can be used simultaneouslyeliminating serialization for free space lookups against the FREELSITS. This isof particular importance when using RAC, or if "buffer busy waits"are deteted.

Convert betweenLMT and DMT: 本地管理与数据字典管理表空间转换

TheDBMS_SPACE_ADMIN package allows DBAs to quickly and easily

convert between LMT and DMT mode. Look at these examples:

SQL> exec dbms_space_admin.Tablespace_Migrate_TO_Local('ts1');

PL/SQL procedure successfully completed.?

SQL> execdbms_space_admin.Tablespace_Migrate_FROM_Local('ts2');

PL/SQL procedure successfully completed.?

---------------------------

Dylan Presents.

首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇初了解Oracle11g的AutomaticDiagn.. 下一篇CentOS-6.4-DVD系统中安装Oracle-..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·C++ 语言社区-CSDN社 (2025-12-24 17:48:24)
·CSDN问答专区社区-CS (2025-12-24 17:48:22)
·C++中`a = b = c`与` (2025-12-24 17:48:19)
·C语言结构体怎么直接 (2025-12-24 17:19:44)
·为什么指针作为c语言 (2025-12-24 17:19:41)