| От | Martijn van Oosterhout |
|---|---|
| Тема | Re: out of memory during query execution |
| Дата | |
| Msg-id | 20051220130439.GC4853@svana.org обсуждение |
| Ответ на | Re: out of memory during query execution (DANTE ALEXANDRA <ALEXANDRA.DANTE@BULL.NET>) |
| Ответы |
Re: out of memory during query execution
Re: out of memory during query execution |
| Список | pgsql-general |
On Tue, Dec 20, 2005 at 01:35:03PM +0100, DANTE ALEXANDRA wrote: > You will find below the explain plan of one of the queries which has > finished with "out of memory". This query contains aggregate and a > sub-select with 6 joins : 1. Firstly, it could be the Hash node. Does the estimated number of matches in part (96000 rows) match reality? 2. Secondly, looks like lineitem could use an index on partkey. Maybe it could then use a more efficient join? Do you have indexes on the relevent columns? Have a nice day, -- 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера