Re: Doubts about oid - Mailing list pgsql-general

From Vick Khera
Subject Re: Doubts about oid
Date
Msg-id 2968dfd61002191058g47c20af5p7f968a25c6fe7b36@mail.gmail.com
Whole thread Raw
In response to Re: Doubts about oid  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-general
On Thu, Feb 18, 2010 at 11:08 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
> Oracle and postgres are definitely different here.  There's really no
> equivalent to rowid in pgsql.  oid has no special optimizations.  An
> indexed PK of a serial is about as good as it gets, possibly
> clustered.

access by CTID is the fastest it gets.  I use it to do mass updates
after selecting a large number of rows.  I can guarantee nobody else
is modifying those rows so i know it is safe.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: GROUP BY column alias?
Next
From: Bruce Momjian
Date:
Subject: Re: Possible causes for database corruption and solutions