Re: Advise needed for a join query with a where conditional

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: Advise needed for a join query with a where conditional
Дата
Msg-id 566B6140.9040703@BlueTreble.com
обсуждение исходный текст
Ответ на Advise needed for a join query with a where conditional  (ankur_adwyze <ankur@adwyze.com>)
Список pgsql-performance
On 12/10/15 10:38 PM, ankur_adwyze wrote:
> I have a Rails app with Postgres db. For certain reports, I have to join
> multiple tables. However, certain join queries are dog slow and I am
> wondering if I am missing any index.

My guess is that the planner is coming up with a bad estimate. Please
post the output of EXPLAIN ANALYZE, preferably via
http://explain.depesz.com/
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com


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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: checkpoints, proper config
Следующее
От: Andreas Kretschmer
Дата:
Сообщение: Re: partitioned table set and indexes