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 1o9VhM-0002rN-JS for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Jul 2022 17:53:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o9VhL-000490-Fh for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Jul 2022 17:53:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o9VhL-00040c-5p for pgsql-hackers@lists.postgresql.org; Thu, 07 Jul 2022 17:53:55 +0000 Received: from mail-qk1-f178.google.com ([209.85.222.178]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o9VhI-0006tq-Ra for pgsql-hackers@postgresql.org; Thu, 07 Jul 2022 17:53:54 +0000 Received: by mail-qk1-f178.google.com with SMTP id c137so13957099qkg.5 for ; Thu, 07 Jul 2022 10:53:52 -0700 (PDT) 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=fc7dmM3vB/XFFKwI8WMF13eHga9+uidFEid/r8W5Cos=; b=s9NocIBB1T1ZyRHl6te1yL5P7tn2mTXua8mVvMs8M6L36udFIoL11PchCI8QUTnfEz +txv+XW3wnyTUnXkBTh9v/zrVA5mk7bSbgGMhfK26kIGp9VsNGvirqtBiCl3m0qxIgyF EfyL2Wez8ms3ga84nqXgk85Qm6MyV6m1a4HlgD58BDQCM6NdjBlaWKJuOEM3dx1DfA54 PJpFc5/GSHdmkClRO4+MF6ay+CcqD1K8s/dBX57n6dId6Z4OhfOX2Lys/dfu5OAvSzVO 3Bntn+Oa/vhGg6jAB4JiXJtZMPSHK2wa1h5fx+PRX4l6LwjErJY/TwK2zbRIQ1v1LYwt oD5Q== X-Gm-Message-State: AJIora/TIVRzaznjDtL/IWc7xJGzLKFN/O6ca7c2fAUaYz60VPda4/5a kVPUi2/GIvNWfSfpVmQxh+cXJfwf1ZQRITs1COY= X-Google-Smtp-Source: AGRyM1t+GNoKliW2t5y79fcBuo+ZvdnUWBkiHJIItBf4TBcBYy6OGVf1uJ/UqyPcGKWtQsox++RAk2Yu6RHpsw/Vn4g= X-Received: by 2002:a05:620a:450b:b0:6b0:8501:b04f with SMTP id t11-20020a05620a450b00b006b08501b04fmr32899371qkp.51.1657216431847; Thu, 07 Jul 2022 10:53:51 -0700 (PDT) MIME-Version: 1.0 References: <603c8f070905281830g2e5419c4xad2946d149e21f9d@mail.gmail.com> <4A1F4FD5.7060204@timbira.com> <4A249CE9.6050708@cheapcomplexdevices.com> <1243950060.23910.58.camel@ebony.2ndQuadrant> <11926.1243953507@sss.pgh.pa.us> In-Reply-To: From: Greg Stark Date: Thu, 7 Jul 2022 13:53:16 -0400 Message-ID: Subject: Re: explain analyze rows=%.0f To: vignesh C Cc: Ibrar Ahmed , "David G. Johnston" , "pgsql-hackers@postgresql.org" , Robert Haas , Simon Riggs , Ron Mayer , Euler Taveira de Oliveira , Tom Lane Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > - -> Parallel Seq Scan on tenk1 (actual rows=1960 loops=50) > + -> Parallel Seq Scan on tenk1 (actual rows=1960.00 At the not inconsiderable risk of bike-shedding.... I'm wondering if printing something like 0.00 will be somewhat deceptive when the real value is non-zero but less than 1 row per 200 loops. I wonder if the number of decimal places should be calculated to produce a minimum of one non-zero digit for non-zero values. -- greg