• zef@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    Yes, it’s using SQLite under the hood in Online mode and IndexedDB in the browser in Sync mode.

    • Nibodhika@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      SQLite should be more than enough, I can’t find the file on the space folder though, is it created inside the docker container on server startup? Is there a reason not to store it in space so it doesn’t need to be regenerated each time?

      • zef@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        It’s .silverbullet.db in the root of your space folder. Note that because there’s no schemas in SB, SQLite is used as a fancy key-value store and many queries become somewhat (but not very) optimized table scans. In this SQLite file you’ll see a “kv” table that contains everything.