深圳全飞鸿

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 578|回复: 1
打印 上一主题 下一主题

Lock wait timeout exceeded; try restarting transaction

[复制链接]

800

主题

1379

帖子

7725

积分

版主

Rank: 7Rank: 7Rank: 7

积分
7725
跳转到指定楼层
楼主
发表于 2020-8-3 20:09:49 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式


Lock wait timeout exceeded; try restarting transaction


SHOW ENGINE INNODB STATUS ;




=====================================
200803 20:09:28 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 15 seconds
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 17, signal count 17
Mutex spin waits 0, rounds 0, OS waits 0
RW-shared spins 34, OS waits 17; RW-excl spins 0, OS waits 0
------------
TRANSACTIONS
------------
Trx id counter 0 182086
Purge done for trx's n < 0 181607 undo n < 0 0
History list length 15
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 0 182082, not started, OS thread id 4812
MySQL thread id 20, query id 1651 20160925-1718 192.168.111.130 root
---TRANSACTION 0 182085, not started, OS thread id 488
MySQL thread id 10, query id 1663 localhost 127.0.0.1 root
SHOW ENGINE INNODB STATUS
---TRANSACTION 0 182047, ACTIVE 3818 sec, OS thread id 2452
2 lock struct(s), heap size 368, 1 row lock(s), undo log entries 236
MySQL thread id 13, query id 1405 20160925-1718 192.168.111.130 root
--------
FILE I/O
--------
I/O thread 0 state: wait Windows aio (insert buffer thread)
I/O thread 1 state: wait Windows aio (log thread)
I/O thread 2 state: wait Windows aio (read thread)
I/O thread 3 state: wait Windows aio (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
3795 OS file reads, 181 OS file writes, 87 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 627, seg size 629,
0 inserts, 0 merged recs, 0 merges
Hash table size 188953, node heap has 3 buffer(s)
0.00 hash searches/s, 0.00 non-hash searches/s
---
LOG
---
Log sequence number 3 401215861
Log flushed up to   3 401215861
Last checkpoint at  3 401215861
0 pending log writes, 0 pending chkp writes
42 log i/o's done, 0.00 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total memory allocated 114035744; in additional pool allocated 2097152
Dictionary memory allocated 1721160
Buffer pool size   5824
Free buffers       2838
Database pages     2983
Modified db pages  0
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages read 2973, created 10, written 123
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
No buffer pool page gets since the last printout
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
1 read views open inside InnoDB
Main thread id 3428, state: waiting for server activity
Number of rows inserted 1888, updated 0, deleted 0, read 61956
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================
回复

使用道具 举报

800

主题

1379

帖子

7725

积分

版主

Rank: 7Rank: 7Rank: 7

积分
7725
沙发
 楼主| 发表于 2021-1-26 21:53:05 | 只看该作者
---TRANSACTION 0 182047, ACTIVE 3818 sec, OS thread id 2452
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|nagomes  

GMT+8, 2025-6-29 22:22 , Processed in 0.053392 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表