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.94.2) (envelope-from ) id 1uNTyX-002xJV-78 for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Jun 2025 10:07:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uNTyV-007Utf-CO for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Jun 2025 10:07:00 +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.94.2) (envelope-from ) id 1uNTvK-007P5U-PV for pgsql-hackers@lists.postgresql.org; Fri, 06 Jun 2025 10:03:43 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uNTvJ-000Wfn-2r for pgsql-hackers@lists.postgresql.org; Fri, 06 Jun 2025 10:03:43 +0000 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-60768e108baso1452254a12.2 for ; Fri, 06 Jun 2025 03:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1749204219; x=1749809019; darn=lists.postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=aCLCdn63ebYYa0u8q/ds/oCZ/rPithe0QTn3zrHMI8g=; b=QDJBrLysKVh9ZT6o5ZghDAStFsOQl8B9yS8s7ZoanK7bEyJ4mMZQBEW8CZgPmRliz8 AZVvBSALF26fYGh1t+nUBkBiJxBKO6o1DwifxeIWcdQGDQ9B7sthDfL3SrqEVgio5Yl7 ayTM9k0JplFB496Kuq8W7oWmQ2cm3qArPq7O4cYpQPcw4kThY70HmaeAmmgQtHxl7XdI cKaP9TzpSmV2zcffBZ1SROIAaTuyRFKLOUKBLeqzYW+kxj2hpOcOQZKTFIiyo9n6gkdh 6oTRoADMgu9HY7UUtwB+pK2Za8PgnapWVQr97OUppmpQvDFV80Cez4/Z7IbRYGQrfKMP lLqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749204219; x=1749809019; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aCLCdn63ebYYa0u8q/ds/oCZ/rPithe0QTn3zrHMI8g=; b=VelkDRHNufH1cKWuIy0Ry9cXOn1BYRugydYe1JSuhY91i/DqMmPdN7xDAob51CUd5/ r2c6B32ZexAnEgYnDGrTrarafCdna4Mzxon3E32RttDJcQQXaG056JlxUDkuShBCvRHB +XSEQhISFUWvYltG+EUlRPT+PqaKa4ZEeUtCq/W9f/j9Q1aOV9X/qE31tHzldClR9E7W LJr4yGbiHBWmzOrunOVsI2vcpZMSCXNMDfTnzdV3a2S3JuhxGypiI1lEUdKpTGpDYqJP sPgiM+s2GHDBC1x2LE0A1oUtBZJohaX3n+MUzpQUWwSGqUpi/mDil59lEcg46Wjm/BOo lbAw== X-Gm-Message-State: AOJu0YyflHcLeJwpND7N322wPWsTcVBcHuM5CBXdYJgSIiTAiyeL964D xTW2DOtrmwkY4Uuy4MNyZWaoXhafy2oIBrYjtXsyxYC1xjxPro6EtRCI/34YRMnKpOrNHZAyO7X 60GTpe9m/nDz1SYipY4TY8FBYY2PrVW6vCHUn X-Gm-Gg: ASbGncvYHbLoXo+u9qIZY3gurgkDiEFvHKwdw6K2Q0shHxtjmVnk1vR+rysFQojJHMJ yrfi3OiBUvKaL+/Iy/4gYKOUuKd/DLYeXGsQRnlz9651QCrgVRU55Kzb3JxvboxYHYD8Sx5wvQe G31lNbL5vXzYUUVhlpixDHOqgm5P9f9tNpQQ== X-Google-Smtp-Source: AGHT+IFwkKksbmMbtOwHeL+hLgGQVSMXaMCXnu8padzNMCO58W963cbGaqJeirsG+fRnFI114gIvOHRmUNd1+G1qyUs= X-Received: by 2002:a17:907:3eaa:b0:ade:6e9:8ad4 with SMTP id a640c23a62f3a-ade1aa8eff5mr233120566b.33.1749204218932; Fri, 06 Jun 2025 03:03:38 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Tatsuro Yamada Date: Fri, 6 Jun 2025 19:03:27 +0900 X-Gm-Features: AX0GCFscYAJot7QwiGn9eSWZ-RrrvvBxrdo5ImyhN0jHtvZa64RfReG6JY_OZuE Message-ID: Subject: Re: Add enable_groupagg GUC parameter to control GroupAggregate usage To: pgsql-hackers@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000001bf4d50636e45869" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000001bf4d50636e45869 Content-Type: text/plain; charset="UTF-8" Hi, # Query Execution Results (Average of 3 measurements) > - With parallel query: 39546 seconds > - With parallel query and enable_groupagg turned off: 1115 seconds > Oops, I made a mistake. The correct execution time is: - With parallel query: 39546 ms - With parallel query and enable_groupagg turned off: 1115 ms Regards, Tatsuro Yamada --0000000000001bf4d50636e45869 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

# Query Execution Results (Average o= f 3 measurements)
- With parallel query: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 39546 seconds
- With parallel query and enable_groupagg turned of= f: =C2=A0 1115 seconds

Oops, I= made a mistake. The correct execution time is:
- With parallel q= uery: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 39546 ms
- With parallel= query and enable_groupagg turned off: =C2=A0 1115 ms

<= /div>
Regards,
Tatsuro Yamada

--0000000000001bf4d50636e45869--