导出数据
exp 用户名/密码@数据库连接 file=D:\sandy\test.dmp tables=table_name1,table_name2 log=D:\sandy\test.log statistics=none导入数据
imp 用户名/密码@数据库链接 file=D:\sandy\test.dmp log=D:\sandy\imp_test.log statistics=none full=y ignore=y
该文描述了如何使用exp和imp命令进行数据库的数据导出与导入。exp用于将数据从数据库导出到DMP文件,指定文件路径、表名和日志文件。imp则用于将DMP文件中的数据导入数据库,包含全量导入选项,同时提供了忽略现有数据的设置。
导出数据
exp 用户名/密码@数据库连接 file=D:\sandy\test.dmp tables=table_name1,table_name2 log=D:\sandy\test.log statistics=none导入数据
imp 用户名/密码@数据库链接 file=D:\sandy\test.dmp log=D:\sandy\imp_test.log statistics=none full=y ignore=y
3539
5398
1381
2万+

被折叠的 条评论
为什么被折叠?