to to some group by and save the result as a new table. Query fills my memory (ram) and my swap and than fails. is this a normal behavior on aggregates? how to solve this problem without doing chunks and without increasing swap
> Query fills my memory (ram) and my swap and than fails. Yes, this could be normal — depends on PostgreSQL setup / tuning. > how to solve this problem Look at the query plan (plain EXPLAIN (VERBOSE)) for clues.
Обсуждают сегодня