Re: Text Search vs MYSQL vs Lucene

From: Steve Atkins <steve(at)blighty(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Text Search vs MYSQL vs Lucene
Date: 2004-09-09 14:20:06
Message-ID: 20040909142006.GA24396@gp.word-to-the-wise.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance

On Thu, Sep 09, 2004 at 07:56:20AM -0500, Vic Cekvenich wrote:

> What would be performance of pgSQL text search vs MySQL vs Lucene (flat
> file) for a 2 terabyte db?
> thanks for any comments.

My experience with tsearch2 has been that indexing even moderately
large chunks of data is too slow to be feasible. Moderately large
meaning tens of megabytes.

Your milage might well vary, but I wouldn't rely on postgresql full
text search of that much data being functional, let alone fast enough
to be useful. Test before making any decisions.

If it's a static or moderately static text corpus you're probably
better using a traditional FTS system anyway (tsearch2 has two
advantages - tight integration with pgsql and good support for
incremental indexing).

Two terabytes is a lot of data. I'd suggest you do some research on
FTS algorithms rather than just picking one of the off-the-shelf FTS
systems without understanding what they actually do. "Managing
Gigabytes" ISBN 1-55860-570-3 covers some approaches.

Cheers,
Steve

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vivek Khera 2004-09-09 14:27:35 Re: How to determine a database is intact?
Previous Message Vic Cekvenich 2004-09-09 14:14:34 Re: Text Search vs MYSQL vs Lucene

Browse pgsql-performance by date

  From Date Subject
Next Message Hervé Piedvache 2004-09-09 14:56:01 Re: TSearch2 and optimisation ...
Previous Message Vic Cekvenich 2004-09-09 14:14:34 Re: Text Search vs MYSQL vs Lucene