You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are moving part of our data from Postgres to Clickhouse database and for backward capability with our code we use Clickhouse FDW.
But on simple queries (like COPY (SELECT * FROM big_clickhouse_fdw_table) TO STDOUT) Postgres consumes too much memory. Memory consumption depends on the size of selected data.
It seems that Clickhouse FDW caches whole query results in memory.
Are we right?
How to limit memory consumption?
Are there any settings that can help with it (cache size, spill results to disk, etc)?
The text was updated successfully, but these errors were encountered:
Hello!
We are moving part of our data from Postgres to Clickhouse database and for backward capability with our code we use Clickhouse FDW.
But on simple queries (like
COPY (SELECT * FROM big_clickhouse_fdw_table) TO STDOUT
) Postgres consumes too much memory. Memory consumption depends on the size of selected data.It seems that Clickhouse FDW caches whole query results in memory.
Are we right?
How to limit memory consumption?
Are there any settings that can help with it (cache size, spill results to disk, etc)?
The text was updated successfully, but these errors were encountered: