Re: INSERT ... ON CONFLICT DO UPDATE

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: INSERT ... ON CONFLICT DO UPDATE
Date: 2015-07-21 07:23:44
Message-ID: 55ADF380.9010803@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/20/2015 7:01 AM, Geoff Winkless wrote:
>
>
>
> Some web research suggests that random sequences are not great for
> indexes because of the resultant "keyspace fragmentation". I'm
> assuming that means a low number of nodes in the btree leafs, so an
> increase in memory usage for the index?

that suggests some folks overthink their indexing strategies and end up
'overoptimized'.

anyways, a simple REINDEX fixes all sorts of index fragmentation

--
john r pierce, recycling bits in santa cruz

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Olarte 2015-07-21 07:34:51 Re: INSERT ... ON CONFLICT DO UPDATE
Previous Message Francisco Olarte 2015-07-21 07:21:21 Re: INSERT ... ON CONFLICT DO UPDATE