disk access and DB2# Database - 数据库
M*y
1 楼
Hi there,
I am performing a very simple experiment with DB2.
The query is: select count(*) from table1
I am interested in the disk I/O activities.
Is there any way to ensure disk access? I.E. to clear
the database's cache. The 2nd (and later)run is lightening fast, presumably no
disk access.
I've tried
1. db2stop, clear the OS cache, db2start
2. select * from some large junk tables and then repeat 1.
The query still runs very fast.
Thank you in advance.
cha
I am performing a very simple experiment with DB2.
The query is: select count(*) from table1
I am interested in the disk I/O activities.
Is there any way to ensure disk access? I.E. to clear
the database's cache. The 2nd (and later)run is lightening fast, presumably no
disk access.
I've tried
1. db2stop, clear the OS cache, db2start
2. select * from some large junk tables and then repeat 1.
The query still runs very fast.
Thank you in advance.
cha