pydo.databases

Generated on 16 Jun 2025 from pydo version v0.11.0

DigitalOcean’s managed database service simplifies the creation and management of highly available database clusters.

Currently, it offers support for PostgreSQL, Redis, MySQL, MongoDB, and OpenSearch.

By sending requests to the /v2/databases endpoint, you can list, create, or delete database clusters as well as scale the size of a cluster, add or remove read-only replicas, and manage other configuration details.

Database clusters may be deployed in a multi-node, high-availability configuration. If your machine type is above the basic nodes, your node plan is above the smallest option, or you are running MongoDB, you may additionally include up to two standby nodes in your cluster.

The size of individual nodes in a database cluster is represented by a human-readable slug, which is used in some of the following requests. Each slug denotes the node’s identifier, CPU count, and amount of RAM, in that order.

For a list of currently available database slugs and options, use the /v2/databases/options endpoint or use the doctl databases options command.

pydo.databases.add_connection_pool()

Add a New Connection Pool (PostgreSQL)

pydo.databases.add_user()

Add a Database User

pydo.databases.add()

Add a New Database

pydo.databases.create_cluster()

Create a New Database Cluster

pydo.databases.create_kafka_topic()

Create Topic for a Kafka Cluster

pydo.databases.create_logsink()

Create Logsink for a Database Cluster

pydo.databases.create_replica()

Create a Read-only Replica

pydo.databases.delete_connection_pool()

Delete a Connection Pool (PostgreSQL)

pydo.databases.delete_kafka_topic()

Delete Topic for a Kafka Cluster

pydo.databases.delete_logsink()

Delete Logsink for a Database Cluster

pydo.databases.delete_online_migration()

Stop an Online Migration

pydo.databases.delete_opensearch_index()

Delete Index for OpenSearch Cluster

pydo.databases.delete_user()

Remove a Database User

pydo.databases.delete()

Delete a Database

pydo.databases.destroy_cluster()

Destroy a Database Cluster

pydo.databases.destroy_replica()

Destroy a Read-only Replica

pydo.databases.get_ca()

Retrieve the Public Certificate

pydo.databases.get_cluster_metrics_credentials()

Retrieve Database Clusters’ Metrics Endpoint Credentials

pydo.databases.get_cluster()

Retrieve an Existing Database Cluster

pydo.databases.get_config()

Retrieve an Existing Database Cluster Configuration

pydo.databases.get_connection_pool()

Retrieve Existing Connection Pool (PostgreSQL)

pydo.databases.get_eviction_policy()

Retrieve the Eviction Policy for a Redis Cluster

pydo.databases.get_kafka_topic()

Get Topic for a Kafka Cluster

pydo.databases.get_logsink()

Get Logsink for a Database Cluster

pydo.databases.get_migration_status()

Retrieve the Status of an Online Migration

pydo.databases.get_replica()

Retrieve an Existing Read-only Replica

pydo.databases.get_sql_mode()

Retrieve the SQL Modes for a MySQL Cluster

pydo.databases.get_user()

Retrieve an Existing Database User

pydo.databases.get()

Retrieve an Existing Database

pydo.databases.install_update()

Start Database Maintenance

pydo.databases.list_backups()

List Backups for a Database Cluster

pydo.databases.list_clusters()

List All Database Clusters

pydo.databases.list_connection_pools()

List Connection Pools (PostgreSQL)

pydo.databases.list_events_logs()

List all Events Logs

pydo.databases.list_firewall_rules()

List Firewall Rules (Trusted Sources) for a Database Cluster

pydo.databases.list_kafka_topics()

List Topics for a Kafka Cluster

pydo.databases.list_logsink()

List Logsinks for a Database Cluster

pydo.databases.list_opeasearch_indexes()

List Indexes for a OpenSearch Cluster

pydo.databases.list_options()

List Database Options

pydo.databases.list_replicas()

List All Read-only Replicas

pydo.databases.list_users()

List all Database Users

pydo.databases.list()

List All Databases

pydo.databases.patch_config()

Update the Database Configuration for an Existing Database

pydo.databases.promote_replica()

Promote a Read-only Replica to become a Primary Cluster

pydo.databases.reset_auth()

Reset a Database User’s Password or Authentication Method

pydo.databases.update_cluster_metrics_credentials()

Update Database Clusters’ Metrics Endpoint Credentials

pydo.databases.update_cluster_size()

Resize a Database Cluster

pydo.databases.update_connection_pool()

Update Connection Pools (PostgreSQL)

pydo.databases.update_eviction_policy()

Configure the Eviction Policy for a Redis Cluster

pydo.databases.update_firewall_rules()

Update Firewall Rules (Trusted Sources) for a Database

pydo.databases.update_kafka_topic()

Update Topic for a Kafka Cluster

pydo.databases.update_logsink()

Update Logsink for a Database Cluster

pydo.databases.update_maintenance_window()

Configure a Database Cluster’s Maintenance Window

pydo.databases.update_major_version()

Upgrade Major Version for a Database

pydo.databases.update_online_migration()

Start an Online Migration

pydo.databases.update_region()

Migrate a Database Cluster to a New Region

pydo.databases.update_sql_mode()

Update SQL Mode for a Cluster

pydo.databases.update_user()

Update a Database User

We can't find any results for your search.

Try using different keywords or simplifying your search terms.