Re: Small table or partial index?

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Francisco Reyes <lists(at)stringsutils(dot)com>
Cc: PostgreSQL performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Small table or partial index?
Date: 2005-12-12 22:24:33
Message-ID: 20051212222433.GH54639@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Manfred Koizar 2005-12-12 22:34:12 Re: Joining 2 tables with 300 million rows
Previous Message Vivek Khera 2005-12-12 22:19:39 Re: opinion on disk speed