Description:
Reported by Peter Zaitsev.
There is redundant printout below:
Ibuf for space 0: size 1, free list len 42, seg size 44, is empty
Ibuf for space 0: size 1, free list len 42, seg size 44,
0 inserts, 0 merged recs, 0 merges
Full printout:
mysql> show innodb status\G
*************************** 1. row ***************************
Status:
=====================================
060718 15:33:01 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 2 seconds
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 14, signal count 14
Mutex spin waits 18, rounds 240, OS waits 6
RW-shared spins 12, OS waits 6; RW-excl spins 2, OS waits 2
------------
TRANSACTIONS
------------
Trx id counter 0 260570
Purge done for trx's n:o < 0 242314 undo n:o < 0 0
History list length 4169
Total number of lock structs in row lock hash table 0
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 0 0, not started, process no 31929, OS thread id 1201638320
MySQL thread id 7, query id 291427 localhost heikki
show innodb status
---TRANSACTION 0 260568, not started, process no 31929, OS thread id 1201834928
MySQL thread id 6, query id 291426 localhost heikki
select * from ibtest10c, ibtest10d where ibtest10c.a = ibtest10d.a
--------
FILE I/O
--------
I/O thread 0 state: waiting for i/o request (insert buffer thread)
I/O thread 1 state: waiting for i/o request (log thread)
I/O thread 2 state: waiting for i/o request (read thread)
I/O thread 3 state: waiting for i/o request (write thread)
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: 0
69 OS file reads, 27009 OS file writes, 27004 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 912.54 writes/s, 912.54 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf for space 0: size 1, free list len 42, seg size 44, is empty
Ibuf for space 0: size 1, free list len 42, seg size 44,
0 inserts, 0 merged recs, 0 merges
Hash table size 34679, used cells 2, node heap has 1 buffer(s)
1093.95 hash searches/s, 0.00 non-hash searches/s
---
LOG
---
Log sequence number 0 504811116
Log flushed up to 0 504811116
Last checkpoint at 0 498878760
0 pending log writes, 0 pending chkp writes
26997 log i/o's done, 912.54 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total memory allocated 18324931; in additional pool allocated 1048448
Buffer pool size 512
Free buffers 260
Database pages 251
Modified db pages 174
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages read 62, created 189, written 35
0.00 reads/s, 8.50 creates/s, 0.00 writes/s
Buffer pool hit rate 1000 / 1000
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
1 read views open inside InnoDB
Main thread process no. 31929, id 1192852400, state: sleeping
Number of rows inserted 10792, updated 0, deleted 10791, read 43203
364.82 inserts/s, 0.00 updates/s, 364.32 deletes/s, 1458.77 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================
How to repeat:
Run SHOW INNODB STATUS
Suggested fix:
Remove renundant prints. The insert/delete buffer is only contained in tablespace 0.