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 1wQJlo-001REt-11 for pgsql-hackers@arkaria.postgresql.org; Fri, 22 May 2026 06:54:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wQJlk-00CYdS-1B for pgsql-hackers@arkaria.postgresql.org; Fri, 22 May 2026 06:54:05 +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 1wQJlk-00CYdJ-01 for pgsql-hackers@lists.postgresql.org; Fri, 22 May 2026 06:54:05 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wQJli-00000000qul-20e8 for pgsql-hackers@postgresql.org; Fri, 22 May 2026 06:54:04 +0000 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-bdd1986cc86so112927366b.2 for ; Thu, 21 May 2026 23:54:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1779432841; cv=none; d=google.com; s=arc-20240605; b=aUKTaazB1akEP625Evp1qcRkYP0fJrT1UwChBo2kPCn2j/JpG+hrIcXUVXPZ5Rgqvp MuRLUc43Q12oQ5FU1odpwFprF7hBR5WEoP+U6saxOraFzcodZnkIUSWq9XT/tymGERvP mLx+NTM5dFqyeOCbLblS3pr4Lwho5xeLBaYMweMZqhlJ6llK/8ZUvOfO8qw3B05hR6uu Y1UX3Jdu7EfLCDc+EUwhdM2M+Nzyc85BtJl9bIn4wRnm5iXE0oO07eKfpt/dDtFII6qi akpZoYbZ2c4PPD2gDf3zD1LCCTsNCDSQotx93qvRkyJwL/CIJyKozXFoPl4rV788OwGx kuZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=6mypSdg/C7BLYj/hGRD2pdwk5KYLE5A4Sv/aHki4GxI=; fh=33OU7BWuulPFH378PdKTnpeW+jw3IP20DTmpLDeQ3pE=; b=dOl5dJWuNgQdP6msvu7LQIH7U0BapKhYe2j+3e+vG1ZJwmXp7wv9iBXB04zFw9daCr 1CIhvfZlRqJh2NY0CRKwfyFwhqXk0TrIzCbtlLLVzx1OiuiNFXJj3PGx+vQmSWDCgu3G jWRTwsgI5ys3EZt5kPTeoENWbL4TjW4xDayGI/diSgOz1ByUZyg0iZuJYREbgN2l04t+ r0FoRWaHwk7w2dWImEYBt4J1UYdFV3S/9nbGVyAP09VUJF35MW6KqtRUvUoax/Pz6JyO zOZ6xhvq9jlmcY+tVrB4QgG37zW6Mcor8EQOSsHwGCdzIY1IZFT8aaHLNlb4+bFoW5e5 /62A==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779432841; x=1780037641; darn=postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=6mypSdg/C7BLYj/hGRD2pdwk5KYLE5A4Sv/aHki4GxI=; b=MqilsIH8XcZpK2kFYB/ani+z+B45/b9nosb6Yecvof+5JrQis2JMYkg4s4asADq+oV 8y71UqJetMUDwCMGfmv86vdc/eLVwiWnwaPoxn0b5essJUBOj/ZtpKyQFGzjBfKKhu4q i+sEQANimzVODe5cbnqjlqRo8VCZLsrBCyV75Idh/frD01rPb6QAHawRwvkOyo8wXRzy LMqArGCVO7zv432GizPE/aUMTFhc1UDXytKG1X7Ce8s+arvOV04o8FlFgZDXlC4Ga6/a VDkTa6NjDsl1jhylyhEkZh3qzqNwUJ4GKNx6O6VzJaILTfjyGK8AxXFsiPlkRlAa6QZL GV2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779432841; x=1780037641; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6mypSdg/C7BLYj/hGRD2pdwk5KYLE5A4Sv/aHki4GxI=; b=pbSCdNrkiRVZlXs2dlINkHoYZMqf4puEZKFta8hK/7FLe6pYPwwV/anm2Wwp1nbmyr Sk3KTkWwD5QjVlOEFvT77HfJ/QuY6bfolfjRhm4UKnK90kp/wEGooX11VNnSE7ba5qWm /cEFNl0RMlb9fPRTxAh74mSWD6OraLHDag/14udCdcNo24A4VZsaJ7nC3xm/A7J9gN8X TAlX0+STWcKh4AYf7U+IuilnXzPD3pJSwoiYSHvQ0Ezs+yz+PJ0G+vW6CQdObx7gQ22y HDTmbLkBO2NZEBx9JszQzyD0VXFdIgc74Pp4NrXegeNXrrZBGBcmaUQoZmtlNKjWrOr+ qOsg== X-Gm-Message-State: AOJu0YzQSv2Dt+anprE/Ze9/eqpnbHNfkXj6MPT+1QP3N3mI7In654zk uugQDDtZqE/nA35lEAWIotkAYdzSKQ4v+sRlBt/lkvIQ9NRKoTEyhGSHjiqYeyZEsur5AqI+dqs vPfMcEUJTYHtHH1f3r1KsN9MJF3kRGOJSDW1T X-Gm-Gg: Acq92OFPO7uQxM9+f5cbHPlDokahmRLCxPeriU/eV/Qg8ZvwBebxPsEDlr4Vqifmq9o WFZu2c/yMzMY4THI7ibQM+IuhgkS84TKRHuUQrT5uciQcdknyfIjfz8rTqYwxO4sjfQGNbj6V/m 5si3KljRpzA0yHzqQnsUYx87g1LIDffq7g0FQc8b/1Iyxo02CY4mDDVNiXjdCm+bSSeXuXxr8IZ w6bCFfRjwMeHtvix9j4AFYmdlpZOUNo6gpD3876+9gfB2It3zdnYXvRwkXwZHJ3VzKj/uyhU3hg vSG1PrakzQ== X-Received: by 2002:a17:906:8446:b0:bd9:a6ab:a245 with SMTP id a640c23a62f3a-bdd279d4df1mr111769466b.41.1779432840605; Thu, 21 May 2026 23:54:00 -0700 (PDT) MIME-Version: 1.0 From: Samil C Date: Fri, 22 May 2026 09:53:49 +0300 X-Gm-Features: AVHnY4LNsJ5HKQAut1d8zX61BuBgTOhfWfQeRh0I2BX66nNX6lDUz5_mhZBNkbE Message-ID: Subject: Inquiry Regarding Parallel DML (Write-Side) Support in Future PostgreSQL Releases To: pgsql-hackers@postgresql.org Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello PostgreSQL Developers, I have been analyzing PostgreSQL's parallel execution capabilities and noticed that parallel query execution is currently available for operations such as: Parallel SELECT CREATE TABLE AS SELECT (CTAS) Parallel index creation However, during standard DML operations (INSERT ... SELECT, UPDATE, DELETE), execution remains effectively single-threaded, preventing the underlying scans from taking advantage of parallel workers. I would like to ask whether there are any ongoing discussions or development plans regarding true parallel DML support in future PostgreSQL releases. In particular, I am interested in the long-term direction for parallel execution of INSERT/UPDATE/DELETE operations and related write-path optimizations. While I understand the architectural complexities involved in parallel writes, the current single-threaded execution model remains a significant bottleneck for large-scale migrations and heavy ETL workloads. Until native parallel DML becomes available, are there any recommended workarounds or best practices for reducing this bottleneck during large batch operations? Thank you for your time and for your contributions to PostgreSQL. Best regards, SamilC