<legend id='lcCnJ'><style id='lcCnJ'><dir id='lcCnJ'><q id='lcCnJ'></q></dir></style></legend>

  • <small id='lcCnJ'></small><noframes id='lcCnJ'>

      1. <i id='lcCnJ'><tr id='lcCnJ'><dt id='lcCnJ'><q id='lcCnJ'><span id='lcCnJ'><b id='lcCnJ'><form id='lcCnJ'><ins id='lcCnJ'></ins><ul id='lcCnJ'></ul><sub id='lcCnJ'></sub></form><legend id='lcCnJ'></legend><bdo id='lcCnJ'><pre id='lcCnJ'><center id='lcCnJ'></center></pre></bdo></b><th id='lcCnJ'></th></span></q></dt></tr></i><div id='lcCnJ'><tfoot id='lcCnJ'></tfoot><dl id='lcCnJ'><fieldset id='lcCnJ'></fieldset></dl></div>
        • <bdo id='lcCnJ'></bdo><ul id='lcCnJ'></ul>
        <tfoot id='lcCnJ'></tfoot>

        MyIsam 引擎事务支持

        时间:2023-05-23
          <tbody id='Dmp5q'></tbody>

          • <i id='Dmp5q'><tr id='Dmp5q'><dt id='Dmp5q'><q id='Dmp5q'><span id='Dmp5q'><b id='Dmp5q'><form id='Dmp5q'><ins id='Dmp5q'></ins><ul id='Dmp5q'></ul><sub id='Dmp5q'></sub></form><legend id='Dmp5q'></legend><bdo id='Dmp5q'><pre id='Dmp5q'><center id='Dmp5q'></center></pre></bdo></b><th id='Dmp5q'></th></span></q></dt></tr></i><div id='Dmp5q'><tfoot id='Dmp5q'></tfoot><dl id='Dmp5q'><fieldset id='Dmp5q'></fieldset></dl></div>
          • <tfoot id='Dmp5q'></tfoot>

              <small id='Dmp5q'></small><noframes id='Dmp5q'>

              <legend id='Dmp5q'><style id='Dmp5q'><dir id='Dmp5q'><q id='Dmp5q'></q></dir></style></legend>
              • <bdo id='Dmp5q'></bdo><ul id='Dmp5q'></ul>
                  本文介绍了MyIsam 引擎事务支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我正在 innoDB 表中测试事务支持,只是为了好奇我尝试在 MyIsam 表上运行相同的事务,令人惊讶的是它起作用了.我假设在 myIsam 表上的查询一个接一个地执行,而不是在一个原子操作中执行,并且我没有从 START TRANSACTION 和 COMMIT 以及 ROLLBACK 操作中得到任何错误.我很感兴趣,MyIsam 引擎是忽略了这个操作还是执行了一些操作?

                  I was testing transaction support in innoDB tables, and just for the curriosity I tried to run the same transaction on MyIsam table, and surprisingly it worked. I am assuming that on myIsam table queries are executed one after another not in one atomic operation and I don't get any errors from START TRANSACTION and COMMIT and ROLLBACK operations. I am interested, is MyIsam engine just ignoring this operations or does it perform some actions?

                  推荐答案

                  MyISAM 在自动提交模式下有效工作(因为它不是事务引擎),它只是忽略提交/回滚.

                  MyISAM effectively works in auto-commit mode (as it's not a transactional engine), and it just ignores the commit/rollback.

                  实际上存储引擎是MySQL架构中的一个不同层,与SQL解析器分离,SQL层通过底层API与存储引擎通信,这就是为什么有一个通用的SQL和引擎,支持不同的子集的特色.您可以在此处

                  Actually storage engine is a different layer in the MySQL architecture, separated from the SQL parser, the SQL layer communicates to the storage engine with lower-level API, and that's the reason there is a common SQL and engines, supporting different subset of featured. You can see very high-level overview of the architecture here

                  这篇关于MyIsam 引擎事务支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:使用分隔符提取 MySQL 子串 下一篇:Mysql插入2个表

                  相关文章

                    <i id='NNFEr'><tr id='NNFEr'><dt id='NNFEr'><q id='NNFEr'><span id='NNFEr'><b id='NNFEr'><form id='NNFEr'><ins id='NNFEr'></ins><ul id='NNFEr'></ul><sub id='NNFEr'></sub></form><legend id='NNFEr'></legend><bdo id='NNFEr'><pre id='NNFEr'><center id='NNFEr'></center></pre></bdo></b><th id='NNFEr'></th></span></q></dt></tr></i><div id='NNFEr'><tfoot id='NNFEr'></tfoot><dl id='NNFEr'><fieldset id='NNFEr'></fieldset></dl></div>
                        <bdo id='NNFEr'></bdo><ul id='NNFEr'></ul>
                    1. <small id='NNFEr'></small><noframes id='NNFEr'>

                    2. <tfoot id='NNFEr'></tfoot>

                      <legend id='NNFEr'><style id='NNFEr'><dir id='NNFEr'><q id='NNFEr'></q></dir></style></legend>