pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim Thomason <thomasoniii@gmail.com>
To: psql-performance@postgresql.org
Subject: performance with column orders
Date: Thu, 5 Aug 2004 13:10:01 -0500
Message-ID: <5cfdfaf7040805111013a769af@mail.gmail.com> (raw)

I couldn't track down recent info in the archives, so I figured I'd ask here.

Does the order of columns still have an impact on table speed? Back in
the olden days, it used to be that fixed width columns (integer,
tinyint, etc.) should be the first ("left") columns in the table and
variable width ones should be towards the end ("right"). This allowed
a database to line up the columns better on disk and give you a speed
boost.

So, does Postgres still care about it? And, if so, how much? The posts
I found were from 2 years ago, and indicated that there is a minor
increase, but not a lot. Incidentally, could anyone quantify that in
any fashion?

Thanks,

-Jim....



Message-ID: <5cfdfaf7040805111013a769af@mail.gmail.com>
Permalink:  ../5cfdfaf7040805111013a769af@mail.gmail.com/
Also on:    postgresql.org/message-id/5cfdfaf7040805111013a769af@mail.gmail.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: thomasoniii@gmail.com, psql-performance@postgresql.org
  Subject: Re: performance with column orders
  In-Reply-To: <5cfdfaf7040805111013a769af@mail.gmail.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