-
Recent Posts
Recent Comments
- yangtingkun on 非空字段空值对查询的影响
- Eric Zong on 非空字段空值对查询的影响
- Kamus on Oracle Ace Director
- 设置全局死锁优先级 | yangtingkun on RAC全局死锁检测时间
- ORA-600(krbounotread_noctx)错误 | yangtingkun on ORA-600(krboReadBitmap_badbitmap)错误
Archives
- December 2020
- February 2019
- December 2018
- November 2018
- October 2018
- July 2018
- June 2018
- May 2018
- July 2016
- July 2013
- June 2013
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
Categories
Meta
Tag Archives: scn
调高SCN的方法
有的时候出于恢复或其他目的的需要,需要将现有的SCN提升。 在10g以前,一般使用event的方式: SQL> ALTER SESSION SET events ‘10015 trace name adjust_scn level 1’; SESSION altered.SQL> alter session set events ‘10015 trace name adjust_scn level 1’; Session altered. 在MOUNT状态下运行上面的SQL,可以根据调整SCN的需要设置不同的LEVEL。此外还存在类似的方法: ALTER system SET events ‘immediate trace name adjust_scn level 10;alter system set … Continue reading
通过数据库链查询会导致源和目标库SCN同步
在通过数据库链执行跨数据库的查询时,Oracle会自动将两个数据库的SCN进行同步。 以前Eygle提到过这个问题,这次在讨论一个和远端数据库SCN有关的问题时,又碰到了这个问题,于是简单记录一下。 SQL> conn test/test@192.168.0.19:1666/ora102044 Connected. SQL> SELECT current_scn FROM v$database; CURRENT_SCN ———– 2745758 SQL> conn test/test@192.168.0.20:15210/orcl Connected. SQL> SELECT current_scn FROM v$database; CURRENT_SCN ———– 5642527 SQL> CREATE DATABASE link ora102044 2 CONNECT TO test 3 IDENTIFIED BY test 4 … Continue reading