doctl databases pool

Go to Navigation

Aliases

p

Description

The subcommands under doctl databases pool are for managing connection pools for your database cluster.

A connection pool may be useful if your database:

  • Typically handles a large number of idle connections,
  • Has wide variability in the possible number of connections at any given time,
  • Drops connections due to max connection limits, or
  • Experiences performance issues due to high CPU usage.

Connection pools can be created and deleted with these commands, or you can simply retrieve information about them.

Flags

Option Description
--help , -h Help for this command
Command Description
doctl databases Display commands that manage databases
doctl databases pool create Create a connection pool for a database
doctl databases pool delete Delete a connection pool for a database
doctl databases pool get Retrieve information about a database connection pool
doctl databases pool list List connection pools for a database cluster

Global Flags

Option Description
--access-token, -t API V2 access token
--api-url, -u Override default API endpoint
--config, -c Specify a custom config file
Default:
  • macOS: ${HOME}/Library/Application Support/doctl/config.yaml
  • Linux: ${XDG_CONFIG_HOME}/doctl/config.yaml
  • Windows: %APPDATA%\doctl\config.yaml
--context Specify a custom authentication context name
--output, -o Desired output format [text|json]
Default: text
--trace Show a log of network activity while performing a command
Default: false
--verbose, -v Enable verbose output
Default: false