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

        <legend id='RZa4u'><style id='RZa4u'><dir id='RZa4u'><q id='RZa4u'></q></dir></style></legend>
        • <bdo id='RZa4u'></bdo><ul id='RZa4u'></ul>
      1. <small id='RZa4u'></small><noframes id='RZa4u'>

      2. phpmyadmin 在查询时冻结,db 太大?

        时间:2023-10-11

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

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

            • <tfoot id='Xo7BZ'></tfoot>
                <bdo id='Xo7BZ'></bdo><ul id='Xo7BZ'></ul>

                    <tbody id='Xo7BZ'></tbody>
                  <i id='Xo7BZ'><tr id='Xo7BZ'><dt id='Xo7BZ'><q id='Xo7BZ'><span id='Xo7BZ'><b id='Xo7BZ'><form id='Xo7BZ'><ins id='Xo7BZ'></ins><ul id='Xo7BZ'></ul><sub id='Xo7BZ'></sub></form><legend id='Xo7BZ'></legend><bdo id='Xo7BZ'><pre id='Xo7BZ'><center id='Xo7BZ'></center></pre></bdo></b><th id='Xo7BZ'></th></span></q></dt></tr></i><div id='Xo7BZ'><tfoot id='Xo7BZ'></tfoot><dl id='Xo7BZ'><fieldset id='Xo7BZ'></fieldset></dl></div>
                  本文介绍了phpmyadmin 在查询时冻结,db 太大?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有两张桌子(一张有 33k 行,另一个有 7k 行).我想比较两个表并删除两个 id 不匹配的行.但是当我发送查询时,它会冻结 phpmyadmin.桌子会不会太大了?

                  I got two tables (one with 33k rows and another with 7k rows). I want to compare the two tables and delete the rows in which the two id's dont match. But when i send off the query, it freezes phpmyadmin. Could the tables be too big?

                  SELECT * FROM likes LEFT OUTER JOIN uploads on likes.upload_id = uploads.upload_id WHERE uploads.upload_id IS NULL 
                  

                  我知道数据库要处理数百万的数据,所以我不确定错误在哪里.

                  I know databases are meant to handle millions of data, so i'm not sure where the error lies.

                  最好的问候,马蒂亚斯

                  推荐答案

                  我会做一个解释,这样你就可以看到 mysql 做了什么.这将很好地表明使用了多少行.

                  I would do an explain so you can see what mysql does. This would give a good indication on what how many rows are used.

                  EXPLAIN SELECT * FROM likes LEFT OUTER JOIN uploads on likes.upload_id = uploads.upload_id WHERE uploads.upload_id IS NULL
                  

                  您还可以使用其他浏览器或其他会话来使用 show processlist 查看查询的执行方式.

                  you could also use another browser or another session to use show processlist to see how the query is executed.

                  这篇关于phpmyadmin 在查询时冻结,db 太大?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:无法编辑 config.inc.php 下一篇:更改 documentroot 后,xampp 仍然使用默认的 phpmyadmin

                  相关文章

                1. <tfoot id='eQeMF'></tfoot>

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

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

                    1. <legend id='eQeMF'><style id='eQeMF'><dir id='eQeMF'><q id='eQeMF'></q></dir></style></legend>