Re: Updated tsearch documentation

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Teodor Sigaev <teodor(at)sigaev(dot)ru>
Subject: Re: Updated tsearch documentation
Date: 2007-07-27 21:59:58
Message-ID: 200707272159.l6RLxw905270@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-hackers

Dimitri Fontaine wrote:
-- Start of PGP signed section.
> Hi,
>
> Le mercredi 25 juillet 2007, Bruce Momjian a ?crit?:
> > I have added more documentation to try to show how full text search is
> > used by user tables. I think this the documentaiton is almost done:
> >
> > http://momjian.us/expire/fulltext/HTML/textsearch-tables.html
>
> I've come to understand that GIN indexes are far more costly to update than
> GiST one, and Oleg's wiki advice users to partition data and use GiST index
> for live part and GIN index for archive part only.
>
> Is it worth mentioning this into this part of the documentation?
> And if mentioned here, partitioning step could certainly be part of the
> example... or let it as a user exercise, but then explaining why GIN is a
> good choice in the provided example.

Partitioning is already in the documentation:

Partitioning of big collections and the proper use of GiST and GIN
indexes allows the implementation of very fast searches with online
update. Partitioning can be done at the database level using table
inheritance and <varname>constraint_exclusion</>, or distributing
documents over servers and collecting search results using the
<filename>contrib/dblink</> extension module. The latter is possible
because ranking functions use only local information.

I don't see a reason to provide an example beyond the existing examples
of how to do partitioning.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-advocacy by date

  From Date Subject
Next Message Joshua D. Drake 2007-07-28 01:11:48 Re: [GENERAL] PostgreSQL, PGDAY, PGParty and OSCON 2007 Rocked!
Previous Message Richard Broersma Jr 2007-07-27 20:59:27 Re: [GENERAL] PostgreSQL, PGDAY, PGParty and OSCON 2007 Rocked!

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2007-07-27 23:28:25 Re: Machine available for community use
Previous Message Bruce Momjian 2007-07-27 20:29:41 Re: Updated tsearch documentation