Re: BRIN Usage

From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: Tom Smith <tomsmith1989sk(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: BRIN Usage
Date: 2016-02-18 07:14:21
Message-ID: CAKJS1f_NHs0a84g8HiVq=qoK5sa0Kk=erMonoeCFQjix-wv1DQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 18/02/2016 9:34 am, "Tom Smith" <tomsmith1989sk(at)gmail(dot)com> wrote:
>
> Hi:
>
> I feel it is a stupid question.
>
> Can BRIN index enforce uniqueness?
> My issue is
> the column I'd like to apply BRIN index also needs to be unique
> (think of timestamp as primary key).

Only btree supports unique.
Is there a special reason not to use btree? I'm also finding it hard to
imagine a case where a timestamp primary key is a good idea.

In response to

  • BRIN Usage at 2016-02-18 05:32:11 from Tom Smith

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alberto Cabello Sánchez 2016-02-18 07:32:02 Re: Pgsql troubleshooting & Iscsi
Previous Message proj 2016-02-18 06:54:20 Pgsql troubleshooting & Iscsi