Re: oid...any optimizations

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: "sathiya psql" <sathiya(dot)psql(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: oid...any optimizations
Date: 2008-03-06 07:06:50
Message-ID: 20080305230650.67030d9c@jd-laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Thu, 6 Mar 2008 12:32:01 +0530
"sathiya psql" <sathiya(dot)psql(at)gmail(dot)com> wrote:

> i had a table with 50 lakh record...
>
> it has a column called oid ( obviously all the tables will have
> this ), but while doing any operation it is getting slow because of
> the number of records...

Actually it isn't obvious as oids have been deprecated for years.

>
> if i remove the oid column will i get any benefit, what are all the
> other default columns created without our knowledge..

What version of ancient PostgreSQL are you running exactly?

Joshua D. Drake

--
The PostgreSQL Company since 1997: http://www.commandprompt.com/
PostgreSQL Community Conference: http://www.postgresqlconference.org/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL SPI Liaison | SPI Director | PostgreSQL political pundit

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message sathiya psql 2008-03-06 07:13:57 Re: oid...any optimizations
Previous Message sathiya psql 2008-03-06 07:06:48 Re: count * performance issue