|
I tried on a 10g box. It is a bit different. Maybe "alter system checkpoint" itself causes xcur increase. But immediately after flush, there is still '1' xcur while in my 9i test there was no xcur.
SQL> startup
ORACLE instance started.
Total System Global Area 335544320 bytes
Fixed Size 1219304 bytes
Variable Size 213910808 bytes
Database Buffers 117440512 bytes
Redo Buffers 2973696 bytes
Database mounted.
Database opened.
SQL> SQL> select status,count(*) from v$bh group by status;
STATUS COUNT(*)
------- ----------
xcur 3891
free 63
read 1
cr 140
SQL> alter system checkpoint;
System altered.
SQL> select status,count(*) from v$bh group by status;
STATUS COUNT(*)
------- ----------
xcur 9705
free 63
cr 638
SQL> alter system flush cache;
alter system flush cache
*
ERROR at line 1:
ORA-02000: missing SHARED_POOL/BUFFER_CACHE/GLOBAL CONTEXT keyword
SQL> alter system set events 'immediate trace name flush_cache';
System altered.
SQL> select status,count(*) from v$bh group by status;
STATUS COUNT(*)
------- ----------
xcur 1
free 10405
SQL> /
STATUS COUNT(*)
------- ----------
xcur 1
free 10405
SQL> alter system checkpoint;
System altered.
SQL> select status,count(*) from v$bh group by status;
STATUS COUNT(*)
------- ----------
xcur 67
free 10339
SQL> select count(*) from all_tables;
COUNT(*)
----------
1583
SQL> select status,count(*) from v$bh group by status;
STATUS COUNT(*)
------- ----------
xcur 1739
free 8667
SQL> |
|