:Description: Sets the maximum size for chunks: that is, chunks larger than this are broken into smaller blobs no larger than this size before compression is performed.
:Type: Unsigned Integer
+.. note:: Compressed pool statistics are visible using ``ceph df detail``.
+ Objects within compressed pools will show their original uncompressed
+ sizes via most API calls or CLI commands. For example: RGW buckets
+ placed directly in a compressed RADOS pool with no RGW level compression
+ will report uncompressed bucket sizes via ``radosgw-admin``.
+
.. _size:
.. describe:: size
.. versionadded:: Kraken
The Ceph Object Gateway supports server-side compression of uploaded objects.
-using any of the existing compression plugins.
.. note:: The Reef release added a :ref:`feature_compress_encrypted` zonegroup
feature to enable compression with `Server-Side Encryption`_.
* zlib
* zstd
+.. note:: Ceph Object Gateway compression is performed by RGW daemons only
+ for RGW objects, and is distinct from BlueStore compression that is performed
+ by OSDs at pool granularity. It is typical to only enable one or the other.
+ Enabling at both levels does not cause a problem, but one should make the decision
+ based on the use case. If your cluster only serves object storage and the nodes
+ where RGW runs have more available CPU than OSD nodes, RGW level compression may be appealing.
+ Compressing at the OSD level does mean compressing the same user data more
+ than once since it is post-replication, but in a cluster with far more OSDs
+ than RGWs this strategy may result in better performance.
+
Configuration
=============