Prompt
What should I use for a lightweight database with views and filters?
Latest observation
Nov 21, 2026
OpenAI APIWeb search: off
If you want a lightweight database that still gives you views and filtering, the best choice is often SQLite.
Why SQLite
- Very lightweight: single file, no server to run
- Built-in views: supports
CREATE VIEW - Powerful filtering: standard SQL
WHERE,JOIN,ORDER BY, etc. - Easy to embed in apps, scripts, desktop tools, and mobile apps
Good alternatives, depending on your needs
- DuckDB: great if your data is more analytical and you want fast querying over files like CSV/Parquet
- PostgreSQL: if you need more advanced features, concurrency, and scalability, but it’s not as lightweight
- LowDB / local JSON store: only if you want something very simple and don’t need real SQL views
Recommendation
- For most lightweight app/database use cases: SQLite
- For analytics over local files: DuckDB
If you want, I can also suggest the best option based on your platform:
- desktop app
- web app
- mobile app
- local tool
- analytics/dashboard