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 1sR0tV-00Crzd-7y for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Jul 2024 02:47:53 +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 1sR0tT-00Bvzu-VO for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Jul 2024 02:47:51 +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 1sR0qO-00BsF8-9k for pgsql-hackers@lists.postgresql.org; Tue, 09 Jul 2024 02:44:40 +0000 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sR0qL-0019CH-SQ for pgsql-hackers@lists.postgresql.org; Tue, 09 Jul 2024 02:44:39 +0000 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2ee98947f70so36600321fa.1 for ; Mon, 08 Jul 2024 19:44:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720493076; x=1721097876; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4+Ch78PBkYMk3YQQIm0q9HGonfvfedhz1vAp2t77HQ0=; b=IKRMaVNP0DA6ebcNbkxtZPK62J4WxNfqsfElKeBuETHDPChalfuS+MVRpCM+ce527+ GzuydE7S7pIXv/O0UjLmAFLmjcHxL/k6hpmRcvgeoJ2SJB5vSDsbOtoFdIPQnIj2E+3C 3xd/jsUXgQ+aT1ZLYqTixdKra84etyGy6cUzKtDC5i0L18dgx5tFwiHab+oBdZt7fsBN 5hdtVZT/JmvSJSrjGy+Q0klFq2lU8nMR/YUeQTz1VEi5ColLpZk9jL7YT/jmPHuGcqWI eqCtga0hSHjNvIBuSt8Rxp6xIk0UMnmP2XNC8/YQtcBK4vo3Fm7NWET3Xv/CmbTCnHMG kDkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720493076; x=1721097876; h=cc: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=4+Ch78PBkYMk3YQQIm0q9HGonfvfedhz1vAp2t77HQ0=; b=B/Laztbk5aCA8LknRerEWvttF1KYJvlnFLgIbV1LqL0pTgjNHtKhmGejY+Qqc0Aqch /2m6Ct4jqO3kmKlKw+t1EGMQkJRN3a/C+qIBtsUqupGJv2r1YHA65AKTTKlYTYhJ2xjD u58A09uQolc73qV9S39mWP5334YCf23mRSqQ6EfiOARrfbHfZHdn9AuoX7GWC1wzuyTg lxNZTPPkp1QaCqEVkf4OIJayGX6uMSjS07o1QMkXRKMpRk4AlucKP7yppMlDJGR3rgpA Alow+9VmbUm0FINotRefiKpRpVWABUTGtw6XOSl5WirqXv5MdqijBkE38ACtsOUQZnui qmPg== X-Forwarded-Encrypted: i=1; AJvYcCUVetSx2Z+190jx53hWuY0BlJlULjOox9KgPtkr2BOpAkYPVOaAW1YXXw0MdAnmo7IsX8K14CGMGGuWO61XwuLRvpwxCnvPHEYpGdCVill9D4FR X-Gm-Message-State: AOJu0YysCHH34pSpPvA5JZZyMFMxUYwsOqtYtmr/9eKQPJA/E/3DTd+c pSc/5WlR4I7eYBXU0o4uk5+4ozUiqEB/5ZiymMfRih9V5Ec1rpQDBG5Y1H4ssJjLPuki8hoPCoC MTW6qJctfyV2GTFQS7K5lW55SArs= X-Google-Smtp-Source: AGHT+IGXY2SuKCoDjJvWMptOCLC60kPIUYmdTw+njD03d/D3PBvpg9Y5jGmh95cPOpaq/6UJsgp8BTSSVq1QRx8ZDDY= X-Received: by 2002:a2e:9856:0:b0:2ee:8b21:55ae with SMTP id 38308e7fff4ca-2eeb30db039mr8791741fa.14.1720493075837; Mon, 08 Jul 2024 19:44:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Rowley Date: Tue, 9 Jul 2024 14:44:23 +1200 Message-ID: Subject: Re: Parallel Bitmap Heap Scan reports per-worker stats in EXPLAIN ANALYZE To: Tomas Vondra Cc: Dilip Kumar , David Geier , PostgreSQL Developers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, 9 Jul 2024 at 11:51, David Rowley wrote: > I think we should consider aligning Parallel Hash > with the other Parallel node behaviour. I looked at that and quickly realised that it makes sense that Parallel Hash does something different here. All the workers are contributing to building the same hash table, so they're all going to show the same set of values, provided they managed to help building it. We're able to tell how much each worker helped according to EXPLAIN (ANALYZE, VERBOSE)'s Worker N: rows=n output. I don't think there's anything else not already shown that would be interesting to know per worker. David