Re: Slow query help

Поиск
Список
Период
Сортировка
От Marc Mamin
Тема Re: Slow query help
Дата
Msg-id B6F6FD62F2624C4C9916AC0175D56D88420D5B46@jenmbs01.ad.intershop.net
обсуждение исходный текст
Ответ на Slow query help  (Almir de Oliveira Duarte Junior <almirjr@adj.com.br>)
Ответы Re: Slow query help
Список pgsql-performance


>I ask your help to solve a slow query which is taking more than 14 seconds to be executed.
>Maybe I am asking too much both from you and specially from postgresql, as it is really huge, envolving 16 tables.
>
>Explain:
>http://explain.depesz.com/s/XII9
>
>Schema:
>http://adj.com.br/erp/data_schema/

Hello,

It seems that you don't pay much attention to column alignment.
e.g. http://adj.com.br/erp/data_schema/tables/ERP_PUBLIC_sys_person.html

This probably won't make any significant difference in your case,
but this is something to be aware of when dealing with large tables.
here is a good starting link for this topic:
http://stackoverflow.com/questions/12604744/does-the-order-of-columns-in-a-postgres-table-impact-performance

regards,

Marc Mamin

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

Предыдущее
От: Rafael Bernard Rodrigues Araujo
Дата:
Сообщение: Re: Slow query help
Следующее
От: Almir de Oliveira Duarte Junior
Дата:
Сообщение: Re: Slow query help