Re: Re: 7.2 items

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Franck Martin <Franck(at)sopac(dot)org>
Cc: "'Lincoln Yeoh'" <lyeoh(at)pop(dot)jaring(dot)my>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: 7.2 items
Date: 2001-05-14 05:30:45
Message-ID: 3AFF6D85.E9171127@tm.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Franck Martin wrote:
>
> I think OID should be truly unique in the world as to make it easier for
> replication. If OID are real unique number (not in a table, not in a
> database, but in the world) then replication can be easily built with
> OIDs...
>

Exactly! That is what the Mariposa project did - they made OIDs uniqe
and
consisting of 32bit site id + 32bit local OID. I guess this could be
split
some other way too, like 20 bit site id + 44bit local or any other.

IMHO the best would be a scheme of 32bit site id + 32bit local, but each
site can get additional site ids from some central (for a supersite)
table
when it sees that it is near runnig out of oids.

-----------------------
Hannu

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Franck Martin 2001-05-14 05:34:02 RE: Re: 7.2 items
Previous Message Hannu Krosing 2001-05-14 05:24:57 Re: Re: 7.2 items