导出表结构
exp name/password@hostname/db_name owner=username rows=n file=filename.dmp log=exp_log.log
导入表结构
imp name/password@hostname/db_name fromuser=username touser=username file=filename.dmp log=imp_log.log
导出某些表表:
exp name/password@hostname/db_name tables=(table_name_1,table_name_2,table_name_3) file=filename.dmp
导入必须的public表
imp name/password@hostname/db_name tables=(table_name_1,table_name_2,table_name_3) file=filename.dmp ignore=y
导出某用户的数据库
exp name/password@hostname/db_name file=filename.dmp owner=username log=exp_log.log
向空库中导入数据
imp name/password@hostname/db_name file=filename.dmp fromuser=username touser=username log=exp_log.log