mysql is free lock_MySQL表,莫名被lock

下午发现MySQL,show processlist 发现大量的 waiting for table flush 的select等待操作。

但并没有用户进行lock table的操作。

执行unlock tables后恢复正常。

求解!

error log 发现以下的信息:

Current dir: /data0/mysql/3306/data/

Running threads: 7  Stack size: 196608

Current locks:

lock: 0x2392c410:

lock: 0x239bfe60:

-- 省略N多

lock: 0x2aab5433e3f0:

lock: 0x23926a20:

Key caches:

default

Buffer_size:     268435456

Block_size:           1024

Division_limit:        100

Age_limit:             300

blocks used:            20

not flushed:             0

w_requests:              6

writes:                  6

r_requests:          11774

reads:                  25

handler status:

read_key:     50621628

read_next:   105048552

read_rnd       2053894

read_first:      23079

write:         1252821

delete            2433

update:          61907

Thread database.table_name          Locked/Waiting        Lock_type

1609    表名 Locked - read         Low priority read lock

1609    表名  Locked - read         Low priority read lock

1609    表名    Locked - read         Low priority read lock

72631   表名   Locked - read         Low priority read lock

120409 17:08:25 [Warning] 'user' entry 'root@ ignored in --skip-name-resolve mode.

Memory status:

Non-mmapped space allocated from system: 117252096

Number of free chunks:                   403

Number of fastbin blocks:                0

Number of mmapped regions:               18

Space in mmapped regions:                384720896

Maximum total allocated space:           0

Space available in freed fastbin blocks: 0

Total allocated space:                   84076496

Total free space:                        33175600

Top-most, releasable space:              28180384

Estimated memory (with thread stack):    503349248

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值