Skip to content

Commit

Permalink
add SHOW commands for monitoring (#2754)
Browse files Browse the repository at this point in the history
* add SHOW commands for monitoring

* Update use-timescale/services/connection-pooling.md

Co-authored-by: Bryan Clark <[email protected]>
Signed-off-by: Grant Godeke <[email protected]>

---------

Signed-off-by: Grant Godeke <[email protected]>
Co-authored-by: Bryan Clark <[email protected]>
  • Loading branch information
ggodeke and clarkbw authored Oct 31, 2023
1 parent 9dc5bbe commit 161f238
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions use-timescale/services/connection-pooling.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,22 @@ update your application to adjust the port it uses to connect to your service.
</Procedure>
<Procedure>
### pgBouncer statistics commands
1. Connect to your database.
1. Switch to the `pgbouncer` database: `\c pgbouncer`
1. Run any read-only command for the pgBouncer cli (e.g., `SHOW STATS;`).
1. For full options, see the pgBouncer [docs here][pgbouncer].
</Procedure>
### VPC and connection pooling
VPCs are supported with connection pooling. It does not matter the order you
add the pooler or connect to a VPC. Your connection strings will automatically
be updated to use the VPC connection string.
[cloud-login]: https://console.cloud.timescale.com
[about-connection-pooling-types]: /use-timescale/:currentVersion:/services/connection-pooling#pool-types
[pgbouncer]: https://www.pgbouncer.org/usage.html

0 comments on commit 161f238

Please sign in to comment.