Oracle对于表空间的管理,提供两种方式:自动和手工
Oracle 11g以后,表压缩的功能不仅仅适用于数据仓库系统,也适用于联机交易系统;
段是如何创建的,创建之后是如何分配的?
对于表空间的管理,分为数据字典方式管理和本地管理两种:
数据字典的方式,就是说将表空间中的segment、extent等信息以数据字典记录的方式进行管理,读取表空间使用情况信息的时候,直接通过数据字典方式获取;
地管理方式,其原理是通过将空间管理的信息存放在数据文件本上的头信息中,摆脱之前的数据字典方式管理,更加直接方便有效.
Objectives
After completing this lesson,you should be able to:
- Describe how the Oracle database server automatically manages space
- Save space by using compression
- Proactively monitor and manage tablespace space usage
- Describe segment creation in the Oracle database
- Control deferred segment creation
- Use the Segment Advisor
- Reclaim wasted space from tables and indexes by using the segment shrink functionality
- Manage resumable space allocation
Space Management:Overview
Space is automatically managed by the Oracle database server.It generates alerts about potential problems and recommends possible solutions.Features include:
- Oracle Managed Files(OMF)
- Free-space management with bitmaps("locally managed") and automatic data file extension
- Proactive space management(default threshold and server-generated alerts)
- Space reclamation(shrinking segments,online table redefinition)
- Capacity planning(growth reports)