Obsfly

Feature · /deadlock-detection

死锁检测

当 Postgres 卡住时,10 秒内知道为什么。

In one line

捕获每一次死锁,附完整锁链上下文、调用栈和修复建议。

What you get

  • Postgres: pg_locks + pg_stat_activity sampled at 1 Hz, deadlock_timeout messages parsed from logs
  • MySQL: SHOW ENGINE INNODB STATUS deadlock section parsed
  • MongoDB: deadlock-equivalent (write conflicts) detected via currentOp
  • Lock chain visualization showing every session in the cycle
  • Per-deadlock playbook: shortest-path remediation suggestions
  • Alert webhook within 30s of detection

FAQ

How is this different from just reading the Postgres log?+

We correlate the deadlock log line with the live activity sample 1s before, so you see exactly what every session was doing — including queries from sessions not mentioned in the log line.

Related reading

· · ·

像监控服务一样监控你的数据库。

预约 30 分钟演示。我们一起规划你的数据库规模,并报出第一个 30 天合作的报价。

死锁检测 for Postgres, MySQL, MongoDB & more · Obsfly