Created
July 11, 2017 09:35
-
-
Save tqyq/ae28d4c8a1def9ddd663a21c0f4f88d3 to your computer and use it in GitHub Desktop.
postgresql optimize query parallel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set max_worker_processes = 64; | |
set max_parallel_workers_per_gather = 16; | |
#设置强制并行,建议off,避免不必要的使用worker | |
#set force_parallel_mode = on; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment