摘要: Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsExport done in ZHS16GBK characte... 阅读全文
posted @ 2012-05-18 12:01 DB&*NIX 阅读(1503) 评论(0) 推荐(0) 编辑
摘要: 处理对象类型 SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICSORA-39125: 在 KUPW$WORKER.PUT_DDLS 中 Worker 发生意外的致命错误 (在调用 DBMS_METADATA.CONVERT [TABLE_STATISTICS] 时)ORA-06502: PL/SQL: 数字或值错误 LPX-00225: end-element tag "HIST_GRAM_LIST_ITEM" does not match start-element tag "EPVALUE"ORA-0651 阅读全文
posted @ 2012-05-15 13:37 DB&*NIX 阅读(2341) 评论(0) 推荐(0) 编辑
摘要: windows:set JAVA_OPTS=-Dcom.sun.management.jmxremote.port=<port> -Dcom.sun.management.jmxremote.authenticate=false-Dcom.sun.management.jmxremote.ssl=falseAIX\Linuxexport JAVA_OPTS="-Dcom.sun.manageme... 阅读全文
posted @ 2012-05-11 05:53 DB&*NIX 阅读(625) 评论(0) 推荐(0) 编辑
摘要: 1. connect to the database as sysdba:sqlplus "/ as sysdba"2. shutdown immediate3. startup upgrade4. spool catalog.log@D:/Ora10gHome/rdbms/admin/catalog.sqlspool off5. spool catproc.log@D:/Ora10gHome... 阅读全文
posted @ 2012-05-10 15:50 DB&*NIX 阅读(1297) 评论(0) 推荐(0) 编辑
摘要: 在impdp中追加exclude=index,constraint 阅读全文
posted @ 2012-05-03 16:47 DB&*NIX 阅读(1444) 评论(0) 推荐(0) 编辑
摘要: select * from global_name; update global_name aset a.global_name='&SidName'; SHUTDOWN IMMEDIATE STARTUP select * from global_name; 重建dblink select * from user_db_links; 阅读全文
posted @ 2012-04-25 14:36 DB&*NIX 阅读(1567) 评论(0) 推荐(0) 编辑
摘要: vim 101 hacks Sed and Awk 101 Hacks Linux 101 Hacks TightVNC 阅读全文
posted @ 2012-04-18 12:07 DB&*NIX 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 在9iexp数据的时候,为保持数据一致性,使用consistent=y参数 用expdp 的fiashback_time或flashback_scn 可以实现同样的功能。 例如: SELECT to_char(DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER,’9999999999999′) from dual; select current_scn as FLA... 阅读全文
posted @ 2012-04-13 16:36 DB&*NIX 阅读(3465) 评论(0) 推荐(0) 编辑
摘要: 一般情况下,在杀一个会话的时候,直接执行alter system kill session ‘sid,serial#’; Administrator's Guide说,当session是active的时候,alter system kill session 只是将session标识为killed 或者pseudo状态,并不会释放session持有的资源,所以我们在执行完alter system ... 阅读全文
posted @ 2012-04-12 11:14 DB&*NIX 阅读(4975) 评论(0) 推荐(1) 编辑
摘要: Wed Apr 11 22:13:53 2012Errors in file d:\oracle\product\10.2.0\admin\sdh\bdump\sdh_dbw0_1552.trc:ORA-01157: cannot identify/lock data file 12 - see DBWR trace fileORA-01110: data file 12: 'C:\ORACLE... 阅读全文
posted @ 2012-04-12 09:37 DB&*NIX 阅读(481) 评论(0) 推荐(0) 编辑