Padding on 64-bit

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: PGSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Padding on 64-bit
Date: 2007-05-29 18:40:05
Message-ID: 465C7385.2060608@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi!

When running on a 64-bit server, are 32-bit ints padded to 64-bit?

Specifically, I'm interested if I actually end up making my table any
smaller if I move from 64-bit integer primary key to 32-bit. (Need to
keep the index as small as possible to fit in cache)

64-bit on Debian linux running on Intel CPUs, if that make a difference.

//Magnus

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-05-29 19:06:46 Re: pgsql: Create hooks to let a loadable plugin monitor (or even replace)
Previous Message Gurjeet Singh 2007-05-29 18:29:18 Re: pgsql: Create hooks to let a loadable plugin monitor (or even replace)