Managed Database Management Guide

Create and run a managed PostgreSQL, MySQL or MongoDB cluster: what each screen does, what happens on the server when you press things, and where the engines differ.

9 min read, 15 sections, Updated , Published

How to create and run a managed database cluster on SharkCluster: what each screen does, what happens on the server when you use it, and where the engines differ.

What this is. A database cluster is a VPS that SharkCluster buys, hardens and installs a database engine on, then manages for you. It is yours: you get the host, the engine, and a panel over both. It is not a resold copy of another company's managed database product.

Getting here: Databases in the main sidebar.

1. Engines

PostgreSQLMySQLMariaDBMongoDB
Versions16, 15, 14811, 10.11, 10.67
Databases and users✅✅✅✅
Backups and restore✅✅✅✅
Import / export✅✅✅✅
Parameters and parameter groups✅✅✅❌
Per-database parameters✅ many⚠️ charset, collation, encryption⚠️ charset, collation, encryption❌
Encryption in transit✅✅❌❌
Web client❌✅ phpMyAdmin✅ phpMyAdmin❌

The version is fixed when the cluster is created. Redis is not offered: it has no named databases or users and no logical dump, so backups, restore, import and parameter groups would not work the way they do for the other engines.

2. Creating a Cluster

Databases → Create Cluster.

  1. 1Select the database engine and its version.
  2. 2Choose the server size and location: the same plan picker as Create Server, with a RAM slider, recommended plans, all matching plans, and a region chooser. These are ordinary VPS plans, because that is what the cluster runs on. Clusters can currently only be built on DigitalOcean plans.
  3. 3Name the cluster, for example production-postgres-db.
  4. 4Allowed Firewall IP Addresses (optional): the addresses allowed to reach the database port. Leave it empty and the port is open to any IP address, protected only by the password; the form warns you about this.
  5. 5Accept the terms and conditions, then click Create Cluster.

What Happens Next

The page turns into an installation log, like the server installer:

bash
Ordering a s-1vcpu-1gb VPS in Bangalore 1…
VPS 123456789 is up at 203.0.113.10, VPC address 10.122.0.3
Waiting for SSH to accept connections…
Installing Docker and starting the database…
Waiting for the database to accept connections…

This typically takes 3–6 minutes. The cluster record is created before the VPS is ordered, so if anything fails you still see the cluster, the reason, and the ID of any server that was bought. Nothing is left running that you cannot see.

Billing

Billing follows the host provider, exactly as Create Server does: DigitalOcean is billed hourly through the monthly invoice. The price is fixed when you order, so the estimate and the invoice always agree.

Clusters appear on your invoice under Managed Databases, and stay there for the days they ran even after deletion.

3. The Cluster List

Each cluster is a card showing its name, status (Online, Creating, Resizing, Stopped, Deleting or Error), vCPU, RAM, storage, region, engine and version, plan, creation date, price, host address and the databases inside it.

Manage offers:

ActionWhat it does
Open clusterOpens the cluster's detail page.
Stop / StartStops or starts the database container. The server keeps running and keeps costing the same.
RestartRestarts the container; takes seconds.
Repair containerRewrites the container definition from the current engine template and recreates it. Use this if a cluster will not start.
DeleteDestroys the cluster and everything in it. See Settings below.

4. Overview Tab

Status, configuration, and CPU, RAM and disk graphs over a selectable window (last hour to last 12 hours).

5. Connection Tab

Everything needed to connect:

  • Public and VPC host and port, with a toggle between them.
  • Connection parameters, a connection string and flags formats, with show-password and copy.
  • User and database selectors.
  • Download CA certificate once encryption is on.

Use the VPC address from another server in the same region: traffic stays on the private network and is not subject to the public firewall.

6. Databases Tab

Lists the databases in the cluster. New database creates the database and a user for it, and shows the credentials once. They are also kept on the database's own page, so you do not have to copy them under pressure.

Click a database to open it.

Database → Overview

Name, host, port, its own user, SSL state, its parameter group, and a connection string built from that database's credentials.

Database → Access

  • Database Credentials: database name, user selector, password with copy, and a button to generate a new password (shown once).
  • Web client (MySQL and MariaDB): Install phpMyAdmin installs it on the cluster's host on demand; then Open phpMyAdmin and sign in with the database credentials. Remove client uninstalls it again.
  • Import / Export: see below.
  • Users with access: grant and revoke access per database.

Import and Export

Export downloads a fresh gzipped dump. It is a download, not a backup: it does not appear in the Backups tab, count against retention, or use backup storage.

Import replaces the database's contents from a dump you upload (.sql.gz or .sql, or .archive for MongoDB; .zip is not supported yet). Before anything is changed, the file is checked:

  • Engine match. A MySQL dump uploaded to a PostgreSQL cluster is refused outright, rather than failing halfway through.
  • Format. A file named .gz that is not actually gzip is refused.

Then, in order: a safety backup is taken; roles the dump refers to but that do not exist are created; the database is dropped and recreated; the dump is loaded; and ownership of everything imported is moved to the cluster's user so your credentials can read it. If the safety backup fails, the import does not start.

7. Users Tab

Cluster-wide users. Users created here can reach every database; users created together with a database are limited to that database.

8. Logs & Queries Tab

  • Engine log: what the database process printed, read straight from the container (100–2000 lines). This is the only place a startup failure appears, because the views below need a working database.
  • Running queries and query statistics, read live.

9. Configuration Tab

Not available for MongoDB. Two sub-tabs:

Parameters

Every parameter the engine has, read from the running engine rather than a fixed list, so it is correct for the installed version. For each one:

ColumnMeaning
Apply typeDynamic takes effect on reload; Static needs a restart.
Data typeBoolean, Integer, Float, String or Enum.
Value typeModifiable, or read-only and shown for reference.
SourceEngine default, configuration file, or elsewhere.

The list is searchable and paginated, with Common only and Changed only filters. Edit a value and click Apply; static parameters restart the database, which is stated before you confirm. Below the table is the file the values are stored in: postgresql.auto.conf for PostgreSQL, or custom.cnf for MySQL and MariaDB.

Parameter Groups

A parameter group is a named, reusable set of parameters. Groups belong to the cluster they were created on.

  • Attached to this cluster: applies the group's server-level parameters, such as max_connections or shared_buffers.
  • Per database: expand a group to see its parameters and tick which databases in this cluster it applies to.
Server-levelPer database
Examplesmax_connections, shared_bufferswork_mem, search_path, statement_timeout
Attach toThe clusterA database

A per-database value wins over the cluster-level value for that database. For example, a group on the cluster setting work_mem = 4MB and a group on app1 setting 64MB do not conflict: app1 gets 64 MB and every other database gets 4 MB.

Manage groups across clusters from Databases → Parameter groups, where each group's page lets you add and remove parameters and apply it to every cluster that uses it.

10. Backups Tab

Two kinds of storage, because they are not equal protection:

  • Local: dumps on the cluster's own VPS. Included, fast to restore from, and lost with the server.
  • Offsite: also copied to cloud object storage, so it survives losing the server. Billed per GB on your monthly invoice; you are asked to confirm before enabling it.

Create Manual Backup takes a dump now, of one database or All Databases (Full Cluster Dump).

Automatic Backup Schedule: None, Daily, Weekly, 14 Days or Monthly, plus how many to keep (Keep Latest Backups). Saving shows when the next backup runs. Scheduled backups are taken by an hourly check, so a backup due mid-hour runs at the next check.

Restore any completed backup:

  • Restore into a new database (the default): leaves the current data untouched so you can check the restore before switching over.
  • Overwrite: replaces the existing data, behind a typed confirmation and only after an automatic safety backup.

An offsite backup is fetched back automatically when you restore it.

11. Access Tab

Controls who may reach the database port. Two allow-lists; a connection is allowed if it matches either:

  • Allowed IP Addresses & Subnets: single addresses such as 203.0.113.87, or CIDR ranges such as 198.51.100.42/24.
  • Allowed Countries (Geo-IP): connections from addresses registered to those countries.

With both lists empty, the port is open to everyone, and the tab says so. The tab shows what the host is actually enforcing, read from the server itself.

Country matching follows where an address block is registered, which a VPN can get around. Use it to narrow exposure, not as the only protection for sensitive data. The rules also apply to the web client's port, so installing phpMyAdmin never opens a way in that the database port refuses.

12. Settings Tab

Encryption in Transit (TLS): generates a certificate on the host and restarts the database with TLS required. Expect a few seconds' interruption. Then download the CA certificate from the Connection tab and point your client at it. PostgreSQL and MySQL only.

Instance Power Operations:

LevelEffect
Database container: Stop / Start / RestartThe database process only. Takes seconds; the server keeps running.
VPS host server: Power Off / Power On / RebootThe whole VPS, including metrics and scheduled backups.

A powered-off server is still billed by the provider. Only deleting the cluster stops the cost.

Deletion Protection: while it is on, the cluster cannot be deleted.

Delete Cluster: destroys every database, every user, every backup (local and offsite) and the VPS. Type the cluster name to confirm. There is no undo.

13. Getting Started, in Order

  1. 1Create the cluster and wait for the installation log to finish.
  2. 2Access tab: add your application server's IP address. Do this first; until you do, the database port is open to the internet.
  3. 3Databases tab: create a database and note its credentials.
  4. 4Connection tab: copy the connection string. Use the VPC address if the client is in the same region.
  5. 5Settings: turn on encryption (PostgreSQL and MySQL), and deletion protection for anything you care about.
  6. 6Backups tab: set a schedule, and decide on offsite storage.
  7. 7Restore a backup once, into a new database, so you know the process works before you need it.

14. Known Limits

  • Single node. No automatic failover and no read replicas. A cluster is one VPS: if it is lost, only an offsite backup survives.
  • No point-in-time recovery. You can restore to the last backup, so a daily schedule means up to a day of data could be lost.
  • No engine version upgrades yet; the version is fixed at creation.
  • MongoDB has no encryption in transit, no web client and no parameters. MariaDB has no encryption in transit.
  • PostgreSQL has no built-in web client; use a desktop client such as pgAdmin or DBeaver.
  • .zip dumps cannot be imported; use .sql or .sql.gz.
  • Clusters can only be created on DigitalOcean at the moment.

15. When Something Goes Wrong

SymptomWhere to look
Cluster will not start, or a change did not take effectLogs & Queries → Engine log, the only place startup failures appear.
Cluster is stuck or keeps crashingManage → Repair container.
Cannot connectAccess tab: is your address allowed? Check what the host reports it is enforcing.
Import failedThe message gives the reason. Your safety backup is in the Backups tab.
Permission denied on imported tablesAn ownership problem. Contact support with the database name.
A charge you do not recogniseCheck your invoice under Managed Databases and backup storage; offsite backups are billed per GB.

Frequently asked questions

How long does it take to create a managed database cluster?

Creating a cluster typically takes 3–6 minutes, shown as an installation log. Clusters can currently only be built on DigitalOcean plans.

Do managed database clusters have failover or point-in-time recovery?

No. A cluster is a single node with no automatic failover or read replicas, and you can restore only to the last backup. Enable offsite backups so a copy survives losing the server.

What should I do first after creating a database cluster?

Open the Access tab and add your application server's IP address first, because until you do the database port is open to the internet. Then create a database and note its credentials.

What is a SharkCluster managed database cluster?

A database cluster is a VPS that SharkCluster buys, hardens and installs a database engine on, then manages for you. It runs PostgreSQL, MySQL, MariaDB or MongoDB, and you get the host, the engine and a panel over both.

Something here not matching what you see in the panel?

Start your journey today

How do you start with SharkCluster?

Create a SharkCluster account, then create your first server on DigitalOcean, Contabo or OVHcloud. SharkCluster provisions it, installs your stack, and handles the firewall, backups and health alerts from one panel. You can start without a credit card and with no lock-in contract.

No lock-in contractsNo credit card requiredSupport replies within one business day