Chinaunix首页 | 论坛 | 博客
  • 博客访问: 54776
  • 博文数量: 56
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 600
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-15 09:38
文章分类
文章存档

2011年(8)

2010年(48)

我的朋友

分类: Oracle

2010-11-15 12:40:22

Chapter 8
08_maintain_tbs_and_datafile


Read-only tbs
alter tablespace userdata read only;
cause a checkpoint;
data available only for read operations
objects can be dropped from tablespace
还原的时候会很有用。
alter tablespace userdata offline;
alter tablespace userdata online;
Changing storage settings:

LMT
DMT (x)
Resizing a tablespace:

autoextend
alter database
add a data file using alter tablespace
dba_data_files
dba_free_space
dba_data_files  可以查看是否为AUTOEXTEND??
ALTER DATABASE DATAFILE '/SAFSF/XX.DBF' SIZE 100M AUTOEXTEND ON; 
dba_temp_files
v$tablespace
dba_tablespaces;




阅读(237) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~