From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: Building a DB with performance in mind
Date: Thu, 17 Mar 2005 17:09:34 +0100
Message-ID: <20050317160934.GB16434@uio.no> (raw)
In-Reply-To: <c7c05762050317075614cc0bfe@mail.gmail.com>
References: <c7c05762050317075614cc0bfe@mail.gmail.com>
On Thu, Mar 17, 2005 at 10:56:10AM -0500, Alexander Ranaldi wrote:
> Most of my queries return rows based on UserID, and also only if
> Private is FALSE. Would it be in the interest of best performance to
> split this table into two tables: "EntriesPrivate",
> "EntriesNotPrivate" and remove the "Private" column?
You could do a partial index if you'd like (ie. one only indexing rows where
Private=FALSE), but I'm not sure if it's the best solution.
/* Steinar */
--
Homepage: http://www.sesse.net/
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: sgunderson@bigfoot.com
Subject: Re: Building a DB with performance in mind
In-Reply-To: <20050317160934.GB16434@uio.no>
* 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