Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vtV2c-00BUUZ-12 for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Feb 2026 18:15:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vtV2b-008qMa-0q for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Feb 2026 18:15:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vtV2a-008qMS-2w for pgsql-hackers@lists.postgresql.org; Fri, 20 Feb 2026 18:15:48 +0000 Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vtV2X-00000000Q5f-2vGb for pgsql-hackers@postgresql.org; Fri, 20 Feb 2026 18:15:48 +0000 Received: by mail-oi1-x22e.google.com with SMTP id 5614622812f47-45f194e9a98so831767b6e.3 for ; Fri, 20 Feb 2026 10:15:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771611344; x=1772216144; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=1JNTbQHt/PV6rNh1hnNFMi8km8BLGJPdJ9l9Lp8CK7Q=; b=nmzcUxipOc/3EG7imz3JZG34gyAag61kVQz2ivpWD6xx7agXevX/GCr/UzqBN3wZ8B EwTFyVzLN/EENjOP08dtM5KlVWEwdxA7n9+5s96itAx+JgvBwhwhJRKE2Ozj/PqIw5n7 sRmmUmagi4yT/dT0EaoCSTG1sOkzS/HiA102TV/GTi1b+OY5Zuc+mM5SJ8raszSIhdLx 7cyy79JwnxulYgb3ZEJhGaDBNtjEI77X316a4n335v+q+SfmgoLZmuzxfSyjalHX4QXx 3OHcM9nV/2kYS/xwnDMBxwqaG+xLagld7gJ4AZzit+ClQlD+pdEtqv+D5dThDl+VaWe/ mraQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771611344; x=1772216144; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1JNTbQHt/PV6rNh1hnNFMi8km8BLGJPdJ9l9Lp8CK7Q=; b=e4BdIFI3AF/+Y/gwu6gIOnMs+kgAyo6ODlGvsNDRduTR9lB3iuQp4sR4pIAosKHSf7 LokHuIliNYmM0gFuw4mtEv0XOkPFikzU0p6y+XFmNOksqQIQnJUgTYTyBEabPQE6IvPA c3P9Tn7viOjEshepkwxdWygILLQkgg5fbkLNpO6amXEaCOf9QltEJ6Tco4TGmp0C/IS9 D3P6Dqzv/ODe1p6c08gdA6q1BlfTOPgoUxNV5nldub3FyiXjtlsUW5Ph+ualUV+x5Qg7 GWW4beBCPxJGO7BmUj+hg9W3JCFDpT3MQzAjLf1P9DawSjh9/H2rE0qba+0so1sAJhxM iSaQ== X-Forwarded-Encrypted: i=1; AJvYcCXINO3cMEVZr7qXAaCB5ZethxOkpYKKs4M658lW1rqzglreq5UlrLXRYz2f9x33h/3a1Pjni3zMM4zEhkYU@postgresql.org X-Gm-Message-State: AOJu0YxEhFZB7efcVXxDuQBh7LF+qYNMVr/1etOOT4/2mq1h0n5DQ8nO lIDNc17hc4A8AUqX20AtEPlUn0dBi5tE+xz75YB5RdUl05zmyXGOhCiz X-Gm-Gg: AZuq6aK8n89nesG7GYM25qC1KzL7nrCX+yJCEkt7cnnnyWALdQFR/AHPHyB/yjyL0Z7 t4bUt3+CP69ts/L80NNqn0nmAhYduZQ9b+utp/rGzR5HLUYrGUQjF11mjYlWqvVEHsNqU7q+1cO FxlqDFZcbb/wGNrFgK4zUm6sDeA/KZP3ed+Ei+fq2CwK2ElTumykr6QYWVE0HmBqvA4CXNh0SpO A+5hUxdzcPG/4ITMbPMHoYWtiLU5zGzHNgsvwvUFjonUianH2XbAozIRjca4cGZIPn3i8lAJ/Ne zub2w5VXoVMGkHEonWQ/8VYMLWv77vNJcpQvbbp/VeVm+ynrzMK46EE4YrNB9ps5aYcXdHeTJ6H feyfHvYX/BfxMX/G3ng/VDy2cLGgGUdWRGGXQWKfSGR7YtpYAtnffnpVnFQdeWbfBvjN+LUNOwJ bZiC1DYX/S3I5qI67no9sb+YRVWJ2pYUKMYD6y5fL0HGflZUAX+kXqnNNdoG5YjQdNdVZqlcahO uy4auZOwpwT0HJ4 X-Received: by 2002:a05:6808:30a4:b0:45e:63d9:a678 with SMTP id 5614622812f47-464461421ddmr519819b6e.1.1771611343516; Fri, 20 Feb 2026 10:15:43 -0800 (PST) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 5614622812f47-463be5433ebsm14220242b6e.17.2026.02.20.10.15.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Feb 2026 10:15:43 -0800 (PST) Date: Fri, 20 Feb 2026 12:15:41 -0600 From: Nathan Bossart To: Nazir Bilal Yavuz Cc: Manni Wood , KAZAR Ayoub , Neil Conway , Andrew Dunstan , Shinya Kato , PostgreSQL-development Subject: Re: Speed up COPY FROM text/CSV parsing using SIMD Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Feb 20, 2026 at 12:50:35PM +0300, Nazir Bilal Yavuz wrote: > On Fri, 20 Feb 2026 at 03:09, Manni Wood wrote: >> Nazir, I ran my benchmarks with more rows this time --- as many rows as >> would fit on my test computers without exhausting their RAM disks. That >> seems to have brought things more into line with what Ayoub saw. I did >> get some small regressions, but I suspect those are not a big deal. (For >> instance, on both machines I also noticed the occasional "truncate >> table" would take longer than the others, despite my scripts' best >> efforts to steady a CPU core and pin postmaster and children to that >> core.) Yeah, the couple of small regressions seem close to (or below) the noise level, and IIUC yours were the only benchmarks that showed them, anyway. Plus, I think we'll need this change regardless as a prerequisite for the SIMD work. > Thank you both for the benchmarks. Results look good to me! Committed that part. -- nathan