pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathandbossart@gmail.com>
To: Ayoub Kazar <ayoub.kazar@data-bene.io>
Cc: KAZAR Ayoub <ma_kazar@esi.dz>
Cc: Andres Freund <andres@anarazel.de>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Cc: Neil Conway <neil.conway@gmail.com>
Cc: Manni Wood <manni.wood@enterprisedb.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Shinya Kato <shinya11.kato@gmail.com>
Cc: Mark Wong <markwkm@gmail.com>
Cc: Nazir Bilal Yavuz <byavuz81@gmail.com>
Subject: Re: Speed up COPY TO text/CSV parsing using SIMD
Date: Thu, 3 Sep 2026 13:21:24 -0500
Message-ID: <apm6pILzsNF8lJBy@nathan> (raw)
In-Reply-To: <777bc2f5-957e-4c8b-9f63-1d54e1f1bc3d@data-bene.io>
References: <abBuKalOno33MQFw@nathan>
	<CA+K2Rum7+Jm2rm65K5msxaiAM8QTkhSNAYarPBP9O7nBXYo12Q@mail.gmail.com>
	<abmiNPQOqBrRlf_m@nathan>
	<CA+K2Rum-TB_iNzDWoXOJspf=jq0gd-wees8+9tBTJNyhy9cK5g@mail.gmail.com>
	<CA+K2Ru=PdZuXQbcfvqKysTkebTyXNd9j7dp+mTFQEYpLdGw1eA@mail.gmail.com>
	<acWj5FntidHJ9nVP@nathan>
	<CA+K2Runq+1gy8p6a-DsxpT2OkEkEu3cUGsZ9tdiGNrg_=P39gg@mail.gmail.com>
	<acv2vu8miagnHG1B@nathan>
	<CA+K2Ru=JK5NUEaxA77pCEer40QnV1TMxeg68Et9RL0zMZw_Jyw@mail.gmail.com>
	<777bc2f5-957e-4c8b-9f63-1d54e1f1bc3d@data-bene.io>

On Thu, Sep 03, 2026 at 06:01:15PM +0200, Ayoub Kazar wrote:
> After looking into more test cases, the opportunity here isn't as big as it
> was for COPY FROM in general cases, yet i have seen good performance gains
> show up in most cases, and avoiding regressions elsewhere adds some
> complexity, there's also the possibility to include the case of TOASTed
> attributes here ; which i think is a win.

Yeah, when I looked into this one a while ago, I couldn't find a good way
to avoid regressions.  I wonder if we'll need to make some architectural
adjustments before trying again.

-- 
nathan






view thread (18+ messages)  latest in thread

Message-ID: <apm6pILzsNF8lJBy@nathan>
Permalink:  ../apm6pILzsNF8lJBy@nathan/
Also on:    postgresql.org/message-id/apm6pILzsNF8lJBy@nathan

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: nathandbossart@gmail.com, ayoub.kazar@data-bene.io, ma_kazar@esi.dz, andres@anarazel.de, neil.conway@gmail.com, manni.wood@enterprisedb.com, andrew@dunslane.net, shinya11.kato@gmail.com, markwkm@gmail.com, byavuz81@gmail.com
  Subject: Re: Speed up COPY TO text/CSV parsing using SIMD
  In-Reply-To: <apm6pILzsNF8lJBy@nathan>
  References: <abBuKalOno33MQFw@nathan> <CA+K2Rum7+Jm2rm65K5msxaiAM8QTkhSNAYarPBP9O7nBXYo12Q@mail.gmail.com> <abmiNPQOqBrRlf_m@nathan> <CA+K2Rum-TB_iNzDWoXOJspf=jq0gd-wees8+9tBTJNyhy9cK5g@mail.gmail.com> <CA+K2Ru=PdZuXQbcfvqKysTkebTyXNd9j7dp+mTFQEYpLdGw1eA@mail.gmail.com> <acWj5FntidHJ9nVP@nathan> <CA+K2Runq+1gy8p6a-DsxpT2OkEkEu3cUGsZ9tdiGNrg_=P39gg@mail.gmail.com> <acv2vu8miagnHG1B@nathan> <CA+K2Ru=JK5NUEaxA77pCEer40QnV1TMxeg68Et9RL0zMZw_Jyw@mail.gmail.com> <777bc2f5-957e-4c8b-9f63-1d54e1f1bc3d@data-bene.io> <apm6pILzsNF8lJBy@nathan>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox