pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Neil Conway <neilc@samurai.com>
To: aspire420@hotpop.com
Cc: pgsql-admin@postgresql.org
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] Tables Without OIDS and its effect
Date: Fri, 12 Dec 2003 18:10:21 -0500
Message-ID: <87he05pr8i.fsf@mailbox.samurai.com> (raw)
In-Reply-To: <3FD9E916.8050005@sancharnet.in>
References: <3FD9E916.8050005@sancharnet.in>

Sai Hertz And Control Systems <sank89@sancharnet.in> writes:
> I have created my tables without OIDS  now my doubts are :
> 1.  Will this speed up the data insertion process

Slightly. It means that each inserted row will be 4 bytes smaller (on
disk), which in turn means you can fit more tuples on a page, and
therefore you'll need fewer pages and less disk space. However, I'd be
surprised if the performance improvement is very significant.

> 2. Though I have not written any code in my any of the pgsql functions
> which depend on OIDS
>   1. Will without OIDS the functions behave internally differently
>   2. Will my application break at any point

No.

BTW, we intend to phase out the use of OIDs for user tables in the
long term. There have been a few threads on -hackers that discuss the
plans for doing this.

-Neil




view thread (5+ messages)  latest in thread

Message-ID: <87he05pr8i.fsf@mailbox.samurai.com>
Permalink:  ../87he05pr8i.fsf@mailbox.samurai.com/
Also on:    postgresql.org/message-id/87he05pr8i.fsf@mailbox.samurai.com

 · 

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: neilc@samurai.com, aspire420@hotpop.com, pgsql-admin@postgresql.org
  Subject: Re: [PERFORM] Tables Without OIDS and its effect
  In-Reply-To: <87he05pr8i.fsf@mailbox.samurai.com>

* 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