Re: Doubts about oid

From: Vick Khera <vivek(at)khera(dot)org>
To: Postgres General Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Doubts about oid
Date: 2010-02-19 18:58:02
Message-ID: 2968dfd61002191058g47c20af5p7f968a25c6fe7b36@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Feb 18, 2010 at 11:08 PM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nim Li 2010-02-19 19:05:48 When making ODBC remote connection, which executable is called?
Previous Message David Fetter 2010-02-19 18:52:35 Re: GROUP BY column alias?