The short answer

Fix slow queries before buying a bigger database: ask Lovable to rank the heaviest queries and add indexes where they help. Resize the instance only when its size really is the problem, because a larger instance uses more credits every hour your app runs.

Why it happens

What’s actually going on

As an app grows, its database can run short of processing power, memory or disk capacity. Lovable shows high-load notices covering the last 48 hours, plus a card in the Database view with your instance size and a Resolve button.

Lovable’s own docs say a slow query is often the real cause. A larger instance costs more credits every hour your app runs, so the cheaper fix usually comes first: find the heaviest queries and fix them, for example with an index.

Already done for you

What Lovable already handles

High-load notices

Shown on the database when it’s under pressure, covering the last 48 hours.

Resolve

Lovable checks whether the database is still under pressure, finds the likely cause and suggests query or code changes. It counts as build usage.

Slow query ranking

Lovable reads the query statistics and ranks the heaviest queries by total execution time, with call counts.

Instance resize

When size really is the problem, Lovable shows the credit impact and offers a resize for approval, on Pro plans and higher.

Fix it yourself

Step by step

In this order. Most apps get most of the way with these alone.

  1. Read the notice

    Open the Database view. The card shows your instance size and the high-load notice.

  2. Find the slowest queries

    Ask Lovable: “Find the slowest database queries and optimise the worst ones.”

  3. Add the right indexes

    Lovable applies targeted fixes, such as an index that speeds up a common lookup.

  4. Check storage separately

    The Disk card shows reads and writes, not how full storage is. The Database storage row shows that.

  5. Resize only if size is the cause

    If the database is simply too small, approve the resize knowing it costs more credits every hour.

Where it still goes wrong

  • Query statistics build up with real traffic, so a new or recently restarted database may have nothing to report yet.
  • Pages that load a whole table and filter it in the browser stay slow at any instance size. Filter and paginate in the query.
  • Each Resolve request uses credits, like any other build request.

When to bring in a developer

If the steps above turn up more than you have time for, or the app already has paying users, I take Lovable apps to production: login and access rules, database and backups, payments, security, SEO and deployment.

App rescue: From $1,000, fixed price, scoped in writing before any work starts.

More in app rescue, or hire a Lovable developer.

Questions

Common questions

Do I need a bigger Lovable database?

Often not. Lovable recommends finding and fixing slow queries first; a resize is for when the database itself is too small.

Does a larger instance cost more?

Yes. A larger instance uses more credits every hour your app runs, and Lovable shows the credit impact before you approve it.

Why does Lovable show no slow queries?

Statistics build up with real traffic. A new or recently restarted database may not have enough yet.

Want your Lovable app production-ready?

Send me the app and what’s worrying you. You get a written scope with a fixed price before any work starts.

Book a 30-minute call