Need help with performance after 1 year of bubbling

Hi everyone,
I have been bubbling for 1 year now. My app is working fine but I feel it is getting slower as data grows.

What are the best practices you follow to keep your Bubble app fast? Do you use any specific method for database optimization?

Thanks in advance for your help!

1:1 relationships instead of 1:many relationships if the related list is larger than 50 items.

Hybrid data structure using api objects when appropriate can improve performance by 30-50% in some cases.

If references in a repeating group are for a related data types field, put that single field onto main data type of RG as well…if RG is type Event and related to user and show user name in RG cell, might be better to just add to Event data type a field of text for user name.

There are lots of others. Searching through forum will uncover some others.

Hi,

Start with the App Metrics page, in the Logs section.

Hi Sajjad,

My first recommendation would be to reduce the number of related objects associated with the User record.

Having too many related objects linked to a single user can impact the performance of the entire application, even for users who don’t have nearly as much data.

We’ve had similar situations before. In one case, a user had a list of over 1,000 invoice records linked directly to their User record, which ended up slowing down the entire application. This was back in 2019ish, so not sure if this is still relevant.

I’d recommend reviewing your current data structure and reducing the number of objects directly associated with the User wherever possible.

Congrats on the first year! The others gave great advice on data structure. Here are a few more things that tend to make a big difference in practice:

Page load specifically: Watch out for auto-binding and “Do when condition is true” workflows that fire on page load — they run searches in the background that you might not realize are happening. Each one costs WUs and slows initial render.

:filtered vs constraints: This is a common trap. Using :filtered on a “Do a search for” pulls the entire list from the database and then filters client-side. That means you’re paying WUs for every row. Move those filters into the search constraints instead — it’s processed server-side and returns only matching records.

Repeating groups: If your RGs load with no data source initially and get populated by a workflow, that extra search is unnecessary. Set the data source directly on the RG and let Bubble handle it.

Backend workflows for heavy tasks: If you have any workflows doing batch operations (updating multiple records, sending bulk emails), move them to backend/API workflows. They run server-side without blocking the user’s browser.

One thing people overlook: Check your privacy rules. Overly complex privacy rules with lots of conditions can slow down every single data query. Keep them as simple as possible.

Like boston85719 and nocodeventure said, the data model is usually the biggest lever. If you want someone to audit the specific bottlenecks, feel free to DM me — I’ve optimized quite a few Bubble apps that hit this exact wall around the 1-year mark.

One practical habit that’s helped me on older apps: pick the 2–3 slowest pages and test them with a realistic account (one with a year’s worth of data, not your test user). Most slowdowns only show up there.

A few things I check in that order:

- Searches nested inside repeating group cells (each cell running its own search adds up fast)

- Lists stored on the User that keep growing; move those to a separate data type that points back to the user

- Old “Do when condition is true” events that nobody remembers adding

- Option sets for anything static (statuses, categories) instead of database things

Also worth archiving or deleting really old test records. Doesn’t fix bad structure, but it keeps searches lighter while you refactor.