Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gpDRl-000769-8D for pgsql-bugs@arkaria.postgresql.org; Thu, 31 Jan 2019 14:36: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 1gpDRj-0006WH-VC for pgsql-bugs@arkaria.postgresql.org; Thu, 31 Jan 2019 14:36:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gpDRj-0006WA-LV for pgsql-bugs@lists.postgresql.org; Thu, 31 Jan 2019 14:36:03 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gpDRh-0000bp-0R for pgsql-bugs@lists.postgresql.org; Thu, 31 Jan 2019 14:36:02 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1gpDRe-0005xO-7F; Thu, 31 Jan 2019 09:35:58 -0500 Date: Thu, 31 Jan 2019 09:35:58 -0500 From: Bruce Momjian To: "Saul, Jean Paolo" Cc: Peter Geoghegan , Andrew Gierth , PostgreSQL mailing lists Subject: Re: BUG #15609: synchronous_commit=off insert performance regression with secondary indexes Message-ID: <20190131143558.GC22941@momjian.us> References: <15609-3e1e2b03ff3bdb01@postgresql.org> <877eeohqnk.fsf@news-spur.riddles.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, Jan 31, 2019 at 04:08:39PM +1300, Saul, Jean Paolo wrote: > Additional tests replacing BTREE indexes with HASH indexes indicate that hash > indexes do not suffer from low-cardinality performance regression. > However I cannot use hash indexes in our systems as they are discouraged. Hash indexes are crash safe since PG 10 so their use is no longer discouraged, at least from a project perspective. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +