oracle segment space management and extent management幾則
--segment space mangement有2種方式;auto和manual
SQL> create tablespace tbs_newly datafile 'd:\oracle11g_64bit\oradata\second\tbs
_newly.dbf' size 10m extent management local autoallocate;
Tablespace created.
SQL> select tablespace_name,segment_space_management,extent_management,allocatio
n_type from dba_tablespaces;
TABLESPACE_NAME SEGMENT_SPAC EXTENT_MANAGEMENT ALLOCATION_TYPE
-------------------- ------------ -------------------- ------------------
SYSTEM MANUAL LOCAL SYSTEM
SYSAUX AUTO LOCAL SYSTEM
UNDOTBS1 MANUAL LOCAL SYSTEM
TEMP MANUAL LOCAL UNIFORM
USERS AUTO LOCAL SYSTEM
TBS_NEWLY AUTO LOCAL SYSTEM
6 rows selected.
SQL> drop tablespace tbs_newly including contents and datafiles;
Tablespace dropped.
---extent management 有2種方式:dictionary和local;而local又分為:uniform. size和autoallocate,後者為1m;前者可以自定義
SQL> create tablespace tbs_newly datafile 'd:\oracle11g_64bit\oradata\second\tbs
_newly.dbf' size 10m extent management local uniform. size 1m;
Tablespace created.
SQL> select tablespace_name,segment_space_management,extent_management,allocatio
n_type from dba_tablespaces;
TABLESPACE_NAME SEGMENT_SPAC EXTENT_MANAGEMENT ALLOCATION_TYPE
-------------------- ------------ -------------------- ------------------
SYSTEM MANUAL LOCAL SYSTEM
SYSAUX AUTO LOCAL SYSTEM
UNDOTBS1 MANUAL LOCAL SYSTEM
TEMP MANUAL LOCAL UNIFORM
USERS AUTO LOCAL SYSTEM
TBS_NEWLY AUTO LOCAL UNIFORM
6 rows selected.
SQL>
1* drop tablespace tbs_newly including contents and datafiles
SQL>
SQL>
SQL>
SQL>
SQL> create tablespace tbs_newly datafile 'd:\oracle11g_64bit\oradata\second\tbs
_newly.dbf' size 10m extent management local uniform. size 3m;
Tablespace created.
--說明extent management local uniform. size的大小對應如下的列minextlen,
SQL> select tablespace_name,status,min_extlen from dba_tablespaces;
TABLESPACE_NAME STATUS MIN_EXTLEN
-------------------- ------------------ ----------
SYSTEM ONLINE 65536
SYSAUX ONLINE 65536
UNDOTBS1 ONLINE 65536
TEMP ONLINE 1048576
USERS ONLINE 65536
TBS_NEWLY ONLINE 3145728
6 rows selected.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-759601/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle-Segment space managementOracle
- Oracle10g New Feature --12. ASSM ( Automatic Segment Space Management )OracleSSM
- [zt] dmt、lmt、mssm, assm (SEGMENT SPACE MANAGEMENT AUTO) 的一點總結SSM
- Undo Space Acquisition and Management (299)UI
- Oracle Cluster Time ManagementOracle
- Oracle OCP 1Z0-053 Q635(FRA Space Management)Oracle
- Oracle Management Server Could Not Be StartedOracleServer
- Oracle Lock Management Services (365)Oracle
- Oracle Application Management Pack and Application Change Management Pack for Oracle E-Business SuitOracleAPPUI
- undo segment的建立、線上以及extent的分配原則。
- oracle concept——data block,extent,segment-01OracleBloC
- block/extent/segment的理解BloC
- Oracle Shared Pool Memory ManagementOracle
- Oracle Automatic PGA Memory ManagementOracle
- undo segment的建立、online以及extent的分配原則
- Oracle 19c Database Management ToolsOracleDatabase
- Oracle DRM 簡介(Dynamic Resource management)Oracle
- Oracle Memory Management and HugePage (連載一)Oracle
- Oracle Memory Management and HugePage (連載二)Oracle
- Oracle Memory Management and HugePage (連載三)Oracle
- Oracle Memory Structure 1. Overview And ManagementOracleStructView
- oracle實用sql(8)--segment show spaceOracleSQL
- Memory Management in RustRust
- PostgreSQL Role ManagementSQL
- SQL management baseSQL
- Credit Management(SD)
- SQL Plan ManagementSQL
- Tablespace Management Enhancements in Oracle Database 10gOracleDatabase
- oracle11g memory management系列(一)Oracle
- memory management unit (MMU)
- Linux Memory ManagementLinux
- SQL Plan Management(SPM)SQL
- dispute management and new ES
- Management on database linkDatabase
- Management of Remote Dependencies (252)REM
- Master Data Management UpdateAST
- Management of Materials With Shelf Life
- Automatic Storage Management (ASM)在oracle的使用ASMOracle