error:
IMP-00003: ORACLE error 1536 encountered ORA-01536: space quota exceeded for tablespace 'USERS'
表空间的配额用完了。
去掉配额限制:
alter user 用户名 quota unlimited on users;
去掉配额限制:
alter user 用户名 quota unlimited on users;
查询表空间使用情况的脚本
select df.tablespace_name "Tablespace",
totalusedspace "Used MB",
(df.totalspace - tu.totalusedspace) "Free MB",
df.totalspace "Total MB",
round(100 * ( (df.totalspace - tu.totalusedspace)/ df.totalspace))
"Pct. Free"
from
(select tablespace_name,
round(sum(bytes) / 1048576) TotalSpace
from dba_data_files
group by tablespace_name) df,
(select round(sum(bytes)/(1024*1024)) totalusedspace, tablespace_name
from dba_segments
group by tablespace_name) tu
where df.tablespace_name = tu.tablespace_name