Re: How to speed up tsearch2 indexing
От | Oleg Bartunov |
---|---|
Тема | Re: How to speed up tsearch2 indexing |
Дата | |
Msg-id | Pine.GSO.4.62.0503092038540.26616@ra.sai.msu.su обсуждение исходный текст |
Ответ на | How to speed up tsearch2 indexing (Werner Bohl <WernerBohl@infutor.com>) |
Ответы |
Re: How to speed up tsearch2 indexing
|
Список | pgsql-performance |
On Wed, 9 Mar 2005, Werner Bohl wrote: > All, > > I have a table with ~ 3 million records. I'm indexing a field holding > names, no more than 200 bytes each. Indexing the resulting tsvector > takes forever. It's been running now for more than 40 hours on a Linux > with PG 8.01, a single Xeon & 4GB RAM. My work_mem postgresql.conf > parameter is at 240960 and maintenance_work_mem at 96384, although the > index task is using at most 12MB. Task is 99% cpu bound. Is there any > way I may speed up the indexing? What's your tsearch2 configuration ? Do you use dictionaries ? I wrote a brief explanation of tsearch2 internals http://www.sai.msu.su/~megera/oddmuse/index.cgi/Tsearch_V2_internals Hope, it could help you. > > > TIA, > > > Regards, Oleg _____________________________________________________________ Oleg Bartunov, sci.researcher, hostmaster of AstroNet, Sternberg Astronomical Institute, Moscow University (Russia) Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/ phone: +007(095)939-16-83, +007(095)939-23-83
В списке pgsql-performance по дате отправления: