DESCR 1.4 KB

1234567891011121314151617181920212223242526272829
  1. PgBouncer is a lightweight connection pooler for PostgreSQL.
  2. Features:
  3. * Several levels of brutality when rotating connections:
  4. + Session pooling
  5. Most polite method. When client connects, a server connection will
  6. be assigned to it for the whole duration it stays connected. When
  7. client disconnects, the server connection will be put back into
  8. pool. This mode supports all PostgreSQL features.
  9. + Transaction pooling
  10. Server connection is assigned to client only during a transaction.
  11. When PgBouncer notices that transaction is over, the server will be
  12. put back into pool. This mode breaks few session-based features of
  13. PostgreSQL. You can use it only when application cooperates by not
  14. using features that break. See the table below for incompatible
  15. features.
  16. + Statement pooling
  17. Most aggressive method. This is transaction pooling with a twist -
  18. multi-statement transactions are disallowed. This is meant to
  19. enforce "autocommit" mode on client, mostly targeted for PL/Proxy.
  20. * Low memory requirements (2k per connection by default). This is due to
  21. the fact that PgBouncer does not need to see full packet at once.
  22. * It is not tied to one backend server, the destination databases can reside
  23. on different hosts.
  24. * Supports online reconfiguration for most of the settings.
  25. * Supports online restart/upgrade without dropping client connections.
  26. * Supports protocol V3 only, so backend version must be >= 7.4.