We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af6b1d9 commit db87624Copy full SHA for db87624
backend/pkg/commons/db/clickhouse.go
@@ -61,6 +61,9 @@ func MustInitClickhouseNative(writer *types.DatabaseConfig) ch.Conn {
61
Settings: ch.Settings{
62
"deduplicate_blocks_in_dependent_materialized_views": "1",
63
"update_insert_deduplication_token_in_dependent_materialized_views": "1",
64
+ // trade of higher background overhead for lower query specific memory pressure
65
+ // reduces memory usage by 20-30% in our prod insert queries
66
+ "optimize_on_insert": "0",
67
},
68
ClientInfo: ch.ClientInfo{
69
Products: []struct {
0 commit comments