Re: Query Analysis

From: <typea(at)l-i-e(dot)com>
To: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Query Analysis
Date: 2002-11-21 19:21:26
Message-ID: 49566.216.80.95.13.1037906486.squirrel@www.l-i-e.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

I think I've narrowed down my problem space a bit.

Playing with various "fast" versus "slow" queries leads me to ask:

GIVEN:

15,000 reocrds with a 'text' field named 'text'
Average 'text' length about 10 K.
Full text search using lower() and LIKE and even ~* sometimes on that
field with a keyword.

What can be done to maximize performance on such large chunks of text?

More RAM?
Tweak that 512 number in postmaster.conf?
Faster CPU?
Is my only option to resort to a concordance?

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Bjoern Metzdorf 2002-11-21 19:24:19 Re: [ADMIN] H/W RAID 5 on slower disks versus no raid on faster HDDs
Previous Message Tom Lane 2002-11-21 19:21:24 Re: vacuum full