<div dir="auto"><div dir="auto"></div>I had run into a similar issue. In my case, adding "LIMIT 500000" to my query fixed the speed issue (I had fewer than 500k rows). Looked like a bug in my opinion, but I didn't have time to investigate further (I think it was a gpkg).<div dir="auto"><br></div><div dir="auto">i-s-o</div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Wed, Jul 8, 2020, 10:29 Giovanni Manghi <<a href="mailto:giovanni.manghi@gmail.com" rel="noreferrer noreferrer" target="_blank">giovanni.manghi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
Has anyone noticed how slow the DB Manager SQL console is?<br>
<br>
It is not just a matter of slowness when returning (on screen) a lot<br>
of results, it is very slow even when issuing a query like:<br>
<br>
SELECT count(*) FROM mytable;<br>
<br>
I did a few quick tests and compared to other consoles (i.e. pgadmin,<br>
dbeaver, psql) and it is about 15/20 times slower.<br>
<br>
Any idea about the possible cause?<br>
<br>
cheers<br>
<br>
-- G --<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" rel="noreferrer noreferrer noreferrer" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div></div></div>