mysql 社区版 innodb_问一个mysql的innodb问题

mysql> show engine innodb status \G

*************************** 1. row ***************************

Type: InnoDB

Name:

Status:

=====================================

120502 11:04:25 INNODB MONITOR OUTPUT

=====================================

Per second averages calculated from the last 8 seconds

-----------------

BACKGROUND THREAD

-----------------

srv_master_thread loops: 290 1_second, 289 sleeps, 26 10_second, 20 background, 20 flush

srv_master_thread log flush and writes: 289

----------

SEMAPHORES

----------

OS WAIT ARRAY INFO: reservation count 9, signal count 9

Mutex spin waits 4, rounds 120, OS waits 1

RW-shared spins 8, rounds 240, OS waits 8

RW-excl spins 0, rounds 0, OS waits 0

Spin rounds per wait: 30.00 mutex, 30.00 RW-shared, 0.00 RW-excl

------------

TRANSACTIONS

------------

Trx id counter 24BD6

Purge done for trx's n:o < 24BD2 undo n:o < 0

History list length 608

LIST OF TRANSACTIONS FOR EACH SESSION:

---TRANSACTION 0, not started

MySQL thread id 27, OS thread handle 0x4a48a940, query id 12421 localhost root

show engine innodb status

---TRANSACTION 24BB3, not started

MySQL thread id 78, OS thread handle 0x4a859940, query id 12187 192.168.8.60 app

---TRANSACTION 24BB6, not started

MySQL thread id 76, OS thread handle 0x4a7d7940, query id 12199 192.168.8.61 app

---TRANSACTION 24BBB, not started

MySQL thread id 77, OS thread handle 0x4a818940, query id 12227 192.168.8.58 app

---TRANSACTION 24BC8, not started

MySQL thread id 75, OS thread handle 0x4a796940, query id 12315 192.168.8.59 app

---TRANSACTION 24BD4, not started

MySQL thread id 74, OS thread handle 0x4a755940, query id 12396 192.168.8.56 app

---TRANSACTION 24BCA, not started

MySQL thread id 73, OS thread handle 0x4a714940, query id 12343 192.168.8.53 app

---TRANSACTION 24B89, not started

MySQL thread id 72, OS thread handle 0x4a692940, query id 11957 192.168.8.56 app

---TRANSACTION 24B90, not started

MySQL thread id 71, OS thread handle 0x4a610940, query id 12026 192.168.8.60 app

---TRANSACTION 24B8C, not started

MySQL thread id 70, OS thread handle 0x4a651940, query id 11994 192.168.8.58 app

---TRANSACTION 24BCE, not started

MySQL thread id 69, OS thread handle 0x4a6d3940, query id 12360 192.168.8.21 app

---TRANSACTION 24B82, not started

MySQL thread id 33, OS thread handle 0x4a5cf940, query id 11904 192.168.8.55 app

---TRANSACTION 24BA4, not started

MySQL thread id 32, OS thread handle 0x4a58e940, query id 12129 192.168.8.52 app

---TRANSACTION 24BA8, not started

MySQL thread id 30, OS thread handle 0x4a50c940, query id 12142 192.168.8.57 app

---TRANSACTION 24BD5, not started

MySQL thread id 29, OS thread handle 0x4a4cb940, query id 12400 192.168.8.54 app

---TRANSACTION 24B3F, not started

MySQL thread id 31, OS thread handle 0x4a54d940, query id 549 192.168.8.57 app

---TRANSACTION 24B51, not started

MySQL thread id 21, OS thread handle 0x4a304940, query id 11642 192.168.8.21 app

---TRANSACTION 24B3D, not started

MySQL thread id 20, OS thread handle 0x4a2c3940, query id 526 192.168.8.54 app

---TRANSACTION 24B42, not started

MySQL thread id 19, OS thread handle 0x4a282940, query id 577 192.168.8.55 app

---TRANSACTION 24B88, not started

MySQL thread id 18, OS thread handle 0x4a241940, query id 11948 192.168.8.53 app

---TRANSACTION 24B8E, not started

MySQL thread id 17, OS thread handle 0x4a200940, query id 12005 192.168.8.59 app

---TRANSACTION 24BD3, not started

MySQL thread id 2, OS thread handle 0x49e31940, query id 12381 192.168.8.52 app

---TRANSACTION 24B8D, not started

MySQL thread id 1, OS thread handle 0x49df0940, query id 11996 192.168.8.61 app

--------

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 (read thread)

I/O thread 4 state: waiting for i/o request (read thread)

I/O thread 5 state: waiting for i/o request (read thread)

I/O thread 6 state: waiting for i/o request (write thread)

I/O thread 7 state: waiting for i/o request (write thread)

I/O thread 8 state: waiting for i/o request (write thread)

I/O thread 9 state: waiting for i/o request (write thread)

Pending normal aio reads: 0 [0, 0, 0, 0] , aio writes: 0 [0, 0, 0, 0] ,

ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0

Pending flushes (fsync) log: 0; buffer pool: 0

1500 OS file reads, 58 OS file writes, 34 OS fsyncs

0.00 reads/s, 0 avg bytes/read, 0.00 writes/s, 0.00 fsyncs/s

-------------------------------------

INSERT BUFFER AND ADAPTIVE HASH INDEX

-------------------------------------

Ibuf: size 1, free list len 0, seg size 2, 0 merges

merged operations:

insert 0, delete mark 0, delete 0

discarded operations:

insert 0, delete mark 0, delete 0

Hash table size 42499631, node heap has 0 buffer(s)

0.00 hash searches/s, 0.00 non-hash searches/s

---

LOG

---

Log sequence number 56306864

Log flushed up to   56306864

Last checkpoint at  56306864

0 pending log writes, 0 pending chkp writes

33 log i/o's done, 0.00 log i/o's/second

----------------------

BUFFER POOL AND MEMORY

----------------------

Total memory allocated 21978152960; in additional pool allocated 0

Dictionary memory allocated 121521

Buffer pool size   1310719

Free buffers       1309249

Database pages     1470

Old database pages 562

Modified db pages  0

Pending reads 0

Pending writes: LRU 0, flush list 0, single page 0

Pages made young 0, not young 0

0.00 youngs/s, 0.00 non-youngs/s

Pages read 1470, created 0, written 24

0.00 reads/s, 0.00 creates/s, 0.00 writes/s

No buffer pool page gets since the last printout

Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s

LRU len: 1470, unzip_LRU len: 0

I/O sum[0]:cur[0], unzip sum[0]:cur[0]

--------------

ROW OPERATIONS

--------------

0 queries inside InnoDB, 0 queries in queue

1 read views open inside InnoDB

Main thread process no. 5432, id 1207617856, state: sleeping

Number of rows inserted 0, updated 6, deleted 0, read 30546

0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s

----------------------------

END OF INNODB MONITOR OUTPUT

============================

1 row in set (0.00 sec)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值