Live data from Hacker News

AliSQL: Alibaba's open-source MySQL with vector and DuckDB engines

github.com

31–40 of 58 posts

Re: AliSQL: Alibaba's open-source MySQL with vector and DuckDB engines

#31
post #7
post #5

having an embedded column database for analytics in your traditional db is a massive win for productivity + operations simplicity. at the moment I use PG + Tiger Data - couldn't find a mysql equivalent so this as one.

One option is TiDB. It has support for columnar data alongside row based data. However, it is MySQL compatible, but not based on MySQL code so not quite what you asked for.

Yes, TiDB has columnar data and also Vector support. All open source and MySQL compatible.

Re: AliSQL: Alibaba's open-source MySQL with vector and DuckDB engines

#33
post #29

Curious how it stacks up to pg_duckdb. (pg_duckdb seems pretty clean, due to Postres' powerful extension mechanisms)

Here is the professional English translation of your analysis, optimized for a technical audience or a blog post: Why I Believe MySQL is More Suited than PostgreSQL for DuckDB Integration Currently, there are three mainstream solutions in the ecosystem: pg_duckdb, pg_mooncake, and pg_lake. However, they face several critical hurdles. First, PostgreSQL's logical replication is not mature enough—falling far behind the…

It looks like you pasted the output from LLM verbatim, the first line is a bit confusing. It's a pity because the answer itself is meaningful.

Re: AliSQL: Alibaba's open-source MySQL with vector and DuckDB engines

#34
post #26

[flagged]

Quickly becoming my least-favorite account. If you’re going to have a schtick, have a schtick. Write your comments in and old timey voice or iambic pentameter or whatever, include a signature, ascii art, lean into being annoying.

Re: AliSQL: Alibaba's open-source MySQL with vector and DuckDB engines

#35
post #29

Earlier quoted context omitted.

Here is the professional English translation of your analysis, optimized for a technical audience or a blog post: Why I Believe MySQL is More Suited than PostgreSQL for DuckDB Integration Currently, there are three mainstream solutions in the ecosystem: pg_duckdb, pg_mooncake, and pg_lake. However, they face several critical hurdles. First, PostgreSQL's logical replication is not mature enough—falling far behind the…

It looks like you pasted the output from LLM verbatim, the first line is a bit confusing. It's a pity because the answer itself is meaningful.

I guess they don't speak English at all, but they could clearly improve their prompting skills :)

Re: AliSQL: Alibaba's open-source MySQL with vector and DuckDB engines

#36
post #29

Curious how it stacks up to pg_duckdb. (pg_duckdb seems pretty clean, due to Postres' powerful extension mechanisms)

Here is the professional English translation of your analysis, optimized for a technical audience or a blog post: Why I Believe MySQL is More Suited than PostgreSQL for DuckDB Integration Currently, there are three mainstream solutions in the ecosystem: pg_duckdb, pg_mooncake, and pg_lake. However, they face several critical hurdles. First, PostgreSQL's logical replication is not mature enough—falling far behind the…

So you pasted someone's comment in an LLM and posted the output here. Cool. Not really.

Re: AliSQL: Alibaba's open-source MySQL with vector and DuckDB engines

#37
post #29

Curious how it stacks up to pg_duckdb. (pg_duckdb seems pretty clean, due to Postres' powerful extension mechanisms)

Here is the professional English translation of your analysis, optimized for a technical audience or a blog post: Why I Believe MySQL is More Suited than PostgreSQL for DuckDB Integration Currently, there are three mainstream solutions in the ecosystem: pg_duckdb, pg_mooncake, and pg_lake. However, they face several critical hurdles. First, PostgreSQL's logical replication is not mature enough—falling far behind the…

I feel this analysis is unfair to PostgreSQL. PG is highly extensible, allowing you to extend write-ahead logs, transaction subsystem, foreign data wrappers (FDW), indexes, types, replication, others.

I understand that MySQL follows a specific pluggable storage architecture. I also understand that the direct equivalent in PG appears to be table access methods (TAM). However, you don't need to use TAM to build this - I'd argue FDWs are much more suitable.

Also, I think this design assumes that you'd swap PG's storage engine and replicate data to DuckDB through logical replication. The explanation then notes deficiencies in PG's logical replication.

I don't think this is the only possible design. pg_lake provides a solid open source implementation on how else you could build this solution, if you're familiar with PG: https://github.com/Snowflake-Labs/pg_lake

All up, I feel this explanation is written from a MySQL-first perspective. "We built this valuable solution for MySQL. We're very familiar with MySQL's internals and we don't think those internals hold for PostgreSQL."

I agree with the solution's value and how it integrates with MySQL. I just think someone knowledgeable about PostgreSQL would have built things in a different way.

Re: AliSQL: Alibaba's open-source MySQL with vector and DuckDB engines

#38
post #29

Earlier quoted context omitted.

Here is the professional English translation of your analysis, optimized for a technical audience or a blog post: Why I Believe MySQL is More Suited than PostgreSQL for DuckDB Integration Currently, there are three mainstream solutions in the ecosystem: pg_duckdb, pg_mooncake, and pg_lake. However, they face several critical hurdles. First, PostgreSQL's logical replication is not mature enough—falling far behind the…

It looks like you pasted the output from LLM verbatim, the first line is a bit confusing. It's a pity because the answer itself is meaningful.

I think we can give them a pass for this one. I think they are one of the developers and I suspect English may not be their first language, so they asked an LLM to help translate for them. If they don't understand English, I can see why they might have accidentally included that first line.

Re: AliSQL: Alibaba's open-source MySQL with vector and DuckDB engines

#39
post #29

Earlier quoted context omitted.

Here is the professional English translation of your analysis, optimized for a technical audience or a blog post: Why I Believe MySQL is More Suited than PostgreSQL for DuckDB Integration Currently, there are three mainstream solutions in the ecosystem: pg_duckdb, pg_mooncake, and pg_lake. However, they face several critical hurdles. First, PostgreSQL's logical replication is not mature enough—falling far behind the…

So you pasted someone's comment in an LLM and posted the output here. Cool. Not really.

Looks to me like they're using an LLM for _translation_, not for generating a response. The model output even says "Here's the _translation_" (emphasis mine).

Re: AliSQL: Alibaba's open-source MySQL with vector and DuckDB engines

#40
post #29

Earlier quoted context omitted.

Here is the professional English translation of your analysis, optimized for a technical audience or a blog post: Why I Believe MySQL is More Suited than PostgreSQL for DuckDB Integration Currently, there are three mainstream solutions in the ecosystem: pg_duckdb, pg_mooncake, and pg_lake. However, they face several critical hurdles. First, PostgreSQL's logical replication is not mature enough—falling far behind the…

So you pasted someone's comment in an LLM and posted the output here. Cool. Not really.

He's Chinese and if you had looked into his comment history you'd know this is not someone who uses LLMs for karma farming and looking at his blog he has a long history of posting about database topics going back before there was GPT.

Should I ever participate in a Chinese speaking forum, I'd certainly use an LLM for translation as well.

Post reply on HN