Re: Wich hardware suits best for large full-text indexed

From: Diogo Biazus <diogo(at)ikono(dot)com(dot)br>
To: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
Cc: Dann Corbit <DCorbit(at)connx(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Wich hardware suits best for large full-text indexed
Date: 2004-03-31 17:33:07
Message-ID: 406B00D3.50807@ikono.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Oleg Bartunov wrote:

>Diogo,
>
>could you send us 'explain analyze' for fts-specific part of your
>query ? For example,
>
>
>
Alright, here it goes:

eyeknow=# explain analyze select * from documentos where
conteudo_stem_ix @@ to_tsquery('default_portuguese', 'brasil');

QUERY PLAN
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Index Scan using documentos_conteudo_stem_ix_ix on documentos
(cost=0.00..1183.08 rows=291 width=1156) (actual time=26.33..840039.40
rows=70686 loops=1)
Index Cond: (conteudo_stem_ix @@ '\'brasil\''::tsquery)
Filter: (conteudo_stem_ix @@ '\'brasil\''::tsquery)
Total runtime: 840248.91 msec
(4 rows)

>Frankly, I don't understand your query :) Could you explain what do you
>want to find ?
>
>qrydocumentos.conteudo_stem_ix @@ to_tsquery('default_portuguese', 'brasil')
>
>
I'm trying to find documents which contain the word 'brasil' (stemmed).
This is just an example, because the user can input any query to the
database.
The rest of the query is used to make sure that the user is accessing
only documents he has permission to.

Regards,

--
Diogo Biazus
diogo(at)ikono(dot)com(dot)br
http://www.ikono.com.br

In response to

Browse pgsql-general by date

  From Date Subject
Next Message William White 2004-03-31 17:42:52 Re: Question about rtrees (overleft replacing left in nodes)
Previous Message John DeSoi 2004-03-31 17:30:58 row-level security model