Advice on Contiguous IDs - Mailing list pgsql-docs

From Brian McKiernan
Subject Advice on Contiguous IDs
Date
Msg-id 5a546fcab6ae2e0000bdb8e4@polymail.io
Whole thread Raw
Responses Re: Advice on Contiguous IDs  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Re: Advice on Contiguous IDs  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: Advice on Contiguous IDs  (Steve Atkins <steve@blighty.com>)
Re: Advice on Contiguous IDs  (Vik Fearing <vik.fearing@2ndquadrant.com>)
List pgsql-docs
Hi Folks,

Looking for some help/advice - not sure if this is the appropriate channel.

My Issue:
My primary keys in a certain table are not contiguous.

What I have done so far:

My Question:
1) What event would cause the CACHE clause in CREATE SEQUENCE to make an out of sequence next number?
2) In all cases am I correct in my thinking that in order to create contiguous primary key IDs then performance will greatly suffer? Do we have an idea of how bad this will generally be or what does that depend upon?

Many thanks in advance,
Brian

pgsql-docs by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Is this still accurate?
Next
From: PG Doc comments form
Date:
Subject: Describe UNION's cast on derived table