Introduction to Tablespaces, Datafiles, and Control Files【每日一译】--2012-10-28
2012-10-28 10:51
525 查看
Databases, tablespaces, and datafiles are closely related, but they have important
differences:
数据库,表空间和数据文件是关系密切的,但它们有着重要的区别:
■ An Oracle database consists of one or more logical storage units called tablespaces,
which collectively store all of the database’s data.
一个数据库是由一个多个逻辑存储单(叫表空间),它们包含了全部的数据库数据。
■ Each tablespace in an Oracle database consists of one or more files called datafiles,
which are physical structures that conform to the operating system in which
Oracle is running.
每个表空间在数据库中是由一个或多少文件叫做数据文件构成的。它们属于物理结构,
遵从于ORACLE运行的操作系统。
■ A database’s data is collectively stored in the datafiles that constitute each
tablespace of the database. For example, the simplest Oracle database would have
one tablespace and one datafile. Another database can have three tablespaces, each
consisting of two datafiles (for a total of six datafiles).
一个数据库的数据是全部存储在数据文件,这些文件组成了数据库的表空间。比如最简单的
数据将拥有一个表空间和一个数据文件。另外一种数据库拥有三个表空间,每个表空间由2个数据
文件构成(对于一个总共6个的数据文件)。
Oracle-Managed Files
Oracle-managed files eliminate the need for you, the DBA, to directly manage the
operating system files comprising an Oracle database. You specify operations in terms
of database objects rather than filenames. Oracle internally uses standard file system
interfaces to create and delete files as needed for the following database structures:
ORACLE-管理文件系统
ORACLE-管理文件减少了对于DBA直接管理构成ORACLE数据库系统文件的需要。你只
需要指定数据库的对象的条目而不需要文件名。ORACLE内部使用标准的文件系统接口
去创建和删除文件当有需要时,对以于以下几种数据库结构:
■ Tablespaces
■ Redo log files
■ Control files
#表空间
#重做日志文件
#控制文件
Through initialization parameters, you specify the file system directory to be used for
a particular type of file. Oracle then ensures that a unique file, an Oracle-managed file,
is created and deleted when no longer needed.
通过初始化参数,你指定的文件文件系统的目录去使用对一个特定类型的文件。ORACLE
确定一个唯一的文件,它是基于ORACLE-管理的文件,它将被创建并且当它不再需要时被删除。
Allocate More Space for a Database
The size of a tablespace is the size of the datafiles that constitute the tablespace. The
size of a database is the collective size of the tablespaces that constitute the database.
对于数据库分配更多的空间
表空间的大小它是组成表空间的数据文件的大小。数据库的大小它是组成数据库的所有
表空间的大小。
You can enlarge a database in three ways:
■ Add a datafile to a tablespace
■ Add a new tablespace
■ Increase the size of a datafile
你可以扩大数据库通过以下三种方式:
#添加一个数据文件对于一个表空间
#添加一个新的表空间
#扩大数据文件的大小
differences:
数据库,表空间和数据文件是关系密切的,但它们有着重要的区别:
■ An Oracle database consists of one or more logical storage units called tablespaces,
which collectively store all of the database’s data.
一个数据库是由一个多个逻辑存储单(叫表空间),它们包含了全部的数据库数据。
■ Each tablespace in an Oracle database consists of one or more files called datafiles,
which are physical structures that conform to the operating system in which
Oracle is running.
每个表空间在数据库中是由一个或多少文件叫做数据文件构成的。它们属于物理结构,
遵从于ORACLE运行的操作系统。
■ A database’s data is collectively stored in the datafiles that constitute each
tablespace of the database. For example, the simplest Oracle database would have
one tablespace and one datafile. Another database can have three tablespaces, each
consisting of two datafiles (for a total of six datafiles).
一个数据库的数据是全部存储在数据文件,这些文件组成了数据库的表空间。比如最简单的
数据将拥有一个表空间和一个数据文件。另外一种数据库拥有三个表空间,每个表空间由2个数据
文件构成(对于一个总共6个的数据文件)。
Oracle-Managed Files
Oracle-managed files eliminate the need for you, the DBA, to directly manage the
operating system files comprising an Oracle database. You specify operations in terms
of database objects rather than filenames. Oracle internally uses standard file system
interfaces to create and delete files as needed for the following database structures:
ORACLE-管理文件系统
ORACLE-管理文件减少了对于DBA直接管理构成ORACLE数据库系统文件的需要。你只
需要指定数据库的对象的条目而不需要文件名。ORACLE内部使用标准的文件系统接口
去创建和删除文件当有需要时,对以于以下几种数据库结构:
■ Tablespaces
■ Redo log files
■ Control files
#表空间
#重做日志文件
#控制文件
Through initialization parameters, you specify the file system directory to be used for
a particular type of file. Oracle then ensures that a unique file, an Oracle-managed file,
is created and deleted when no longer needed.
通过初始化参数,你指定的文件文件系统的目录去使用对一个特定类型的文件。ORACLE
确定一个唯一的文件,它是基于ORACLE-管理的文件,它将被创建并且当它不再需要时被删除。
Allocate More Space for a Database
The size of a tablespace is the size of the datafiles that constitute the tablespace. The
size of a database is the collective size of the tablespaces that constitute the database.
对于数据库分配更多的空间
表空间的大小它是组成表空间的数据文件的大小。数据库的大小它是组成数据库的所有
表空间的大小。
You can enlarge a database in three ways:
■ Add a datafile to a tablespace
■ Add a new tablespace
■ Increase the size of a datafile
你可以扩大数据库通过以下三种方式:
#添加一个数据文件对于一个表空间
#添加一个新的表空间
#扩大数据文件的大小
相关文章推荐
- How to extract controlfiles, datafiles, and archived logs from SMR backupsets without using RMAN
- Introduction to Data Blocks, Extents, and Segments【每日一译】--2012-10-16
- TEMPORARY Tablespaces and TEMPFILES
- Making User-Managed Backups-17.3、Making User-Managed Backups of Offline Tablespaces and Datafiles
- Making User-Managed Backups-17.4、Making User-Managed Backups of Online Tablespaces and Datafiles
- (原) Tablespaces, Datafiles, and Control Files
- Introduction to DataSets and working with XML files
- Introduction to ADF Data Visualization Components - Graphs, Gauge, Maps, Pivot Table and Gantt
- TEMPORARY Tablespaces and TEMPFILES
- An Introduction to SELinux on CentOS 7 – Part 2: Files and Processes
- Tablespaces, Datafiles, and Control Files
- Making User-Managed Backups-17.3、Making User-Managed Backups of Offline Tablespaces and Datafiles
- Fundamental I 08 Maintaining Tablespaces and Data Files
- How to Create Transportable Tablespaces Where the Source and Destination are ASM-Based
- Managing Tablespaces and Data Files
- Making User-Managed Backups-17.4、Making User-Managed Backups of Online Tablespaces and Datafiles
- How to search a table in a store proc and open the store proc
- How To determine DDIC Check Table, Domain and Get Table Field Text Data For Value?
- 《An Introduction to Ray Tracing》——2.2 Ray/Sphere Intersection And Mapping