Skip to main content

Database insights (CPU, memory, storage, connections)

Insights show how much of its plan a database uses: CPU, memory, storage, disk reads and writes, network traffic and open connections. Cloider samples every running database once a minute and keeps daily figures for the last 31 days. Use them to see whether a database is the right size and when to resize it.

Insights are informational only. A database is billed by its plan, not by its measured usage.

At a glance​

MetricsCPU, memory, storage used, disk read, disk write, network in, network out, connections
SamplingOnce a minute while the database is running. Nothing is sampled while it is paused
HistoryOne average, highest and lowest value per metric and day, for the last 31 days
WhereThe Insights tab, cloider db insights, GET /api/databases/<id>/insights, the get_database_insights MCP tool
CostFree

What each metric means​

MetricUnitWhat it measuresWhen to act
CPUCores (millicores in the API, 1000 = 1 core)Processor time the database usesAverages near the plan's vCPU at busy times
MemoryGB (MiB in the API)RAM the database server uses, including cachesStays near the plan's RAM, or Redis data approaches it
Storage UsedGB (GiB in the API)Space your data takes on the volume, not the volume's sizeApproaches the plan's storage. A full disk stops writes
Disk Read, Disk WriteKB/s or MB/s (bytes per second in the API)How much data is read from and written to the volumeHigh reads with high memory use can mean the working set doesn't fit in RAM
Network In, Network OutKB/s or MB/s (bytes per second in the API)Traffic received from and sent to clientsUnexpected spikes can mean a runaway query or a client fetching too much
ConnectionsCountOpen client connections. The max next to it is the most the server acceptsStays close to the max: use a connection pool or a larger plan

The values are averages over each sampled minute, and each day keeps its average, its highest (peak) and its lowest value. Connections made by Cloider's own monitoring aren't counted.

View insights​

  1. Open the database and go to the Insights tab.
  2. Six charts show the last 31 days, one bar per day with the day's Avg. and Peak: CPU (cores), Memory (GB), Storage Used (GB), Disk I/O, Network and Connections. The CPU, memory and storage charts also draw a line at the plan's limit.
  3. Under the charts, the Usage table shows, for every metric, Avg. Usage (This Month), Avg. Usage (Today), Highest Usage (This Month) and Lowest Usage (This Month), with the day of the highest and lowest values. Hover a column's icon to see the metric's name and the plan's limit.
The Insights tab of orders-db with daily bar charts for CPU, memory, storage used, disk I/O, network and connections, and the Usage table with this month's average, today's average, highest and lowest values
Daily averages and peaks against the plan's limits.

A new database shows "Performance insights become available once sufficient data has been collected." until its first samples are in.

Reading the charts​

  • Average vs peak. A day's average shows normal load, its peak the busiest minute. A high peak with a low average is a short burst, such as a nightly job, and usually doesn't need a bigger plan.
  • Storage only grows with your data. Storage Used counts the data on the volume, not the volume's size. Deleted rows may not free space right away, depending on the engine (PostgreSQL reclaims it with VACUUM, MySQL with OPTIMIZE TABLE).
  • Memory looks high on a healthy database. Databases keep recently used data in RAM as a cache, so memory close to the plan's RAM is normal for PostgreSQL, MySQL and MongoDB. Watch for slow queries and high disk reads together with it. For Redis, memory is the data itself: when it reaches the plan's RAM, resize.
  • Connections near the max. Every open connection counts, including idle ones held by connection pools. See how many connections a database handles.
  • Gaps. Days when the database was paused, or before it existed, have no bars.

Troubleshooting​

Performance insights become available once sufficient data has been collected.​

The database is new or has been paused, and no sample has been taken yet. Samples are taken once a minute while the database is running.

Connections show "-" with "Not available yet"​

Some older databases don't report a connection count yet. The other metrics are still collected.

Could not load insights. Please try again later.​

The dashboard couldn't load the insights. Reload the page. If it persists, use cloider db insights <database> -o json or contact support.

Next steps​

Frequently asked questions

How often are database insights updated?

Cloider samples every running database once a minute. The Insights tab and cloider db insights show today's averages and a daily history for the last 31 days.

Am I billed for the CPU and memory shown in insights?

No. A database is billed by its plan at a fixed rate. Insights are informational and help you choose the right plan.

Why is my database memory always close to the plan limit?

PostgreSQL, MySQL and MongoDB use free RAM to cache data, so high memory use is normal. For Redis, memory is your data, so resize when it gets close to the plan's RAM.

Does Storage Used show the size of my volume?

No. It shows the space your data takes. The volume's size is the plan's storage, shown as the limit line on the chart.