May 2017
Beginner
416 pages
10h 37m
English
When I am doing consulting, many people ask whether raising the connection limit will have an impact on performance in general. The answer is: not much (there is always some overhead due to context switches and all that). It basically makes little difference how many connections there are. However, what does make a difference is the number of open snapshots. The more the number of open snapshots (not connections), the more the overhead on the database side. In other words, you can increase max_connections cheaply.
If you are interested in some real-world data, consider taking a look at one of my older blog posts: http://www.cybertec.at/max_connections-performance-impacts/.
Read now
Unlock full access