pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: sathiya psql <sathiya.psql@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: oid...any optimizations
Date: Wed, 5 Mar 2008 23:06:50 -0800
Message-ID: <20080305230650.67030d9c@jd-laptop> (raw)
In-Reply-To: <f966c2ee0803052302m2042fcb9ha17c041927987f69@mail.gmail.com>
References: <f966c2ee0803052302m2042fcb9ha17c041927987f69@mail.gmail.com>

On Thu, 6 Mar 2008 12:32:01 +0530
"sathiya psql" <sathiya.psql@gmail.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

Attachments:

  signature.asc (application/pgp-signature, 188B) download

view thread (5+ messages)  latest in thread

Message-ID: <20080305230650.67030d9c@jd-laptop>
Permalink:  ../20080305230650.67030d9c@jd-laptop/
Also on:    postgresql.org/message-id/20080305230650.67030d9c@jd-laptop

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: jd@commandprompt.com, sathiya.psql@gmail.com
  Subject: Re: oid...any optimizations
  In-Reply-To: <20080305230650.67030d9c@jd-laptop>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox