Created
March 4, 2016 17:19
-
-
Save arsham/256bb638c2d28cc61895 to your computer and use it in GitHub Desktop.
If you are going to build a large index or do some other large query that can benefit from access to more RAM, set work_mem larger for your session
This file contains hidden or 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 work_mem = '56GB'; | |
| commit; | |
| -- Do your work here. | |
| -- Then be a good neighbour. | |
| set work_mem = default; | |
| commit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment