- 浏览: 16093 次
- 性别:
- 来自: 成都
最新评论
1.目标
a.描述数据库的逻辑结构
b.列出segment的类型和使用
c.控制块空间分配的重要配置
d.了解常用的视图
2.
segment的类型
表,分区表,cluster,index,index-organized-table,index partition,undo,temporary,lob,nested table(嵌套表),bootstrap segment as so on;
Hints
1>:如果存储参数改变,只对将来申请的extents有效.
2>:有些参数在只能在segment级改变,不能在tablespace级
3>:如果在表空间级别定义了minimun extent size将会影响到所有的extents的分配
4>:一个segment可以跨多个数据文件,但是不能跨表空间,一个segment是由连续的block组成,一个extent只能位于一个数据文件里
5>:extent被分配的时候,只有当segment被创建(Created),被扩展(Extended),被改变(Altered)
6>:extent被释放的时候,只有当segmeng被删除(droped),被改变(Altered),被截取(truncated)
db_block_size
1>:系统表空间和临时表空间只能使用db_block_size
2>: db_cache_size缓存标准的block.最小为one granule(sga定义的最小的单位,如果sga大于128M,one granule=16M,否则为4M),Default为64M
3>:DB_nk_cache_size不能是标准block size的大小
4>:定义了blocksize,表空间的块大小就不能被改变
Hints:
1>:对于分区表,所有的分区表空间的blocksize大小必须一致
2>:临时表空间和系统表空间必须是标准的块大小
3>:IOT和LOB segment的块大小可以和表的块大小不一样
Data block size contents
1>:consist of Header,free space,data
2>:重要参数
initrans:控制多少个事务可以对这个块进行操作(Transation slots)
maxtrans:控制最大的事务数
pctfree:最少留存多少的空间,百分比.
pctused:最少的使用空间,也是百分比.
Concepts:
freelist:oracle的segment会收集freelist的链表,如果当某些数据库的使用情况小于pctused的时候,该数据块被加入到freelist的链表中,下次oracle插入记录的时候,就会优先查找freelist的内容.freelist可以理解为block的指针
3>:块管理方式
Automatic segment-space management,采用bitmap管理方式
有专门的block来存放bitmap信息(bittmaped blocks BMSs),只对local extent management的表空间有效,for example:
Manual management
Concepts:
HWM(High Water Mark)
a.描述数据库的逻辑结构
b.列出segment的类型和使用
c.控制块空间分配的重要配置
d.了解常用的视图
2.
segment的类型
表,分区表,cluster,index,index-organized-table,index partition,undo,temporary,lob,nested table(嵌套表),bootstrap segment as so on;
Hints
1>:如果存储参数改变,只对将来申请的extents有效.
2>:有些参数在只能在segment级改变,不能在tablespace级
3>:如果在表空间级别定义了minimun extent size将会影响到所有的extents的分配
4>:一个segment可以跨多个数据文件,但是不能跨表空间,一个segment是由连续的block组成,一个extent只能位于一个数据文件里
5>:extent被分配的时候,只有当segment被创建(Created),被扩展(Extended),被改变(Altered)
6>:extent被释放的时候,只有当segmeng被删除(droped),被改变(Altered),被截取(truncated)
db_block_size
1>:系统表空间和临时表空间只能使用db_block_size
2>: db_cache_size缓存标准的block.最小为one granule(sga定义的最小的单位,如果sga大于128M,one granule=16M,否则为4M),Default为64M
3>:DB_nk_cache_size不能是标准block size的大小
4>:定义了blocksize,表空间的块大小就不能被改变
Hints:
1>:对于分区表,所有的分区表空间的blocksize大小必须一致
2>:临时表空间和系统表空间必须是标准的块大小
3>:IOT和LOB segment的块大小可以和表的块大小不一样
Data block size contents
1>:consist of Header,free space,data
2>:重要参数
initrans:控制多少个事务可以对这个块进行操作(Transation slots)
maxtrans:控制最大的事务数
pctfree:最少留存多少的空间,百分比.
pctused:最少的使用空间,也是百分比.
Concepts:
freelist:oracle的segment会收集freelist的链表,如果当某些数据库的使用情况小于pctused的时候,该数据块被加入到freelist的链表中,下次oracle插入记录的时候,就会优先查找freelist的内容.freelist可以理解为block的指针
3>:块管理方式
Automatic segment-space management,采用bitmap管理方式
有专门的block来存放bitmap信息(bittmaped blocks BMSs),只对local extent management的表空间有效,for example:
create tablespace tbspacename datafile '' extent management local uniform size 64k--(uniform 代表每个extent为64k) segment space management auto;
Manual management
Concepts:
HWM(High Water Mark)
发表评论
-
Orale Auditing
2010-12-26 12:12 6141. 记录方式session/access 2. 标准审计 s ... -
管理权限
2010-12-26 10:49 6311.显示当前用户拥有的权限 select * from ses ... -
Management password & resource
2010-12-18 08:43 7041.profile 1>.failed_login_ ... -
Oracle logBuffer
2010-12-16 18:05 687各地现场的log_buffer都不一样,有的现场设置为200M ... -
Index Management
2010-12-12 11:11 7541.classification of indexex ... -
Table Management
2010-12-12 08:34 6791.temporay table语法 a>:基于事 ... -
Undo Management
2010-12-11 10:53 6751.undo 表空间大小的确定 ... -
基于时间点的不完全恢复
2010-12-08 18:43 1536Hints: The requirements for dat ... -
oracle 热备份
2010-12-08 17:29 631SQL> set time on; 17:25 ... -
Oracle 冷备份
2010-12-07 11:34 536SQL> select count(*) fro ... -
Oracle 维护小技巧
2010-12-04 11:55 6021.重新编译有错误的函数,存储过程,包 select 'A ... -
oracle 性能监控常用SQL
2010-12-03 18:44 727监控数据库性能的SQL 查看tablespace的空間 ... -
Oracle正则表达式
2010-12-03 18:07 830Oracle 10g数据库内建了符合IEEE POSIX (P ... -
oracle 记录,嵌套表,集合
2010-12-03 11:39 16081.exists 检查集合中是否存在某个元素,collecti ... -
oracle 关联数组,bulk collect,forAll,动态SQL
2010-12-02 18:22 20171.今天花了点时间看了下plsql的关联数组,可谓是几经波折啊 ... -
手动创建数据库
2010-12-02 09:12 678[b]1.操作指南(摘自oracle在线帮助文档) Step ... -
Tablespaces&Datafiles
2010-12-01 21:32 659a.目标 1.定义表空间和数据文件,熟悉相关的脚本参数 2.创 ... -
Redo Log File
2010-11-30 21:00 799a.日志文件概要 1.Record all changes m ...
相关推荐
What information is necessary when specifying the structure of a table? (a) the name of the table and the amount of storage space to be allocated to the table (b) the name of the table, the ...
A minimal but extreme fast B+ tree indexing structure demo for billions of key-value storage
Chapter 10 Storage and File Structure 10.1 Overview of Physical Storage Media 429 10.2 Magnetic Disk and Flash Storage 432 10.3 RAID 441 10.4 Tertiary Storage 449 10.5 File Organization 451 10.6 ...
2.1 Relationship to other key roles in development organization 25 Role: project management 25 Role: development team managers 25 Role: system architect/chief engineer 26 Role: chief software engineer...
2.8 Pure Shear: Relationship between G and E 95 2.9 Anisotropic Effects 96 2.10 Elastic Properties of Polycrystals 107 2.11 Elastic Properties of Materials 110 2.11.1 Elastic Properties of Metals 111 ...
2.8 Pure Shear: Relationship between G and E 95 2.9 Anisotropic Effects 96 2.10 Elastic Properties of Polycrystals 107 2.11 Elastic Properties of Materials 110 2.11.1 Elastic Properties of Metals 111 ...
4.2 Structure of this document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4.3 Syntax notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
1.5 Structure of this International Standard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.6 Syntax notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
Storage Temperature, Plastic Package . . . . . –55°C to +125°C Lead Temperature Range (Soldering, 10 sec) . . . . . . . . 300°C Maximum Junction Temperature . . . . . . . . . . . . . . . . . 150°...
The only source of any storage location information is the sysindexes table, which keeps track of the address of the root page for every index, and the first IAM page for the index or table....
Windows 2000 Server Operations Guide, Storage, File Systems, and Printing; Chapters: Evaluating Memory and Cache Usage Advanced Windows, 4th Edition, Jeffrey Richter, Microsoft Press Related ...
10.8.5. Fetching a Rowset via a Many-to-many Relationship 10.8.6. Cascading Write Operations 10.8.6.1. Notes Regarding Cascading Operations 11. Zend_Debug 11.1. 输出变量的值 (Dumping Variables) 12...
Storage Drivers ................................................................................................. 14 Network Interface Drivers ............................................................