<div dir="ltr">Hi All,<br><div><br></div><div>Just to get this out the way... <b>I don't believe this is a problem with the primary key or its index. </b></div><div><br></div><div>I have a postgis datasource with approx 3 million features (road segments). Yep, lot-a-data.</div><div><br></div><div>The rendering performance is ok & visible @ 1:50,000+ . Takes a few seconds but hey, it's a lot of data and certainly not disappointing.</div><div><br></div><div>However, severe performance problems are seen whenever I am trying to work with anything related to attribution, such as "Open Attribute Table" or "modify the selected features or all attributes simultaneously". We're talking around 10 minutes of "<i>Not Responding</i>".</div><div><br></div><div>Note: I have altered the QGIS "<i>Settings -> Options -> Data Sources -> Feature Attributes and Tables</i>"    so that "<i>Show selected features</i>" is now the default attribute table behaviour. So <u>hopefully</u>, this doesn't attempt to load all 3million features.</div><div><br></div><div>Can anyone offer any guidance as to what I might be able to do to track down this issue (or just fix it)? For reference, we are trying to put together a simple editor that will allow a user to browse, select (road segment) features, and edit a single text attribute value on all selected features only. Fairly simple, but the UI elements we need appear to be in a world of pain.</div><div><br></div><div>Thanks in advance,</div><div>Andrew</div><div><br></div><div><br></div></div>