diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-11-09 10:54:41 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-11-09 10:54:41 +0200 |
commit | d326d9e8ea1d690cf6d968000efaa5121206d231 (patch) | |
tree | 861237f4028e9c8f1d1aba2045a97195867cb5b8 /src/tutorial/basics.source | |
parent | 2c30f96103c320d4e3c8cab2807d88476f584278 (diff) | |
download | postgresql-d326d9e8ea1d690cf6d968000efaa5121206d231.tar.gz postgresql-d326d9e8ea1d690cf6d968000efaa5121206d231.zip |
In COPY, insert tuples to the heap in batches.
This greatly reduces the WAL volume, especially when the table is narrow.
The overhead of locking the heap page is also reduced. Reduced WAL traffic
also makes it scale a lot better, if you run multiple COPY processes at
the same time.
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions