1. 首页
  2. 数据库
  3. 其它
  4. ansible role pgbouncer:安装PGBouncer连接池的角色 源码

ansible role pgbouncer:安装PGBouncer连接池的角色 源码

上传者: 2021-04-07 04:04:47上传 ZIP文件 12KB 热度 9次
ansible-role-pgbouncer Ansible角色,用于安装PGBouncer连接池。 由于连接到Postgres后端进程的1:1映射,在处理大量连接时,Postgres服务器性能会下降。 PgBouncer是一个线程化池程序,可以减少后端进程的数量以及建立新连接时涉及的握手。 角色变量 用户数 pgbouncer_users: - name: username pass: unencrypted_password - name: postgres host: unencrypted_password 允许连接到PGBouncer的数据库用户列表。 该角色使用指定的用户创建userlist.txt文件。 密码使用MD5进行哈希处理。 资料库 pgbouncer_databases: - name: "mydatabase" host:
下载地址
用户评论