PostgreSQL Quickstart
Validated on 30 Jul 2019 • Last edited on 8 Jul 2024
PostgreSQL is an open source, object-relational database built for extensibility, data integrity, and speed. Its concurrency support makes it fully ACID-compliant, and it supports dynamic loading and catalog-driven operations to let users customize its data types, functions, and more.
Create PostgreSQL Database Clusters
- From the Create menu in the top right of the control panel, click Databases.
- Select PostgreSQL as the database engine.
- Choose the cluster configuration and datacenter, and give the cluster a unique name.
For the best performance, create your database cluster in the same region as your Droplets.
- Click Create a Database Cluster.
Change Size or Number of Cluster Nodes
- Select your database cluster from the Databases page.
- Click the Settings tab.
- Click Edit in the Cluster configuration section.
- Select the node size and number of optional standby nodes.
- Click Save.
Relocate Database Clusters
- Select your database cluster from the Databases page.
- Click the Settings tab.
- Click Edit in the Cluster datacenter section.
- Select the region and datacenter to which you want to relocate your cluster.
- Click Save.
Add Additional Users or Databases
- Select your database cluster from the Databases page.
- Click the Users & Databases tab.
- Enter users or database names in the corresponding field.
- Click Save.
Use a client application or command-line tool to manage specific user permissions.
Create Connection Pools
- Select your database cluster from the Databases page.
- Click the Connection Pools tab.
- Click Create a Connection Pool.
- Enter your pool name, the logical database to which the pool will connect, the user it will connect with, the pooling mode, and the pool size.
- Click Create Pool.
Delete Database Clusters
- Select your database cluster from the Databases page.
- Click the Settings tab.
- Click Destroy in the Destroy this database cluster section.
- Enter the name of the database cluster.
- Click Destroy.