首页 > Linux操作系统 > Linux操作系统 > Oracle存储的层次结构
从expert one-on-one oracle中节选的
In summary, the hierarchy of storage in Oracle is as follows:
1. A database is made up of one or more tablespaces.
---- 一个数据库是由一个或者多个表空间组成
2. A tablespace is made up of one or more data files. A tablespace contains segments.
---- 一个表空间是由一个或多个数据文件组成。每个表空间包含很多段表空间 就是段的容器
3. A segment (TABLE, INDEX, and so on) is made up of one or more extents. A
segment exists in a tablespace, but may have data in many data files within that
tablespace.
---- 一个段是由一个或多个extent组成,一个段存在于一个表空间,但是(段)可能由该表空间中的多个数据文件中的数据组成
一个段不跨表空间存在,即组成一个段的所有extent也是不跨表空间的,但是一个段可能会跨数据文件
4. An extent is a contiguous set of blocks on disk. An extent is in a single tablespace
and furthermore, is always in a single file within that tablespace.
---- 一个extnt是磁盘上一组连续的数据块,一个extent存在于一个表空间,总是存在于该表空间的一个数据文件中
一个extent不跨数据文件的,更是不跨表空间的
两个extent的空间不一定是连续的,但是一个extent在一个数据文件中总是连续的
5. A block is the smallest unit of allocation in the database. A block is the smallest unit
of I/O used by a database.
---- 一个数据块是数据库最小的分配单元,也是数据库使用的最小的I/O单元
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22111412/viewspace-611006/ ,如需转载,请注明出处,否则将追究法律责任。