pgsql: Further hacking on performance of COPY OUT.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Further hacking on performance of COPY OUT.
Date: 2006-05-26 22:50:02
Message-ID: 20060526225002.3EF559FA2CB@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Further hacking on performance of COPY OUT. It seems that fwrite()'s
per-call overhead is quite significant, at least on Linux: whatever
it's doing is more than just shoving the bytes into a buffer. Buffering
the data so we can call fwrite() just once per row seems to be a win.

Modified Files:
--------------
pgsql/src/backend/commands:
copy.c (r1.265 -> r1.266)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/copy.c.diff?r1=1.265&r2=1.266)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2006-05-26 23:48:54 pgsql: Use E'' strings internally only when standard_conforming_strings
Previous Message User Cmaj 2006-05-26 22:34:22 pgaccess - pgaccess: allow dropping a rule from the main window