Keep the database behind your website healthy.

Everything your site shows lives in its database. LayerAssist checks that it’s running and reachable, looks for errors and slow queries, and explains problems before they take your site down.

At a glance

  • AutomationThe ready-made “Database health” automation checks that the database is running and reachable, and reports errors or slow queries it finds in the logs.
  • Built-in monitorFor an alert the moment the database stops, add the built-in service monitor for your database service.
  • In chatIn chat, it fixes connection errors, repairs damaged tables and finds what makes the database slow.

When the database fails, the whole site goes blank

Your pages, products, orders and users all live in a database, usually MySQL or MariaDB. If the site can’t reach it, visitors see “Error establishing a database connection” or an empty page, and nothing works until it’s fixed.

Databases also wear down slowly: tables get damaged after a crash, queries slow down as data grows, and the server runs short of memory. These problems leave warnings in the logs long before they take the site down.

Signs your database needs attention

  • “Error establishing a database connection”
  • Pages that used to be fast now take seconds
  • “Table is marked as crashed and should be repaired”
  • Admin pages time out while saving

Common database problems

Wrong connection details

A password, user or host changed in the hosting panel but not in the site’s settings breaks the connection instantly.

The database service stopped

Lack of memory, a full disk or a failed update can stop MySQL or MariaDB.

Damaged tables

A crash, or a full disk in the middle of a write, can damage a table so that some pages fail.

Slow queries and bloat

Tables that grow without limit — logs, sessions, revisions, expired data — make every page slower.

How LayerAssist looks after your database

It checks the database the way a database administrator would, and explains it the way a friend would.

Checks it’s up and reachable

It verifies that the database service is running and that your site can connect to it.

Reads the warnings

It looks through the database’s logs for errors, damaged tables and slow queries, and reports what’s new.

Repairs what’s broken

In chat it corrects connection settings, repairs damaged tables and clears out data your site no longer needs, deleting only with your OK.

Finds what’s slow

It looks at the largest tables and the slowest queries and tells you what would make the biggest difference.

Example: a shop admin that got slower every month

  1. You

    My shop’s admin takes ages to load orders. Is something wrong with the database?

  2. What it checks

    • MariaDB: running and reachable
    • Sessions table: 2.1 million expired rows, 3.4 GB
    • Slow query log: order searches read the whole table
    • Damaged tables: none
  3. What it changes

    Cleared the expired sessions after your OK and added the missing index for order searches

  4. LayerAssist

    Your orders page loads in under a second now, down from 14. The shop had kept two million expired visitor sessions, and order searches had no index. With your OK I removed the expired sessions and added the index; nothing else changed.

What you get

  • Early warnings from the logs, before the site goes blank
  • Connection errors fixed in minutes, with the cause explained
  • A faster site from a cleaner database
  • Your content stays put: deletions only with your OK

Real situations

A site on a small VPS

The database restarts during traffic peaks. The health check reports memory warnings, and LayerAssist tunes the settings to fit the server.

A busy WooCommerce shop

Orders and logs grow every day. A daily health check flags the fastest-growing table before it slows the shop down.

A developer’s app on PostgreSQL

After a release, the app’s database logs slow queries. The hourly check on the Pro plan points them out the same day.

How to set up database health checks

  1. Connect your hosting or server

    SSH gives the fullest picture; a hosting panel works for many shared-hosting sites.

  2. Add the automation

    In Automations, choose New automation, pick the site and select “Database health”.

  3. Choose how often

    From once a day up to every 15 minutes, depending on your plan.

  4. Add the service monitor too

    For an instant alert when the database stops, add a “Service health” monitor for mysql or mariadb on the same server.

Questions about database health

Mostly MySQL and MariaDB, which nearly every website uses. With SSH it can also work with PostgreSQL and other databases your server runs.

Next: Cron jobs and queues

From $9 a month · 14 days to change your mind

Next time something breaks, you’ll know who to ask.

Add your website and ask your first question today. Not for you? Cancel within 14 days to get your first payment back, minus only the AI work you used.

Free for 7 days · No credit card needed · No technical knowledge needed.