abdullahseba
abdullahseba5w ago

Is Convex Really a Database?

I keep hearing and reading that Convex is a Database. But I also heard that it uses Postgres or SQLite behind the scenes. The marketing is confusing and sells this like a Database, and so do the docs. But is it really a database or a database abstraction?
4 Replies
Convex Bot
Convex Bot5w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
erquhart
erquhart5w ago
It's both. You don't interact with the engine underneath, you interact with your data via low level TypeScript api's. It doesn't replace postgres or whatever it happens to be running on today or tomorrow (which can change because it's an implementation detail) in the sense that it's powered by existing database technology at the bottom level, but it does replace postgres for you as a postgres user (or replaces database x for you as a database x user). My encouragement would be to zoom out and just try the tutorial. See what Convex does in practice. The short answer is yes, it's a database, but also a lot more.
ian
ian5w ago
Yup, many databases are built on storage layers that aren't raw files - in our case we use it essentially as an ordered key/value store. e.g. your "tables" and "indexes" don't become postgres tables & indexes - that's all managed in our layer
djbalin
djbalin5w ago
Jamie answers exactly this question right here!! https://youtu.be/X6qbl61oEYo?t=1247
Convex
YouTube
Convex & PlanetScale for Postgres Fireside Chat with Jamie Turner a...
Join us for a special fireside chat with Jamie Turner, Co-Founder and CEO of Convex, and Sam Lambert, CEO of PlanetScale. This conversation will explore the deep technical partnership between the two companies, building the future of backend infrastructure with PlanetScale for Postgres. ​This fireside chat is a rare opportunity to hear from t...

Did you find this page helpful?