<div dir="ltr">I'm using QGIS Lyon (2.12.0) to access an Oracle 11.2 database on a remote site. Although it's a bit slow, it works fine.<div><br></div><div>However if I turn on "Show Feature Count", QGIS hangs for about 50 seconds before it comes back with the count. And when I subsequently open the project again there's a similar delay while it updates the feature count.</div><div><br></div><div>Looking at the debug logs, it appears that QGIS is doing the count by reading in each feature in turn, which not surprisingly is slow for a remote database.</div><div><br></div><div>Why doesn't QGIS just do "select count(*) ...", which would be much faster?</div><div><br></div><div>Steve Pritchard<br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">UK</div></div></div></div></div></div>
</div></div>