# Speed and performance

**URL:** <https://forum.bubble.io/t/speed-and-performance/211022>\
**Category:** Need help\
**Created:** [June 13, 2022, 7:54am UTC](https://forum.bubble.io/t/speed-and-performance/211022 "2022-06-13T07:54:44Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonperks81](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@simonperks81](https://forum.bubble.io/u/simonperks81)\
**Post date:** [June 13, 2022, 7:54am UTC](https://forum.bubble.io/t/speed-and-performance/211022/1 "2022-06-13T07:54:44Z")

</div>

Hi All

After some help on the performance and speed of my app. I am on the paid plan at the moment and the app is really struggling with both the web view and when i view data in the editor.

The app is based for store audits, as such the store is required to fill out various fields and take pictures. In total there is 90 questions for a store with say 20 of them been images.

My database structure is simply a table that stores the question, store, answer and image (if it has one). So far we have carried out 4 stores - so around 400 lines maximum in the table.

The app though is grinding to a halt, i am trying to retrieve data in the editor and it is taking around 40 seconds to load 50 records and often bombs out.

Is there any suggestions on how to handle this? Should i save my images in a different location and have a link or something to pull them through?

Any help would really be apptreciated

Thanks

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [June 13, 2022, 7:58am UTC](https://forum.bubble.io/t/speed-and-performance/211022/2 "2022-06-13T07:58:52Z")

</div>

Hello @simonperks81

> [@Performance Q&A guide](http://forum.bubble.io/t/performance-q-a-guide/12140/2):
>
> So some overall guidelines. Note that these kinds of guidelines definitely have a sell-by date, since we’re always trying to optimize slow stuff, but here are some of the big performance levers: The more data a search fetches, the longer it takes. That probably sounds pretty basic, but we routinely see pages that fetch thousands of data items on page load. Or, we sometimes see searches that only fetch a few things – but each thing has KBs or MBs of text data stored in its field. Bubble …

> [@RG vs "Search for" (performance questions)](http://forum.bubble.io/t/rg-vs-search-for-performance-questions/148543/6):
>
> @rpetribu The conventional wisdom after much time learning from knowledgeable folks in this forum (my understanding of it). And through my own experience building apps is to: build light objects minimize list fields (only when less than 100 entries), only use them purposefully relate objects indirectly but both ways when necessary preload searches feed from preloaded searches avoid inflow searches (… hence preloading them) mnimize back and forths between client and server use custom events ex…

> [@The Ultimate Guide to Bubble Performance - 156 pages of optimizing tips](http://forum.bubble.io/t/the-ultimate-guide-to-bubble-performance-156-pages-of-optimizing-tips/125918):
>
> Hey everyone, I’m very happy to announce that I’m releasing my book [The Ultimate Guide to Bubble Performance](https://gumroad.com/l/the-ultimate-guide-to-bubble-performance) today. [[image]](https://gumroad.com/l/the-ultimate-guide-to-bubble-performance) It’s a 156 page PDF available on Gumroad that dives deeply into the hard-earned lessons I’ve learned over five years of full-time Bubbling, focusing on: how to determine whether Bubble is the right tool for your project: the pros, cons and limitations from a performance perspective how to set up your app to load pages, process workflows and edit database records at ma…

---

<div class="post-metadata">

**Author:** ![simonperks81](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@simonperks81](https://forum.bubble.io/u/simonperks81)\
**Post date:** [June 13, 2022, 8:06am UTC](https://forum.bubble.io/t/speed-and-performance/211022/3 "2022-06-13T08:06:58Z")

</div>

Thanks for these, read through a lot of them previously.

It id the editor database that i am finding frustrating, this is grinding to a halt - i now have a message saying “some items in your database exceed 10mb” - how is this calculated? is it per item or for instance i have a list of images and it is the multiple of that?

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [June 13, 2022, 8:10am UTC](https://forum.bubble.io/t/speed-and-performance/211022/4 "2022-06-13T08:10:05Z")

</div>

I see.

Split sections into reusables. This will take the load off the editor.

---

<div class="post-metadata">

**Author:** ![simonperks81](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@simonperks81](https://forum.bubble.io/u/simonperks81)\
**Post date:** [June 13, 2022, 8:11am UTC](https://forum.bubble.io/t/speed-and-performance/211022/5 "2022-06-13T08:11:52Z")

</div>

Sorry, not explained this well.

It is the data itself inside the editor - Data \> App Data \> Table

I have even created a view to just bring back 2 columns and it still takes too long

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [June 13, 2022, 8:13am UTC](https://forum.bubble.io/t/speed-and-performance/211022/6 "2022-06-13T08:13:58Z")

</div>

You are using the backend to manage your data?

… the backend is not built for that

---

<div class="post-metadata">

**Author:** ![simonperks81](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@simonperks81](https://forum.bubble.io/u/simonperks81)\
**Post date:** [June 13, 2022, 8:17am UTC](https://forum.bubble.io/t/speed-and-performance/211022/7 "2022-06-13T08:17:45Z")

</div>

Hi, again sorry for the confusion - screenshot attached.

I am trying to simply review the data that has been entered, when clicking it takes forever - hence there must be a problem.

 ![Capture](https://us1.discourse-cdn.com/bubble/original/3X/0/a/0a8bc7e34bbe17e052b0d7618d63a93f4539e2a6.png)

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [June 13, 2022, 8:27am UTC](https://forum.bubble.io/t/speed-and-performance/211022/8 "2022-06-13T08:27:18Z")

</div>

No problem. That is how the dB view works in the backend…. Slow

Consider adding views with a few fields (columns) to speed things up.

---

<div class="post-metadata">

**Author:** ![simonperks81](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@simonperks81](https://forum.bubble.io/u/simonperks81)\
**Post date:** [June 13, 2022, 8:39am UTC](https://forum.bubble.io/t/speed-and-performance/211022/9 "2022-06-13T08:39:51Z")

</div>

Hi, already done that and added a view with 2 columns and it is still not working correctly.

has to be that table though as others loading fine. Assuming it is the images and Bubble is somehow slowed down by these even though they are not part of the query/view.  
☹

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [June 13, 2022, 9:29am UTC](https://forum.bubble.io/t/speed-and-performance/211022/10 "2022-06-13T09:29:41Z")

</div>

Create a satellite data type that is super light along with each new audit. Include the audit score plus a few other info fields.

When you want to see the full audit details show them in another page or in a popup. Just make sure to load the rg with the satellite data type.

In the backend data they will load at regular speed.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [August 22, 2022, 7:55am UTC](https://forum.bubble.io/t/speed-and-performance/211022/11 "2022-08-22T07:55:40Z")

</div>

Closed on August 22, 2022, 7:55am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
