文章目录
前言
一、还原表空间
二、脚本实验
1.创建还原表空间
create undo tablespace user_undo
datafile '/opt/oracle/app/oradata/orcl/userundo01.dbf' size 100m;
select tablespace_name,
status,
contents,
logging,
extent_management
from dba_tablespaces
where tablespace_name = 'USER_UNDO';
2.查看还原表空间user_undo存储参数
select tablespace_name,
block_size,
initial_extent,
next_extent,
max_extents,
pct_increase
from dba_tablespaces
where tablespace_name = 'USER_UNDO';
3.查看还原表空间USER_UNDO的数据文件
select file_id,
file_name,
tablespace_name,
status
from dba_data_files
where tablespace_name = 'USER_UNDO';