From: Jim C. Nasby <jnasby@pervasive.com>
To: Francisco Reyes <lists@stringsutils.com>
Cc: PostgreSQL performance <pgsql-performance@postgresql.org>
Subject: Re: Small table or partial index?
Date: Mon, 12 Dec 2005 16:24:33 -0600
Message-ID: <20051212222433.GH54639@pervasive.com> (raw)
In-Reply-To: <cone.1133566089.411630.45838.5001@35st-server.simplicato.com>
References: <cone.1133566089.411630.45838.5001@35st-server.simplicato.com>
On Fri, Dec 02, 2005 at 06:28:09PM -0500, Francisco Reyes wrote:
> I am in the process of designing a new system.
> There will be a long list of words such as
>
> -word table
> word_id integer
> word varchar
> special boolean
>
> Some "special" words are used to determine if some work is to be done and
> will be what we care the most for one type of operation.
Tough call. The key here is the amount of time required to do a join. It
also depends on if you need all the special words or not. Your best bet
is to try and benchmark both ways.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
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: jnasby@pervasive.com, lists@stringsutils.com
Subject: Re: Small table or partial index?
In-Reply-To: <20051212222433.GH54639@pervasive.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