| ▲ | mslot 2 days ago | |||||||||||||
DuckLake is pretty cool, and we obviously love everything the DuckDB is doing. It's what made pg_lake possible, and what motivated part of our team to step away from Microsoft/Citus. DuckLake can do things that pg_lake cannot do with Iceberg, and DuckDB can do things Postgres absolutely can't (e.g. query data frames). On the other hand, Postgres can do a lot of things that DuckDB cannot do. For instance, it can handle >100k single row inserts/sec. Transactions don't come for free. Embedding the engine in the catalog rather than the catalog in the engine enables transactions across analytical and operational tables. That way you can do a very high rate of writes in a heap table, and transactionally move data into an Iceberg table. Postgres also has a more natural persistence & continuous processing story, so you can set up pg_cron jobs and use PL/pgSQL (with heap tables for bookkeeping) to do orchestration. There's also the interoperability aspect of Iceberg being supported by other query engines. | ||||||||||||||
| ▲ | jabr 2 days ago | parent | next [-] | |||||||||||||
How does this compare to https://www.mooncake.dev/pgmooncake? It seems there are several projects like this now, with each taking a slightly different approach optimized for different use cases? | ||||||||||||||
| ||||||||||||||
| ▲ | mritchie712 2 days ago | parent | prev | next [-] | |||||||||||||
> For instance, it can handle >100k single row inserts/sec. DuckLake already has data-inlining for the DuckDB catalog, seems this will be possible once it's supported in the pg catalog. > Postgres also has a more natural persistence & continuous processing story, so you can set up pg_cron jobs and use PL/pgSQL (with heap tables for bookkeeping) to do orchestration. This is true, but it's not clear where I'd use this in practice. e.g. if I need to run a complex ETL job, I probably wouldn't do it in pg_cron. | ||||||||||||||
| ||||||||||||||
| ▲ | ijustlovemath 2 days ago | parent | prev | next [-] | |||||||||||||
Not to mention one of my favorite tools for adding a postgres db to your backend service: PostgREST. Insanely powerful DB introspection and automatic REST endpoint. Pretty good performance too! | ||||||||||||||
| ▲ | anktor 2 days ago | parent | prev [-] | |||||||||||||
What does data frames mean in this context? I'm used to them in spark or pandas but does this relate to something in how duckDB operates or is it something else? | ||||||||||||||
| ||||||||||||||