| От | Josh Berkus |
|---|---|
| Тема | Re: How to speed up word count in tsearch2? |
| Дата | |
| Msg-id | 200503311250.45932.josh@agliodbs.com обсуждение |
| Ответ на | How to speed up word count in tsearch2? (Yudie Pg <yudiepg@gmail.com>) |
| Ответы |
Re: How to speed up word count in tsearch2?
|
| Список | pgsql-performance |
Yudie, > (It is the 2nd posting, maybe the 1st one didn't goes thru) > I've tested several keyword count from 2 millions record book > description table that indexed with tseach2 indexing. > The result is always slow for first query attempt. Yes, this is because your tsearch2 index is getting pushed out of RAM. When the index is cached it's very, very fast but takes a long time to get loaded from disk. You need to look at what else is using RAM on that machine. And maybe buy more. -- --Josh Josh Berkus Aglio Database Solutions San Francisco
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера