duckdb / duckdb_mysql

MIT License
45 stars 10 forks source link

support disable compression in MySQL client/server protocol #70

Closed qsliu2017 closed 1 month ago

qsliu2017 commented 2 months ago

What happens?

Currently mysql plugin forces compression in MySQL protocol, which increases CPU usage of MySQL server. IMHO, this should be an option in DSN. https://github.com/duckdb/duckdb_mysql/blob/2cd491ce8928e548ab6048c483a744c350f35e7e/src/include/mysql_utils.hpp#L40

To Reproduce

N/A

OS:

N/A

MySQL Version:

N/A

DuckDB Version:

1.0.0

DuckDB Client:

N/A

Full Name:

qsliu

Affiliation:

individual

Have you tried this on the latest main branch?

Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?