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 1naTLp-000155-0O for pgsql-general@arkaria.postgresql.org; Sat, 02 Apr 2022 02:18:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1naTLn-0005e9-Qd for pgsql-general@arkaria.postgresql.org; Sat, 02 Apr 2022 02:18:51 +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 1naTLn-0005e0-EG for pgsql-general@lists.postgresql.org; Sat, 02 Apr 2022 02:18:51 +0000 Received: from mail-oa1-x36.google.com ([2001:4860:4864:20::36]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1naTLl-00077u-5V for pgsql-general@lists.postgresql.org; Sat, 02 Apr 2022 02:18:51 +0000 Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-df0940c4eeso4631392fac.8 for ; Fri, 01 Apr 2022 19:18:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to; bh=fNlebxj4qwTyLJjqnKJaFFVP20oyJKKTy/DNOWoiZ7w=; b=SLbcp6piDeNDucmgw4FamjaZzckBKXcGJxoFLf1OmMcA2xxsjapSMdiR2wVeo8T038 UuAW3XIYYlFVESPCT2uCxi1oD9QZa6shs9LY9YsGlWEWsXCpHTNUIYhApHrF8Tx5N/jG WKzjh6lwqpymW/6E47OaZElnAH7sNp2Jd90indtbS0dWs9qPTqcZDgsJgGQnz7wrsW1I s3PCv2u2lMoWGp9xGG1bJWCehOKkmgnIsGf6w8t8/WBgaDLE0Nc2JrF+YksQcZq7j0io cbzKyGz9ZPUX+PjBgeHQ97mmd4BO0a1AOuij3YBvgd+HCYQ7X3SYddGLAA0KtGRJ0v5D 81oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to; bh=fNlebxj4qwTyLJjqnKJaFFVP20oyJKKTy/DNOWoiZ7w=; b=rFHENyfQ0IxHE3Fqds8BCV925TNfYiB+7KBdKtAEzWXEhcOy5WQKiHn0ZxD6xQkBGd iq2z3O6soZSZvo0S5A1U5UqVQg3eUtrNAXwKLhVFRXY0QaHtjuxyt2xKNqalQrWKVDx3 bpumKslzYGlNlN6cvp8rM0e43G6HyDnZfdc2NtWl7EJVzuoGXUgiJO+OAjJC6rittPXn /fKubMDB4PmLCoQZS9UoyvyBUQp5t+napOOSVRXKbUmlmKyLTjB1OErqZLjSINW4hGb6 u683L0XMN7LK4nSNZO5sznj18gNNOymAZfEBfWJhjfOdsWpfBPeRbjUccmHilTcmGea3 K0BA== X-Gm-Message-State: AOAM532ikckjQvSwEX8gV4liWCC2qlWZPc9xLFrnkeB4NAp5SjUZlJVU Dmfs6tMG+y8sVHnu1S6zL7goWYGzDZs= X-Google-Smtp-Source: ABdhPJwNB7Tusu2cPbhV+5j1aVAOyvQwobqrxmrqfT/eQwYXjekBzs7r5X+C1itMFS1ZpV7DVc2SHw== X-Received: by 2002:a05:6870:5707:b0:de:2cb8:7759 with SMTP id k7-20020a056870570700b000de2cb87759mr6500919oap.20.1648865927119; Fri, 01 Apr 2022 19:18:47 -0700 (PDT) Received: from [192.168.88.10] (ip68-11-68-85.no.no.cox.net. [68.11.68.85]) by smtp.googlemail.com with ESMTPSA id o185-20020acabec2000000b002ecf1218c53sm1649635oif.15.2022.04.01.19.18.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Apr 2022 19:18:46 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------w74ksSzKYQKyqWHPHUwzAaL0" Message-ID: Date: Fri, 1 Apr 2022 21:18:45 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: How long does iteration over 4-5 million rows usually take? Content-Language: en-US To: pgsql-general@lists.postgresql.org References: From: Ron In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------w74ksSzKYQKyqWHPHUwzAaL0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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? What /*exactly*/ are you doing? -- Angular momentum makes the world go 'round. --------------w74ksSzKYQKyqWHPHUwzAaL0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit 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?

What exactly are you doing?


--
Angular momentum makes the world go 'round.
--------------w74ksSzKYQKyqWHPHUwzAaL0--