Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fpLaD-0001dB-Od for pgsql-admin@arkaria.postgresql.org; Mon, 13 Aug 2018 22:45:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fpLaC-00014A-2W for pgsql-admin@arkaria.postgresql.org; Mon, 13 Aug 2018 22:45:04 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fpLaB-000143-OC for pgsql-admin@lists.postgresql.org; Mon, 13 Aug 2018 22:45:03 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fpLa4-0007YS-Bf for pgsql-admin@postgresql.org; Mon, 13 Aug 2018 22:45:02 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id BB45CC0D6F; Mon, 13 Aug 2018 22:44:54 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo01-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pAwUHEDhm-Ir; Mon, 13 Aug 2018 22:44:54 +0000 (UTC) Received: from [192.168.2.16] (unknown [8.39.228.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 0A3E9C0D50; Mon, 13 Aug 2018 22:44:52 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: PostgreSQL 11 global index From: Scott Ribe In-Reply-To: <1534199984998-0.post@n3.nabble.com> Date: Mon, 13 Aug 2018 16:44:49 -0600 Cc: pgsql-admin@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20180806100201.42a3c794@firost> <20180806123050.1fab3011@firost> <1534199984998-0.post@n3.nabble.com> To: legrand legrand X-Mailer: Apple Mail (2.3445.9.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Parse time & execution time. Why are you not just using a sequence? Do you have an application which requires contiguous numbers? -- Scott Ribe scott_ribe@elevated-dev.com https://www.linkedin.com/in/scottribe/ > On Aug 13, 2018, at 4:39 PM, legrand legrand = wrote: >=20 > I'm suspecting parsing time for "SELECT count(1) > 1 FROM tabpart = WHERE id =3D > NEW.id",