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 1u7yAE-00AsVR-0U for pgsql-general@arkaria.postgresql.org; Thu, 24 Apr 2025 15:06:58 +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 1u7yAC-0011nR-5X for pgsql-general@arkaria.postgresql.org; Thu, 24 Apr 2025 15:06:56 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u7yAB-0011nJ-P3 for pgsql-general@lists.postgresql.org; Thu, 24 Apr 2025 15:06:56 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1u7yAA-001jGN-10 for pgsql-general@lists.postgresql.org; Thu, 24 Apr 2025 15:06:55 +0000 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-acacb8743a7so197260266b.1 for ; Thu, 24 Apr 2025 08:06:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1745507213; x=1746112013; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=bzBo/qSeApCVMj/4GiqFZLELIEcJNihedH4dlCs593I=; b=aLnWR5s4IzAqgBk0Jt559e1Czf/9VSsuSiip3lLGZbZ4pY8zPBfJZSURUFiVovwcx3 sV1MDtUmHfA4adA3PeJGqpEO9nY+g1tPiOSne0j20gEU9OniTIGyup1tnSyJUsWqQaQc QzYS+45al0VCxdd7SGFSlXQJgQWo2ovp/VsIUyrz2mv6rDGLlgKh+eUuNYNgHqauwLGE /v0Ly3rfkShewbLvgNimN4lqYnZTL+8z91Y2hYxoQHfDbftHksnWAneVeI9Hemt0KzDN 6x2+mmBz5EScLK0opDcjHjDMxEUbSQDFk8GHoF+L9KUoVQevBxRFIz04pJsbjRwAuUBe AfWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745507213; x=1746112013; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=bzBo/qSeApCVMj/4GiqFZLELIEcJNihedH4dlCs593I=; b=jiXFpWGp3uwhfWVGQkgsQBDgGwGN5h5RSAlpYuSeyW+Jnm8KjgPNCVGZ/k6rTa4ypt chinilyPzloLLr2TOwnel0BY+sHioV/p95ESyKCoZKrFPJuBAy2S27tQ/ttQ4gfLhOPR DV4UDRtBswM+y5/5P0tenqGA6sYx4WBapzo8iDinMHItYbb+TuVRhDpntQGd3iqm2nVz wWVusTbECFBPs+OqBvZCZWnNRnKBxYxt6Ei18eJ3/a5hAXmKOuIBNqp5UD+FXApXU+pZ 0Vd3uTrNjfrrf1k/Dh9HcivCmlmI3Bj5eQOIqCDJtuLqnCe+F+ZW8lTRZ66yh3nNa8l7 9a3A== X-Gm-Message-State: AOJu0YyvDapZUca95tKos9wuK1UcIfFuvBHsWTI7QWlN613kQCxw4CJY OYk9xJYomhjzzrgvzDh3M30f0CbIpGwTueSwN0XRAHFE6CMg1WKzlntoqL8aB5R+GBhYIdTYcxO TBf0= X-Gm-Gg: ASbGnctBaWFq4gqib+QomxDEvdiPVWvyd054orQ/gwVtuYUjSZoCpA0F/nPDu8+hGpV 3LdYmcl+vj4CxVUtCZpSHYP7urY2m4c6Eio0JIq/5z3sEZXudSBKdMJDalFlKaKcvxas8cy+Kxd EpQljclKIAr/VMLK8i6GHiGaxIJIJeTEjuT0RGu0L/6KyF0TCRUg6e1cpIXAw/Yh386mf0ec295 N/4Tzhd+UBEj30lyCnSKvnCNSbd/a0tbyVGjPmYrCwCeYBnJnIY2oOll3W62vlsDdvYsoM8bI3M WzYi9xCmOEXDiRLCPROLo/9HgWvmuxuVJTgGrTveJG2zE2sdqxZHsgS3mTKF X-Google-Smtp-Source: AGHT+IG70DmMBToRHS2KIo9703tbuDYvPpQhd6xJMQQUcgtrbXIot7N64XowHs2cYhvWwstlWt26Zw== X-Received: by 2002:a17:906:f5a1:b0:acb:124e:81fa with SMTP id a640c23a62f3a-ace5a17834amr257266766b.5.1745507212944; Thu, 24 Apr 2025 08:06:52 -0700 (PDT) Received: from localhost.localdomain ([2001:871:260:e754:5e12:787:a896:2a2e]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ace598982a6sm121980366b.55.2025.04.24.08.06.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Apr 2025 08:06:52 -0700 (PDT) Message-ID: Subject: Re: explain From: Laurenz Albe To: David Rowley , Marc Millas Cc: "pgsql-general@lists.postgresql.org" Date: Thu, 24 Apr 2025 17:06:52 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.3 (3.54.3-1.fc41) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 2025-04-25 at 01:41 +1200, David Rowley wrote: > On Fri, 25 Apr 2025 at 01:32, Marc Millas wrote: > > Nested Loop Left Join (cost=3D941400.77..966327.57 rows=3D3 width=3D65= 3) (actual time=3D52655.694..62533.811 rows=3D346 loops=3D1) > > Buffers: shared hit=3D10068265 read=3D396705 dirtied=3D1858 written= =3D218, temp read=3D429687 written=3D115187 > > I/O Timings: read=3D79368.246 write=3D11.486 > >=20 > > So, the total execution time is 52655 ms ok > > and the total time for i/o is...79368 ms > >=20 > > how ??? >=20 > The 79.3 seconds is the total time spent doing reads for all parallel > workers. 52.6 seconds is the wall clock time elapsed to execute the > query. But wouldn't it read "loops=3D3" or similar then? Yours, Laurenz Albe