oracle11g不能备份空表解决方案(06550)

oracle11g建立好了以后执行以下语句,可防止空表无法备份的问题(之前已经建立的表需要下面的方法进行处理)

alter system set deferred_segment_creation=false

执行以下sql,将结果执行,在进行备份即可

select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0

如果imp的时候出现imp-00017 ora-06550的错误,解决办法:

就是在exp或imp时加上一个参数来禁用统计信息的导出/导入:  statistics=none

猜你喜欢

转载自blog.51cto.com/1197822/2156821