November 2019
Beginner to intermediate
470 pages
11h 59m
English
In this chapter, we have seen that data is either replicated synchronously or asynchronously. However, this is not a global thing. To ensure good performance, PostgreSQL allows us to configure things in a very flexible way. It is possible to replicate everything synchronously or asynchronously, but in many cases we might want to do things in a more fine-grained way. This is exactly when the synchronous_commit setting is needed.
Assuming that synchronous replication, the application_name setting, as well as the synchronous_standby_names setting in the postgresql.conf file have been configured, the synchronous_commit setting will offer the following options:
Read now
Unlock full access