Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support compression_algorithms #315

Open
tom10271 opened this issue Jan 9, 2025 · 1 comment
Open

Support compression_algorithms #315

tom10271 opened this issue Jan 9, 2025 · 1 comment

Comments

@tom10271
Copy link

tom10271 commented Jan 9, 2025

We are running SQL with result of a few MB. This is pretty large without compression.

CREATE SERVER my_rds FOREIGN DATA WRAPPER mysql_fdw OPTIONS (host 'our-rds.some-region.rds.amazonaws.com', port '3306', character_set 'utf8', compression_algorithms 'zlib,zstd');

https://aws.amazon.com/blogs/database/reduce-network-transfer-time-with-connection-compression-in-amazon-rds-for-mysql-and-amazon-rds-for-mariadb/

Thank you for helping

@surajkharage19
Copy link

Thank you @tom10271 for your message.

If I understand correctly, you are looking for a connection compression feature in mysql_fdw and that feature helps when network bandwidth is a constraint and result sets are large.

Currently, mysql_fdw does not have this feature. We will consider this feature for implementation but please note that we don't have an immediate plan to do the same.

If you are interested, you can submit the pull request for the same and we will review that and take it further.

Thank you for your understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants