|
最初由 Yong Huang 发布
[B]
They're two different things. Checkpoint SCN should always lag behind the latest SCN in the database. If you alter system checkpoint and immediately run your two queries, they should differ less, but still checkpoint SCN is smaller.
Yong Huang [/B]
[php]
sys@DBAP01> select max(ktuxescnw*power(2,32)+ktuxescnb) from x$ktuxe;
MAX(KTUXESCNW*POWER(2,32)+KTUX
------------------------------
52211024
已用时间: 00: 00: 00.00
sys@DBAP01> alter system checkpoint;
系统已更改。
已用时间: 00: 00: 00.06
sys@DBAP01> select CHECKPOINT_CHANGE# from v$database;
CHECKPOINT_CHANGE#
------------------
52211055
已用时间: 00: 00: 00.00
sys@DBAP01> select max(ktuxescnw*power(2,32)+ktuxescnb) from x$ktuxe;
MAX(KTUXESCNW*POWER(2,32)+KTUX
------------------------------
52211053
已用时间: 00: 00: 00.00
sys@DBAP01>
[/php] |
|