[Qgis-user] QGis checks uniqueness of primary key on startup

Florian Lohoff f at zz.de
Tue May 20 05:17:23 PDT 2014


On Tue, May 20, 2014 at 11:55:51AM +0000, Andreas Neumann wrote:
> I agree - you have to put scale constraints in the symbology of an
> address table with 20 million records. Displaying all at once wouldn't
> make any sense. Most likely, every pixel of your screen would be covered
> if you want to display them all.

I have - I dont expect 20 Million object to be rendered :) 

> On our cadastral map with only a couple thousand of address points we
> display house numbers from scale 2000 - otherwise you would have too
> many labels and the map gets illegible.

Thats not my problem - even on start at a scale of 1:8000 QGis does
a full table scan on that table to check for uniqueness of the key.

It does so twice by the way - once to check for uniqueness, once
to do an st_extent on the geometry ...

Flo
-- 
Florian Lohoff                                                 f at zz.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140520/327dcfc4/attachment.sig>


More information about the Qgis-user mailing list