From: Hervé Piedvache <footcow@noos.fr>
To: pgsql-performance@postgresql.org
Cc: Josh Berkus <josh@agliodbs.com>
Cc: Hervé Piedvache <herve@elma.fr>
Subject: Re: TSearch2 and optimisation ...
Date: Thu, 26 Aug 2004 21:30:40 +0200
Message-ID: <200408262130.40500.footcow@noos.fr> (raw)
In-Reply-To: <200408261048.58726.josh@agliodbs.com>
References: <200408260048.32274.footcow@noos.fr>
<200408260922.01797.herve@elma.fr>
<200408261048.58726.josh@agliodbs.com>
Le Jeudi 26 Août 2004 19:48, Josh Berkus a écrit :
> Herve'
>
> > (cost=0.00..4052.84 rows=1351 width=166) (actual time=109.766..5415.108
> > rows=139 loops=1)
> > Index Cond: (idxfti @@ '\'postgresql\''::tsquery)
> > Filter: (idxfti @@ '\'postgresql\''::tsquery)
> >
> >From this, it looks like your FTI index isn't fitting in your sort_mem.
>
> What's sort_mem at now? Can you increase it?
shared_buffers = 3000
sort_mem = 10240
> Overall, though, I'm not sure you can get this sub-1s without a faster
> machine. Although I'm doing FTI on about 25MB of FTI text on a
> single-processor machine, and getting 40ms response times, so maybe we can
> ...
Sorry I missed understand what you mean here ...
You tell me to upgrade the hardware but you manage a 25 Mb with a single
processor ?? What you mean ?
My database is about 450 Mb ...
Regards,
--
Bill Footcow
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: footcow@noos.fr, josh@agliodbs.com, herve@elma.fr
Subject: Re: TSearch2 and optimisation ...
In-Reply-To: <200408262130.40500.footcow@noos.fr>
* 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