read only tablespace

 

Using Read -Only Tablespaces

Making a tablespace read -only prevents write operations on the datafiles in the tablespace . The primary purpose of read -only tablespaces is to eliminate the need to perform backup and recovery of large, static portions of a database. Read -only tablespaces also provide a way to protecting historical data so that users cannot modify it. Making a tablespace read -only prevents updates on all tables in the tablespace , regardless of a user's update privilege level.


Note:

Making a tablespace read -only cannot in itself be used to satisfy archiving or data publishing requirements, because the tablespace can only be brought online in the database in which it was created. However, you can meet such requirements by using the transportable tablespace feature, as described in "Transporting Tablespaces Between Databases" .

You can drop items, such as tables or indexes, from a read -only tablespace , but you cannot create or alter objects in a read -only tablespace . You can execute statements that update the file description in the data dictionary, such as ALTER TABLE ... ADD or ALTER TABLE ... MODIFY , but you will not be able to utilize the new description until the tablespace is made read /write.

Read -only tablespaces can be transported to other databases. And, since read -only tablespaces can never be updated, they can reside on CD-ROM or WORM (Write Once-Read Many) devices.

The following topics are discussed in this section:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值