Re: Innodb unexplained IOs
Posted by:
Bob Bankay
Date: January 24, 2005 05:40PM
Hello Heikki,
Thanks for responding. I am not sure what to give to answer your request. Here is the full statistics from mytop -I with no threads running against the db except mytop -s 15. Not sure why all the reads and writes and being done.
--------
FILE I/O
--------
I/O thread 0 state: waiting for i/o request
I/O thread 1 state: waiting for i/o request
I/O thread 2 state: waiting for i/o request
I/O thread 3 state: waiting for i/o request
Pending normal aio reads: 0, aio writes: 0,
ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0
Pending flushes (fsync) log: 0; buffer pool: 1
1379195 OS file reads, 348491 OS file writes, 22789 OS fsyncs
32.62 reads/s, 17765 avg bytes/read, 6.50 writes/s, 0.12 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf for space 0: size 2044, free list len 6473, seg size 8518,
197333 inserts, 167667 merged recs, 17805 merges
Hash table size 2407309, used cells 762889, node heap has 1354 buffer(s)
88.93 hash searches/s, 200.42 non-hash searches/s
---
LOG
---
Log sequence number 79 484869657
Log flushed up to 79 484865994
Last checkpoint at 79 126098883
0 pending log writes, 0 pending chkp writes
788 log i/o's done, 0.07 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total memory allocated 1374430676; in additional pool allocated 3865856
Buffer pool size 74240
Free buffers 118
Database pages 72768
Modified db pages 16070
Pending reads 1
Pending writes: LRU 0, flush list 0, single page 0
Pages read 1780214, created 14995, written 393425
37.53 reads/s, 0.00 creates/s, 7.93 writes/s
Buffer pool hit rate 979 / 1000
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
Main thread id 8, state: purging
Number of rows inserted 51845, updated 487183, deleted 56, read 25857788
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================
Here is the other page from mytop showing zero queries:*******************
MySQL on localhost (4.0.13-max-log) up 0+05:41:08 [15:37:43]
Queries: 2.4M qps: 125 Slow: 2.9k Se/In/Up/De(%): 74/01/22/00
qps now: 0 Slow qps: 0.0 Threads: 68 ( 1/ 32) 00/00/00/00
Cache Hits: 705.8k Hits/s: 35.3 Hits now: 0.0 Ratio: 38.1% Ratio now: 0.0%
Key Efficiency: 99.5% Bps in/out: 21.1k/179.0k Now in/out: 1.7/871.7
Id User Host/IP DB Time Cmd Query or State -- ---- ------- -- ---- --- ----------
1 root localhost test 0 Query show full processli