Documentation Index
Fetch the complete documentation index at: https://docs.dbhost.app/llms.txt
Use this file to discover all available pages before exploring further.
Creating a database
- Click + New Database from the dashboard
- Enter the database name you want to see in the dashboard
- Click Create
Dashboard list
The main dashboard shows every database you can access.- Owned databases appear normally
- Shared databases stay in the same list and include your effective access role
- Search and status filters help when the list grows
- Size values are hydrated from live agent metrics when the VPS is reachable
Database detail page
Click any database card to see its details:- Connection details — Host, port, database name, username
- Connection string — Copy-paste ready (password masked, click to reveal)
- Metrics — Current size, live clients, waiting clients, and last connection seen
- Actions — A dedicated SQL Explorer card plus a separate operations card for backups, lifecycle, password resets, and destructive actions
- Team access — Owner plus any shared members and their database role
- IP whitelist — Per-database CIDR rules applied at the PgBouncer layer
- Connection activity — Recent observed client connections
- Recent activity — Audit-log history for the database
- Backups — View backup history, trigger new backups, download backup files, delete backup files
Team access
Every database detail page includes a Team Access section. Owners and database admins can add an existing DBHost user by email and assign one of these roles:| Role | What it can do |
|---|---|
| admin | Manage collaborators, lifecycle, network policy, backups, and credentials |
| developer | View credentials and backups |
| viewer | View the database detail page and connection activity only |
IP whitelist
The IP Whitelist section controls which client networks can connect through PgBouncer.- Add CIDR blocks such as
203.0.113.0/24 - Optional labels help explain why a rule exists
- If the allowlist is empty, the database accepts connections from any IP
- As soon as you add one or more CIDR blocks, only matching networks can connect
6432. They do not change dashboard sign-in behavior.
Start, stop, and restart
The operations menu on the detail page includes lifecycle controls when your role allows it.- Start re-enables a stopped database and waits until pooled client connections are usable again
- Stop prevents new pooled connections and moves the database into the
stoppedstate - Restart refreshes the pooled runtime without deleting the database
Connection activity
The detail page includes a Connection Activity section with the most recent observed PgBouncer client connections for that database. Each row includes:- database username
- client IP address
- application name when provided by the client
- connection timestamp
- source label
Data Explorer
Every database detail page includes a dedicated SQL Explorer action card, so the query workspace is always a first-class path instead of being hidden inside the operations menu. The explorer has two tabs:- Tables — List public tables and preview rows with pagination
- SQL Query — Run one guarded read-only SQL statement at a time against the selected database
/ opens a command drawer inside the editor for quick inserts, and using / after FROM or JOIN turns that drawer into a scoped table picker so you do not have to leave the explorer to remember names. A small editor settings menu lets each user turn slash commands, table suggestions, and the helper rail on or off on their own device.
Saved queries are stored per user and per database. The Saved pane lets you create named presets, mark favorites so they stay first, and reopen or edit the SQL already in the editor. The Recent pane shows the latest query runs for the current database and lets you choose how many recent runs DBHost should remember for your account.
The explorer also supports a safe inspect subset inspired by psql:
\dt,\dv,\di, and\d <relation>- Matching
/dt,/dv,/di, and/d <relation>aliases - Optional convenience forms such as
\d FROM "analytics_downloads"and/dt FROM "analytics_downloads"
/opens commandsEscdismisses the open helperCtrl+EnterorCmd+Enterruns the current queryCtrl+Cclears the editor when no text is selected
public schema. The in-app guardrails allow:
SELECTEXPLAIN SELECT
INSERT, UPDATE, DELETE, CREATE, DROP, TRUNCATE, ALTER, transaction/session control, and system-schema access.
Explorer guardrails only apply inside the dashboard explorer. Direct database
connections still use your normal database credentials.
Resetting a password
If you need a new password:- Go to the database detail page
- Click Reset Password
- A new password is generated and the old one stops working immediately
Deleting a database
- Go to the database detail page
- Click Delete Database
- Confirm the deletion
Deletion is permanent. The PostgreSQL database, user, and all data are
removed. Existing backup files remain in backup storage, but restore is still
operator-run and cannot be initiated from the dashboard.
Database statuses
| Status | Meaning |
|---|---|
| active | Running and accepting connections |
| creating | Being provisioned (usually seconds) |
| stopped | Provisioned but not accepting new pooled connections |
| deleting | Being removed |
| error | Something went wrong during provisioning |