↧
Answer by Erwin Brandstetter for How to optimize Merge Anti Join?
Concerning the sort performance in the query, there is this:Sort Method: external merge Disk: 58480kBMeaning, there is not enough work_mem to sort in RAM. The operation spills to disk, which is...
View ArticleHow to optimize Merge Anti Join?
While trying to find the fastest way to do a bulk update of a large table, I came up with the following plan:having main_table (potentially above 1000 mln rows) and update table up to a few million...
View Article