Re: Are indexes blown?
От
Phoenix Kiula
Тема
Re: Are indexes blown?
Дата
Msg-id
e373d31e0802150426o7b2dce6dp70dd541783275b87@mail.gmail.com
Ответ на
Re: Are indexes blown? (Richard Huxton)
Список
Дерево обсуждения
Re: Are indexes blown? Harald Fuchs <hari.fuchs@googlemail.com>
Re: Are indexes blown? "Douglas McNaught" <doug@mcnaught.org>
On 15/02/2008, Richard Huxton wrote: > First guess is that it's not using the index. What does > EXPLAIN ANALYSE SELECT user_id FROM clients WHERE user_id LIKE '...' > show? > > Check the list archives for locale and like and text_pattern_ops too - > that's a good place to check. There is nothing to do with locale. The same database has been working just fine for 2 years. Why should this be an issue now? When I ran the EXPLAIN SELECT, the database was hanging. Or taking too much time (waiting for 5 minutes), or whatever. I cancelled it. That's the problem. It works, then it doesn't. Then it works again. I am guessing it could be the load, but there's nothing new in terms of load that should be causing this!
В списке pgsql-general по дате отправления