V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
MySQL 5.5 Community Server
MySQL 5.6 Community Server
Percona Configuration Wizard
XtraBackup 搭建主从复制
Great Sites on MySQL
Percona
MySQL Performance Blog
Severalnines
推荐管理工具
Sequel Pro
phpMyAdmin
推荐书目
MySQL Cookbook
MySQL 相关项目
MariaDB
Drizzle
参考文档
http://mysql-python.sourceforge.net/MySQLdb.html
cc959798
V2EX  ›  MySQL

mysql 有事务的超时时间吗

  •  
  •   cc959798 · 2018-11-11 11:40:07 +08:00 · 3921 次点击
    这是一个创建于 1964 天前的主题,其中的信息可能已经有所发展或是发生改变。

    查到了有回话时间,但是有事务的超时时间吗?比如说一个事务执行了很长时间,connect 超时了,断开连接了,但是事务还在 mysql 执行着,久而久之,这种请求多了 mysql 就会被拖垮

    2 条回复    2018-11-11 13:49:57 +08:00
    littlewing
        1
    littlewing  
       2018-11-11 11:53:56 +08:00
    session 断了事物会 rollback 的吧
    mattx
        2
    mattx  
       2018-11-11 13:49:57 +08:00 via iPhone
    可以做下试验,
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3151 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 12:20 · PVG 20:20 · LAX 05:20 · JFK 08:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.