问题:ora-01658 :无法为表空间USERS 中的段创建INITIAL区

--问题:ora-01658 :无法为表空间USERS 中的段创建INITIAL区
--IMP-00003: 遇到 ORACLE 错误 1658
--ORA-01658: 无法为表空间 USERS 中的段创建 INITIAL 区
--IMP-00017: 由于 ORACLE 错误 20000, 以下语句失败:


--查看表空间
select b.file_name as "物理文件名",
       b.tablespace_name as "表空间",
       b.bytes / 1024 / 1024 as "大小M",
       (b.bytes - sum(nvl(a.bytes, 0))) / 1024 / 1024 as "已使用M",
       substr((b.bytes - sum(nvl(a.bytes, 0))) / (b.bytes) * 100, 1, 5) as "利用率"
  from dba_free_space a, dba_data_files b
where a.file_id = b.file_id
group by b.tablespace_name, b.file_name, b.bytes
order by b.tablespace_name;

--更改表空间大小SQL:
alter tablespace htzq add datafile  'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\HTZQ_DATA.dbf' size 500m;

猜你喜欢

转载自jianwang0310.iteye.com/blog/2041182