当前位置: 首页 > news >正文

小型网站制作做网站 超速云

小型网站制作,做网站 超速云,长春火车站电话人工服务,南通网站建设有限公司作者: 弦乐之花 | 可以转载, 但必须以超链接形式标明文章原始出处和作者信息及版权声明mysql innodb之select for update nowait习惯了oracle数据库的select for update nowait的同学#xff0c;如果转在mysql环境开发的话#xff0c;也许会不太适应——目前builtin版本的inn…作者: 弦乐之花 | 可以转载, 但必须以超链接形式标明文章原始出处和作者信息及版权声明mysql innodb之select for update nowait习惯了oracle数据库的select for update nowait的同学如果转在mysql环境开发的话也许会不太适应——目前builtin版本的innodb不支持nowait句法的。早在08年已经被作为bug提了出来(http://bugs.mysql.com/bug.php?id36285)。还好innodb plugin1.0.2开始支持bug文章里提及的session级innodb_lock_wait_timeout控制(http://dev.mysql.com/doc/innodb-plugin/1.0/en/innodb-other-changes-innodb_lock_wait_timeout.html)Before InnoDB Plugin 1.0.2, the only way to set this parameter was in the MySQL option file (my.cnf or my.ini), and changing it required shutting down and restarting the server. Beginning with the InnoDB Plugin 1.0.2, the configuration parameter innodb_lock_wait_timeout can be set at runtime with the SET GLOBAL or SET SESSION commands.该问题的回复[5 May 17:08] Bugs SystemPushed into 5.1.47 (revid:jorosun.com-20100505145753-ivlt4hclbrjy8eye) (version sourcerevid:vasil.dimovoracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46)(pib:16)[6 May 16:58] Paul DuBoisPush resulted from incorporation of InnoDB tree. No changes pertinent to this bug.Re-closing.看到该问题也是最终被close掉。值得一提的是目前看到的一些问题都说是5147做fixmysql51系列啥时候是个头50系列目前主流的是508X系列吧最近facebook发布了5084的补丁包而percona则已经发布了5190-b21版本oracle则磨刀霍霍向55系列。。。btw作为对select for update nowait的实现其实如果数据库实现不了其实应用做个超时控制就可以了把sql执行放到超时控制代码里具体情况要看开发语言了。测试:-- builtin innodbusertest 10:14:37set innodb_lock_wait_timeout1;ERROR 1238 (HY000): Variable innodb_lock_wait_timeout is a read only variable-- plugin innodb 1.0.7usersbtest 10:15:35select innodb_version;------------------| innodb_version |------------------| 1.0.7 |------------------1 row in set (0.00 sec)usersbtest 10:15:43set session innodb_lock_wait_timeout1;Query OK, 0 rows affected (0.00 sec)usersbtest 10:15:54show variables like innodb_lock_wait_timeout;---------------------------------| Variable_name | Value |---------------------------------| innodb_lock_wait_timeout | 1 |---------------------------------1 row in set (0.01 sec)usersbtest 10:16:02show global variables like innodb_lock_wait_timeout;---------------------------------| Variable_name | Value |---------------------------------| innodb_lock_wait_timeout | 15 |---------------------------------1 row in set (0.00 sec)
http://wiki.neutronadmin.com/news/121103/

相关文章:

  • 江门网站制作流程包头seo哪家专业
  • 万网网站模板购买石家庄最新状况
  • 律师微网站制作整站seo怎么做
  • 响应式网站的登录设置wordpress 最新
  • 网站集约化建设会议请示网站关键词描述
  • 一个网站可以有几个域名饮食网站模板
  • 杭州的网站设计个人简历模板免费下载网站
  • 高端网站开发培训wordpress中文手册pdf
  • 个人网站导航html源码福州模板建站哪家好
  • 百度建立网站需要花多少钱安阳网站建设_
  • 孝义网站开发wordpress 图片边框
  • 网站建设及上线流程做宣传网站需要多少钱
  • 网站出现搜索做博客网站什么空间好
  • 做分子生物实验常用网站seo自学网视频教程
  • 著名网站有哪些备案 增加网站
  • 企业网站最重要的访问对象是航达建设集团有限公司网站
  • 哪个网站可以做担保交易平台wordpress搜索小工具
  • 中国站长之家爱站网.net网站开发书
  • 网站改版报告订阅号可以做网站吗
  • 太原做网站公司哪家好优舟网站建设
  • 大连市房屋管理局官方网站大连旅顺旅游攻略
  • 用asp.net开发网站的优势合肥本地建网站
  • 艺术品电商网站开发北京丰台区做网站公司
  • 网站建设企业服务商北京营销型网站建站公司
  • 重庆免费网站建站模板事件营销的案例
  • 嘉兴网站制作案例荥阳做公司网站的公司
  • 个人建网站网站开发相关专业
  • 营销型网站商城国外网站域名
  • 福建鞋子做淘宝图片网站公司做网站可以用个人域名
  • 做图网站有哪些东西微软公司做网站的软件