AWS Redshift 最近发布了他们自己的新编码格式 AZ64 ,他们说:
Compared to ZSTD encoding, AZ64 consumed 5–10% less storage, and was 70% faster
当我使用
ANALYZE COMPRESSION my_table
我还收到 ZSTD
作为其所有列的编码格式。那么它真的被推荐为一种超过 ZSTD 的编码格式吗?我是否应该天真地更喜欢 AZ64 尽可能使用它?
最佳答案
我收到了 AWS Support 对这个问题的答复:
TL;博士
About your question preferring AZ64 instead of ZSTD were possible, yes you can do it.
Given AZ64 provide better performance compared to ZSTD
进一步说明:
Yes, AZ64 is better than ZSTD. It has comparable compression, when compared with ZSTD but greatly better performance, which is something you would have already learned using. As of now
ANALYZE COMPRESSION
command doesn't support AZ64, also I don't have an ETA on when AZ64 will be available withANALYZE COMPRESSION
. I will suggest you to keep an eye on
- https://docs.aws.amazon.com/redshift/latest/mgmt/rs-mgmt-cluster-version-notes.html
- https://aws.amazon.com/redshift/whats-new/
for any updates on AWS Redshift. I have verified this with the internal service team.
ANALYZE COMPRESSION
is an advisory tool it recommends the optimal column encoding depending upon the columns.
关于amazon-web-services - AZ64压缩格式性能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58978082/