OSX下安装PgBouncer

前端之家收集整理的这篇文章主要介绍了OSX下安装PgBouncer前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

首先得安装 brew,这个网上资料一大推,不细说。

brew install PgBouncer

The config file: /usr/local/etc/pgbouncer.ini is in the "ini" format and you
will need to edit it for your particular setup. See:
https://pgbouncer.github.io/config.html

The auth_file option should point to the /usr/local/etc/userlist.txt file which
can be populated by the /usr/local/opt/pgbouncer/bin/mkauth.py script.

To have launchd start pgbouncer now and restart at login:

brew services start pgbouncer

Or,if you don't want/need a background service you can just run:

pgbouncer -q /usr/local/etc/pgbouncer.ini

相关资料

https://www.linkedin.com/pulse/scaling-greenplum-pgbouncer-sandeep-katta-/?articleId=6128769027482402816

原文链接:https://www.f2er.com/postgresql/193484.html

猜你在找的Postgre SQL相关文章