Default Temporary Tablespace Using Multiple Tablespaces【每日一译】--20121101

When the SYSTEM tablespace is locally managed, you must define at least one default
temporary tablespace when creating a database. A locally managed SYSTEM

tablespace cannot be used for default temporary storage.

当系统表空间是本地管理,你必须定义至少一个默认的临时表空间当你创建一个数据库时,一个本地

管理的SYSTEM表空间不能用于默认临时存储。

If SYSTEM is dictionary managed and if you do not define a default temporary
tablespace when creating the database, then SYSTEM is still used for default temporary
storage. However, you will receive a warning in ALERT.LOG saying that a default

temporary tablespace is recommended and will be necessary in future releases.

如果SYSTEM是属于数据字典管理并且如果你不定义一个默认的临时表空间在创建一个数据库的时候,那

么SYSTEM仍用于临时存储。不过,你将收到一个警告在ALERT.LOG日志文件里,提示一个临时表空间

在将来的版本中是需要的。

How to Specify a Default Temporary Tablespace
Specify default temporary tablespaces when you create a database, using the DEFAULT
TEMPORARY TABLESPACE extension to the CREATE DATABASE statement.
If you drop all default temporary tablespaces, then the SYSTEM tablespace is used as
the default temporary tablespace.
You can create bigfile temporary tablespaces. A bigfile temporary tablespaces uses

tempfiles instead of datafiles.

如何指定一个默认的临时表空间

指定默认的临时表空间当你在创建一个数据库时,使用DEFAULT TEMPORARY TABLESPACE加入到

CREATE DATABASE语句。如果你DROP所有的默认临时表空间,那么SYSTEM表空间将用于作为默认

临时表空间。

你可以创建大文件的临时表空间,一个大文件临时表空间使用临时文件来替代数据文件。

Note: You cannot make a default temporary tablespace permanent or
take it offline

备注:你不能使用一个默认临时表空间为永久性的或者将它离线。

Using Multiple Tablespaces
A very small database may need only the SYSTEM tablespace; however, Oracle
recommends that you create at least one additional tablespace to store user data
separate from data dictionary information. This gives you more flexibility in various
database administration operations and reduces contention among dictionary objects
and schema objects for the same datafiles.
You can use multiple tablespaces to perform the following tasks:

使用多表空间

一个非常小的数据库可能只需要SYSTEM表空间;但是,ORACLE推荐你创建至少一个

额外的表空间去存储用户的数据,这些数据独立于数据字典信息。这个将更灵活的在多个数据

库管理操作和减少数据字典对象和用户对象对于同样数据文件的竞争。

你可以使用多个表空间去执行以下任务:

■ Control disk space allocation for database data--控制磁盘空间分配对于数据文件
■ Assign specific space quotas for database users--对于数据库用户指定配额
■ Control availability of data by taking individual tablespaces online or offline--控制数据的可用性通过控制表空间的在线或者离线
■ Perform partial database backup or recovery operations--执行不完全的数据库备份或者还原操作
■ Allocate data storage across devices to improve performance--通过设备分配数据存储来提高性能
A database administrator can use tablespaces to do the following actions:--一个DBA可以使用表空间做以下的行为:
■ Create new tablespaces--创建新的表空间
■ Add datafiles to tablespaces--添加数据文件到表空间
■ Set and alter default segment storage settings for segments created in a tablespace--设置和修改默认段存储设置对于在表空间中段的创建
■ Make a tablespace read only or read/write--使一个表空间只读或者读/写
■ Make a tablespace temporary or permanent--使一个表空间临时或永久的
■ Rename tablespaces--重命名表空间
■ Drop tablespaces--DROP表空间


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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值