Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. N8N
  3. database size

database size

Scheduled Pinned Locked Moved N8N
5 Posts 3 Posters 196 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rosanoR Offline
      rosanoR Offline
      rosano
      wrote on last edited by
      #1

      Is it normal for the database to be half a gigabyte?

      I have deleted all my executions several times but it doesn't seem to change anything. Also just set export DB_SQLITE_VACUUM_ON_STARTUP=true in /app/data/env.sh, but after restarting it seems to take the same amount of space. When I run SELECT pg_size_pretty(pg_database_size('XXXXX')) it says

      pg_size_pretty 
      ----------------
       594 MB
      (1 row)
      

      Is there some data stuck in there that I can see and remove somehow?

      J 1 Reply Last reply
      1
      • BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by
        #2

        That DB_SQLITE_VACUUM_ON_STARTUP does nothing, is absolutly corret and is no error.
        Because, the Cloudron package does not use SQLITE.
        It uses postgresql.

        Like my work? Consider donating a drink. Cheers!

        1 Reply Last reply
        3
        • rosanoR rosano

          Is it normal for the database to be half a gigabyte?

          I have deleted all my executions several times but it doesn't seem to change anything. Also just set export DB_SQLITE_VACUUM_ON_STARTUP=true in /app/data/env.sh, but after restarting it seems to take the same amount of space. When I run SELECT pg_size_pretty(pg_database_size('XXXXX')) it says

          pg_size_pretty 
          ----------------
           594 MB
          (1 row)
          

          Is there some data stuck in there that I can see and remove somehow?

          J Online
          J Online
          joseph
          Staff
          wrote on last edited by
          #3

          @rosano you should investigate which table is taking so much space . (you can get table size queries from chatgpt)

          rosanoR 1 Reply Last reply
          0
          • J joseph

            @rosano you should investigate which table is taking so much space . (you can get table size queries from chatgpt)

            rosanoR Offline
            rosanoR Offline
            rosano
            wrote on last edited by
            #4

            @joseph it's the execution_data table but I'm not sure how to figure out where the bloat is. the LLM queries are giving me mostly table size but nothing more detailed.

            1 Reply Last reply
            0
            • rosanoR Offline
              rosanoR Offline
              rosano
              wrote on last edited by
              #5

              Deleting all executions still didn't move the database down from 500mb, but after running VACUUM FULL execution_data it's now 13mb. I''ll take it.

              1 Reply Last reply
              1
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search