Replies: 2 comments 8 replies
-
I'd not seen DuckDB before. It looks like it's built in top of SQLite and has a similar looking Python API, which is definitely interesting since it suggests running Datasette against it might work without any substantial code changes. I've been mentally going back and forth on having Datasette work with other databases for quite a while now. I'm really nervous about supporting any kind of database abstraction layer as I expect it will greatly reduce the rate at which I can ship features. But... I want the tool to be as useful to as many projects as possible, and being able to talk to eg PostgreSQL would unlock a whole range of exciting new possibilities - especially around handling larger datasets. I'm also interested in the potential of running Datasette on top of something like Amazon Athena, which would enable almost unlimited "big data" operations. Since Datasette has a well established plugin mechanism now it's possible that this would be less difficult than I expect, given the right design of the associated plugin hooks. So no promises yet, but I'm still thinking it over. |
Beta Was this translation helpful? Give feedback.
-
As a sort of universal database REST API, it's a killer app. I honestly don't know how many places I'm using it in my research. As long as SQLite support didn't go away, I would advocate for adding additional RDBMS servers to Datasette. |
Beta Was this translation helpful? Give feedback.
-
I think that SQLite is fantastic and a well proven technology choice. However, I was curious if Datasette has ever been tested using DuckDB? I know that they use/test against some of the SQLite test suite, but I'm unsure how much of a "drop-in" replacement that it would be.
Some of the "potential" advantages that I see for being able to use DuckDB:
Whether it would ever be worthwhile to support is totally based on the level of effort that it would take, but I just wanted to throw it out there in case it hasn't been on your radar.
Beta Was this translation helpful? Give feedback.
All reactions