Re: Very long time to execute and Update, suggestions?

Поиск
Список
Период
Сортировка
От PFC
Тема Re: Very long time to execute and Update, suggestions?
Дата
Msg-id op.soitw1y9th1vuj@localhost
обсуждение исходный текст
Ответ на Re: Very long time to execute and Update, suggestions?  (Madison Kelly <linux@alteeve.com>)
Список pgsql-performance
>    So I need to either find an Index that will work with regexes or
> re-write my code to update each subdirectory separately and use simpler
> UPDATE statement for each.

    Why don't you use a LTREE type to model your directory tree ? It's been
designed specifically for this purpose and has indexed regular expression
search.

http://www.sai.msu.su/~megera/postgres/gist/ltree/
http://www.sai.msu.su/~megera/postgres/gist/

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: How to speed up word count in tsearch2?
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: pg_autovacuum not having enough suction ?