Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1naeYN-0004RS-BV for pgsql-general@arkaria.postgresql.org; Sat, 02 Apr 2022 14:16:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1naeYL-0006xE-Os for pgsql-general@arkaria.postgresql.org; Sat, 02 Apr 2022 14:16:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1naeYL-0006x4-CH for pgsql-general@lists.postgresql.org; Sat, 02 Apr 2022 14:16:33 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1naeYE-0004GK-Jv for pgsql-general@lists.postgresql.org; Sat, 02 Apr 2022 14:16:32 +0000 Received: by mail-ej1-x630.google.com with SMTP id ot30so1418091ejb.12 for ; Sat, 02 Apr 2022 07:16:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dNwR8itUNpkTJcW8UKsuFPS3h55heLY+51pjsRfG1Xg=; b=cyq8LxqWjLY57l1OPqHsNAMVRp0nIXorodwzNSjW4Y93TlIMJp66k9j9coAMcNRybo MTgF56XE25l2j90/RFBKbPyIK2tz8qGi8eXK/y2UT0xEE7ab/biSz8LItheqhqA+ZQ6g GY/TFpIFpDWa2AYpneMCczewQB+Y8aj16Q7htPwECF9aXz9Q8w+UlWUlr1UvR6J13Ou+ fDw841orUyJcZ6yfBsDHtRYz6DCchEDYz0UquwqOZmuOGTWllZJrrie5NjKU72AXdB7e jJiL8sDLDg3hqMWooi8NV3wAJ+bQgsUYLACAec50v7sFNT/h92W3LgAD2z9pJUh7tbIQ IF5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dNwR8itUNpkTJcW8UKsuFPS3h55heLY+51pjsRfG1Xg=; b=n5z57UawAclXl28Pbx8EeSWO+UkZnFllb1UgbxP3yIgA8WPG3XdOtGIiPcC7rlhOVQ y7fH4eCluUMzR4sxiabuPWfteIkxW4ZjmdUvaXUEkp8SJgvytLUvj7FtpgW/F2ED9K3v kAeghXipaOBwt5aWJuazcjWh8f352QlOBmS8WNdDNtEzXNzQyX/r3wYUcnbqXQaDWfIe 6fbv5caSA7HUZ9yYMBPDuP8B4rVsl7tZyo9dpA27LW8NnHDe7ZvN6IDelv6b5Ek9McDG tAcbFs5UALPDD10GBKzydfbxDcve2Qp/D8naeIqoNq7TpzgcMWJA+Y+xIbF1E9Jp0SqI n6dA== X-Gm-Message-State: AOAM532mkSB6NxISUGCp/DS5Zi4g9y1iV2BTm3tb1qAMomZxL08ev8JL cUp5dUMThwb+C5xcwl/A1JllLMEYI4xhuJcnen4= X-Google-Smtp-Source: ABdhPJx5nsjdlCGn3A3+8e/pGWT28FWH90sdjMqJCrwtXbV8xfPhOUrymboO3Tq6g7VOjXPfWNRZWdVMEtFo+j82KPM= X-Received: by 2002:a17:907:6d1b:b0:6e6:2583:cea5 with SMTP id sa27-20020a1709076d1b00b006e62583cea5mr2898299ejc.188.1648908985337; Sat, 02 Apr 2022 07:16:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Shaozhong SHI Date: Sat, 2 Apr 2022 15:16:14 +0100 Message-ID: Subject: Re: Re: How long does iteration over 4-5 million rows usually take? To: Karsten Hilbert Cc: Rob Sargent , Ron , pgsql-general Content-Type: multipart/alternative; boundary="000000000000568d4505dbac8a1f" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000568d4505dbac8a1f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, Karsten, I would like the information to work planning purpose. Regards, David On Sat, 2 Apr 2022 at 14:47, Karsten Hilbert wrote: > > > On Apr 1, 2022, at 10:18 PM, Ron wrote: > > > > > > =EF=BB=BF On 4/1/22 20:34, Shaozhong SHI wrote: > > >> > > >> I have a script running to iterate over 4-5 million rows. It keeps > showing up in red in PgAdmin. It remains active. > > >> > > >> How long does iteration over 4-5 million rows usually take? > > > > 4-5 million times as long as it takes to do one iteration ( if you=E2= =80=99re > doing it correctly) > > I may not take quite that long because setup/teardown times might not be > needed for each iteration. > > Best, > Karsten > > > --000000000000568d4505dbac8a1f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, Karsten,

I would like the infor= mation to work planning purpose.

Regards,

David

On Sat, 2 Apr 2022 at 14:47, Karsten Hilbert = <Karsten.Hilbert@gmx.net&= gt; wrote:
> = > On Apr 1, 2022, at 10:18 PM, Ron <ronljohnsonjr@gmail.com> wrote:
> >
> > =EF=BB=BF On 4/1/22 20:34, Shaozhong SHI wrote:
> >>
> >> I have a script running to iterate over 4-5 million rows.=C2= =A0 It keeps showing up in red in PgAdmin.=C2=A0 It remains active.
> >>
> >> How long does iteration over 4-5 million rows usually take? >
> 4-5 million times as long as it takes to do one iteration ( if you=E2= =80=99re doing it correctly)

I may not take quite that long because setup/teardown times might not be ne= eded for each iteration.

Best,
Karsten


--000000000000568d4505dbac8a1f--