Re: 26h Query.

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: 26h Query.
Дата
Msg-id 20050320223038.GA32477@svana.org
обсуждение исходный текст
Ответ на 26h Query.  (Jason Leach <jason.leach@gmail.com>)
Список pgsql-general
On Sun, Mar 20, 2005 at 10:10:14AM -0800, Jason Leach wrote:
> hi,
>
> I'm having a bit of trouble with my SQL query. It takes about 26h to
> run on a 3Ghz PC.  I'd really like to speed this up.
>
> I put this query in a loop to iterate over 20 tables (each table
> including summary has 400k records), each time the table name changes.
> I this case it's m_alal.  Each table has an identical primary key
> ECP_TAG but the RATING column is different.  What I doing is:

You're going to need to post the EXPLAIN ANALYZE output if you expect
any meaningful response...
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: Alex Adriaanse
Дата:
Сообщение: Tracking row updates
Следующее
От: Marcin Piotr Grondecki
Дата:
Сообщение: Re: Question insert data