madmanwoo at gmail.com
Mon Jul 14 23:11:38 PDT 2014
Yeah I'm thinking it might just be slow for something like shapefile where
is there no index on that column and it has to get each value to find
ones. I'm not looking at the code, just guessing.
On Tue, Jul 15, 2014 at 4:09 PM, Jürgen E. <jef at norbit.de> wrote:
> Hi Nathan,
> On Tue, 15. Jul 2014 at 15:59:27 +1000, Nathan Woodrow wrote:
> > On Tue, Jul 15, 2014 at 3:57 PM, Jürgen E. <jef at norbit.de> wrote:
> > > On Tue, 15. Jul 2014 at 07:12:22 +0200, Paolo Cavallini wrote:
> > > > IMHO it should perform a quick LIMIT 10 query.
> > > Have you verified that is doesn't? Because that's what it used to do.
> > Seems it calls uniqueValues so if that takes a long time it will block.
> > Depends on the provider I guess.
> Of course. LIMIT 10 probably is meant for the postgres provider - and
> what it does already. The spatialite provider does too. The oracle
> limits with "rownum" and mssql uses "top". So unless there's something
> preventing the provider's uniqueValues to kick in, it's already there.
> Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
> Software Engineer D-26506 Norden
> QGIS release manager (PSC) Germany IRC: jef on FreeNode
> norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
> Rheinstrasse 13, 26506 Norden
> GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer