Re: poor pefrormance with regexp searches on large tables

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: poor pefrormance with regexp searches on large tables
Дата
Msg-id 4E42BCC0.3010007@fuzzy.cz
обсуждение исходный текст
Ответ на Re: poor pefrormance with regexp searches on large tables  (Grzegorz Blinowski <g.blinowski@gmail.com>)
Список pgsql-performance
Dne 10.8.2011 19:01, Grzegorz Blinowski napsal(a):
> However, changing shared_mem didn't help. We also checked system I/O
> stats during the query - and in fact there is almost no IO (even with
> suboptimal shared_memory). So the problem is not disk transfer/access
> but rather the way Postgres handles regexp queries... As I have wirtten
> it is difficult to rewrite the query syntax (the SQL generation in this
> app is quite complex), but it should be relatively easy to at least join
> all OR clauses into one regexp, I can try this from the psql CLI. I will
> post an update if anything interesting happens...

Can you post EXPLAIN ANALYZE, prefferably using explain.depesz.com?

Tomas

В списке pgsql-performance по дате отправления:

Предыдущее
От: Grzegorz Blinowski
Дата:
Сообщение: Re: poor pefrormance with regexp searches on large tables
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Autovacuum running out of memory