Re: Sequence vs UUID - Mailing list pgsql-general

From Dominique Devienne
Subject Re: Sequence vs UUID
Date
Msg-id CAFCRh-8akNRqG2JzFtwpz9YgGMQB9nabkrhj2+=MLkbLhb4k_Q@mail.gmail.com
Whole thread Raw
In response to Re: Sequence vs UUID  (veem v <veema0000@gmail.com>)
Responses Re: Sequence vs UUID
List pgsql-general
On Mon, Jan 30, 2023 at 5:11 PM veem v <veema0000@gmail.com> wrote:
> CREATE TABLE test1_UUID ( id bigint,source_id varchar(36) PRIMARY KEY, Name varchar(20) );

Maybe if you used a "native" 16-byte uuid, instead of its textual
serialization with dashes (36 bytes + length overhead), the gap would
narrow.



pgsql-general by date:

Previous
From: veem v
Date:
Subject: Re: Sequence vs UUID
Next
From: Tom Lane
Date:
Subject: Re: Sequence vs UUID