Databases · Senior · Question 33 of 75

Which pitfalls come with PgBouncer in transaction pooling mode?

Explanation

Each transaction may run on a different server connection. Use transaction-scoped settings (SET LOCAL) and recent PgBouncer versions that support protocol-level prepared statements.

Further reading

Problem with a question

Databases · Senior · question 33

Test yourself

Take the Databases · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz