Re: left outer join terrible slow compared to inner join
В списке pgsql-general по дате отправления:
| От | Sean Chittenden |
|---|---|
| Тема | Re: left outer join terrible slow compared to inner join |
| Дата | |
| Msg-id | 20030828183139.GL83759@perrin.nxad.com обсуждение |
| Ответ на | Re: left outer join terrible slow compared to inner join ("Clay Luther" <claycle@cisco.com>) |
| Список | pgsql-general |
> Actually, I was about to post some problems we have with large left > outer joins as well we've discovered in a porting project from > NT/SQL Server -> Linux/Postgres. > > We have a particular query that is rather large, left outer joining > across several tables. Under SQL Server, with identical data and > schema, this particular query takes 2 seconds. > > Under PostgreSQL, this same query takes 90 seconds -- that's right, > 90 seconds. 45x longer than SQL Server. This was quite a shock to > us (we'd not seen such a performance deficit between the two dbs > until this) and could, in fact, force us away from Postgres. > > I'd be happy to forward the explain to anyone who'd care to look at > it... Post an EXPLAIN ANALYZE of the query... -sc -- Sean Chittenden
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера