当Oracle数据库中使用不同版本的exp工具进行数据库导出时有时候会遇到类似如下错误
EXP: no storage definition found for segment( )
EXP: no storage definition found for segment( )
EXP: no storage definition found for segment( )
EXP: no storage definition found for segment( )
EXP no storage definition found for segment ……错误和Oracle的一个小Bug相关可以通过修改一个导出相关的View来解决
在目标数据库使用sys用户执行如下SQL创建新的view
CREATE OR REPLACE VIEW exutne (
tsno fileno blockno length) AS
SELECT ts# segfile# segblock# length
FROM sysuet$
WHERE ext# =
UNION ALL
SELECT * FROM SYSEXUTNEB
/
然后就可以正常进行导出操作exp完成后 最好将视图还原(Metalink建议)
CREATE OR REPLACE VIEW exutne (
tsno fileno blockno length) AS
SELECT ts# segfile# segblock# length
FROM sysuet$
WHERE ext# =
/
EXUTNE视图初始由 $ORACLE_HOME/rdbms/admin/catexpsql 脚本创建