Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

alter database flush buffer_cache seem not working!

871977Jun 6 2012 — edited Jun 10 2012
Hi all,

SQL> create tablespace test datafile '/u01/test.dbf' size 1m;

Tablespace created.

SQL> create table test tablespace test as select * from hr.employees;

Table created.

SQL>
SQL>
SQL> select count(*) from test;

COUNT(*)
----------
107

SQL> !rm /u01/test.dbf

SQL> !ls /u01/test.dbf
ls: /u01/test.dbf: No such file or directory

SQL> alter system flush buffer_cache;


System altered.

SQL> SQL>
SQL> select count(*) from test;

COUNT(*)
----------
107

SQL>

Why my flush buffer_cache does not take affect?

Thank you!
Dan.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 8 2012
Added on Jun 6 2012
31 comments
2,129 views