首页 > 代码库 > oracle 数据库远程导出

oracle 数据库远程导出

exp 用户名/密码@IP:端口/数据库名 file=文件路径 full=y;

exp scebm1/ebm@10.3.10.16:1521/scebm file=D:scebm20140527.dmp

//如果报错 去掉 full=y试一试
分享一个,oracle查询锁表
SELECT object_name, machine, s.sid, s.serial# 
     FROM gv$locked_object l, dba_objects o, gv$session s
     WHERE l.object_id = o.object_id AND l.session_id = s.sid;

  alter system kill session ‘sid, serial#‘;