Bug report #977

Ineffective adding of features in Postgres provider

Added by Martin Dobias over 12 years ago. Updated over 11 years ago.

Status:Closed
Priority:Low
Assignee:Jürgen Fischer
Category:Data Provider
Affected QGIS version: Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:11036

Description

addFeatures() function in Postgres provider works by adding one feature after other in separate queries. With greater amount of features to add this actions takes quite long time (reported that 3000 features with 35 columns lasts about 10 minutes).

When adding all features at once, the most of the time could be saved.

History

#1 Updated by Jürgen Fischer over 12 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

#2 Updated by Jürgen Fischer over 12 years ago

fixed in 2ea7615b (SVN r8214)

#3 Updated by Anonymous over 11 years ago

Milestone Version 1.0.0 deleted

Also available in: Atom PDF