有关oracle data block的英文解读

 

at the finest of granularity,oracle stores data in data blocks (also called logical blocks
Oracle blocks,or pages):
A data block is the smallest unit of data used by a database
 one data block corresponds to a specific number of bytes of
physical database on disk
 
 
 Oracle manages the storage space in the datafiles of a database in units called data
blocks. . In contrast, at the
physical, operating system level, all data is stored in bytes. Each operating system has
a block size. Oracle requests data in multiples of Oracle data blocks, not operating
system blocks.
The standard block size is specified by the DB_BLOCK_SIZE initialization parameter.
In addition, you can specify of up to five nonstandard block sizes. The data block sizes
should be a multiple of the operating system’s block size within the maximum limit to
avoid unnecessary I/O. Oracle data blocks are the smallest units of storage that Oracle
can use or allocate.


fine一般是 好的意思,这里做"细"解
granularity 间隔尺寸, 粒度 很好的一个技术专用词

correspond to 对应; 与...一致; 符合
The American Congress corresponds to the British Parliament.
美国国会相当于英国议会。
His expenses do not  correspond to his income.
他入不付出。

in contrast 相反, 大不相同
我们回顾例句: Oracle manages the storage space in the datafiles of a database in units called data
blocks。oracle通过datafile来管理存储空间,datafile的存储单位是datablock,在物理的操作系统级别,存储方式却
大相径庭。所有数据的存储都是以字节来存储的

multiple 复杂多样的;倍数
我们这里只关注倍数
lowest common multiple
最小公倍数
"3x4=12, so 12 is a multiple of 3."
"3乘以4等于12,所以12是3的倍数。"

Oracle requests data in multiples of Oracle data blocks, not operating
system blocks.
oracle要求数据是oracle数据块的倍数级,而不是操作系统的数据块
即说道是:oracle处理数据都是以oracle数据块的倍数级来进行处理,而不是操作系统的数据块的倍数级
这里需要注意的是in这个介词,他表达拉"成倍数"的说法
in multiples of
但是注意
The data block sizes should be a multiple of the operating system’s block size within the maximum limit to
avoid unnecessary I/O

又说明 data block sizes是操作系统块的倍数,那么oracle处理数据的单位也会是操作系统的数据块的倍数
呵呵,这就只能如此理解,我个人认为:
oracle处理数据的单位的只可能是Data Block的大小,而不会是操作系统的数据块的大小。其实还不是很严密
如果DB_BLOCK_SIZE 恰好设为操作系统块的一倍。那么就会是操作系统的数据块的大小了哦
,当然这是极端情况拉
好象晦涩了,所以干脆还是用英文原文
Oracle data blocks are the smallest units of storage that Oracle
can use or allocate.


The standard block size is specified by the DB_BLOCK_SIZE initialization parameter说明
DB_BLOCK_SIZE 这个参数就将 data block落到了实地,它在control file中存在和配置,
The data block sizes should be a multiple of the operating system’s block size within the maximum limit to
avoid unnecessary I/O
则说明了指定DB_BLOCK_SIZE 这个参数的目的 ,是为了避免不必要的IO,如何避免,我还是糊涂的

five nonstandard block sizes 我现在仍不清楚,先留下疑问把

补充(来源其他资料):
一个数据库的数据共同存储在数据文件里,一个数据文件只能属于一个表空间,
且一旦加入到表空间中,就不能再从这个表空间中移走,
也不能再加入到其它表空间中
(原因是:数据文件被oracle格式化oracle块,块大小是第一次创建数据库时设定的,
以后不能改变,要想改,
只能重建数据库
,注:block是oracle使用和分配的最小存储单位

数据文件被oracle格式化oracle块该如何理解呢??? 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值