Retool on premise, page_save table scaling quickly

  1. My goal: reduce database store
  2. Issue: page_saves table scaling too quickly
  3. Steps I've taken to troubleshoot:

We have on premise retool, and the space of the database is 50Gb, and we have many apps, there are profesional heavy apps, one of them has 40 pages, so when I make releases, the page_saves tables is growing too fast, with only 20 releases, it scaling 5GB, its too much, keeping in mind that the app is still in developing, so the apps size will grown more, is there any solution to manage the database/ table scaling?

  1. Additional info: (Cloud or Self-hosted, Screenshots)

image
now it takes up 18 gb

it grows from 8 to 18 in only 2 weeks, 2 weeks ago we did a clean for the database, reducing from 45 to 8, but in only 2 weeks it growns 10, and we cannot reducing every 2 week the database. because it can break the retool platform.

The cleaning is removing from page_saves directly

Regard

Hey @Zheng, thanks for reaching out! Can you confirm which self-hosted version you're on? We shipped App page save compaction on April 3, 2025, available on self-hosted 3.178+, which should help here! :folded_hands:

Hello, ChiEn

Thanks for the reply, we are at self-hosted 3.148.0. I will notify my collegue to planing a upgrade of the version…

One question more, how long will be available the self hosted instance for business plan? is there any problem if we continue with the self hosted instance?

Regard

Hi @Zheng sounds good, please get your version updated and let me know how it's working after the upgrade!

On the self-hosted instance on the Business plan, here's some info from another thread that should help.