Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Feature request) Transition from SQLite database to MariaDB/Postgree #4723

Closed
miltuss opened this issue Mar 30, 2024 · 7 comments
Closed

(Feature request) Transition from SQLite database to MariaDB/Postgree #4723

miltuss opened this issue Mar 30, 2024 · 7 comments

Comments

@miltuss
Copy link

miltuss commented Mar 30, 2024

Describe feature

Trilium is defined as a database that can contain large databases containing all kinds of information. But trilium uses sqlite which has countless limitations such as the size of stored files, data reading performance...

Why not use a MariaDB or Postgree database for trilium?

This could solve several problems on Trilium!

Additional Information

No response

@Nriver
Copy link
Contributor

Nriver commented Mar 30, 2024

SQLite is good enough for personal use.

@meichthys
Copy link
Collaborator

This would better be addressed in TriliumNext if/when more collaborative features are added.

@miltuss
Copy link
Author

miltuss commented Mar 30, 2024

SQLite is good enough for personal use.

Trilium is supposed to be the largest self-hosted knowledge base. You can't just ask for personal use.

Even for personal use, sqlite quickly reaches its limits, as you can't upload files over 250 MB.

@Nriver
Copy link
Contributor

Nriver commented Mar 30, 2024

SQLite is said to be able to handle terabyte-level data. It's already overkill. All of your mobile phone apps use SQLite databases to store data. I believe it's well-tested for personal use.

However, it's not a good practice to store large single files in a database.

Trilium is not designed for large file storage. The limit of 250MB is set to protect your data. You can bypass it, but there is no guarantee everything will work.

@meichthys
Copy link
Collaborator

Trilium is supposed to be the largest self-hosted knowledge base.

Is this in our documentation somewhere?

@miltuss
Copy link
Author

miltuss commented Mar 30, 2024

Trilium is supposed to be the largest self-hosted knowledge base.

Is this in our documentation somewhere?

image

@zadam
Copy link
Owner

zadam commented May 5, 2024

As others mentioned, SQLite is good enough. Closing since this is not going to change.

@zadam zadam closed this as completed May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants