Oracledata数据库管理教程.pptVIP

  • 2
  • 0
  • 约10.1万字
  • 约 95页
  • 2018-08-10 发布于未知
  • 举报
* * * Restrictions on Default Temporary Tablespace Dropping a Default Temporary Tablespace You cannot drop the default temporary tablespace until after a new default is made available. The ALTER DATABASE command must be used to change the default temporary tablespace to a new default. The old default temporary tablespace is then dropped only after a new default temporary tablespace is made available. Users assigned to the old default temporary tablespace are automatically reassigned to the new default temporary tablespace. Changing the Type of a Default Temporary Tablespace Because a default temporary tablespace must be either the SYSTEM tablespace or a temporary tablespace, you cannot change the default temporary tablespace to a permanent type. Taking Default Temporary Tablespace Offline Tablespaces are taken offline to make that part of the database unavailable to other users (for example, an offline backup, maintenance, or making a change to an application that uses the tablespace). Because none of these situations applies to a temporary tablespace, you cannot take a default temporary tablespace offline. * Read-Only Tablespaces The ALTER TABLESPACE [tablespace]READ ONLY command places the tablespace in a transitional read-only mode. In this transitional state, no further write operations can occur in the tablespace except for the rollback of existing transactions that previously modified blocks in the tablespace. After all of the existing transactions have been either committed or rolled back, the read-only command completes, and the tablespace is placed in read-only mode. You can drop items, such as tables and indexes, from a read-only tablespace, because these commands affect only the data dictionary. This is possible because the DROP command updates only the data dictionary, but not the physical files that make up the tablespace. For locally managed tablespaces, the dropped segment is changed to a temporary segment, to prevent the bitmap from being updated. T

文档评论(0)

1亿VIP精品文档

相关文档