mirror of
https://github.com/minio/docs.git
synced 2026-01-04 02:44:36 +03:00
mention that tiny files are not compressed, also other typos (#1357)
Came up in a customer issue. Specifically the threshold is 4 kb and there is no configuration option. (Nor does Klaus want one.) Worth adding? With how much detail? The threshold choice is because of typical block size on disk. You will use at least that much anyway so why bother compressing. Staged: http://192.241.195.202:9000/staging/dont-compress-small-objects/linux/administration/object-management/data-compression.html#excluded-file-types Drive-by fix tacked onto this PR: correct typos in some `mc anonymous` examples. Staged: http://192.241.195.202:9000/staging/dont-compress-small-objects/linux/reference/minio-mc/mc-anonymous.html --------- Co-authored-by: Daryl White <53910321+djwfyi@users.noreply.github.com> Co-authored-by: Ravind Kumar <ravind@min.io>
This commit is contained in:
@@ -48,7 +48,8 @@ You can control which objects are compressed by specifying the desired file exte
|
||||
Excluded File Types
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Some data cannot be effectively compressed, such as video or already compressed data.
|
||||
Some data cannot be effectively compressed.
|
||||
For example: video, already compressed data, or files less than 4KiB.
|
||||
MinIO does not compress common incompressible file types, even if they are specified in the compression configuration.
|
||||
|
||||
Objects of these types are never compressed:
|
||||
|
||||
@@ -54,6 +54,10 @@
|
||||
- | ``application/zip``
|
||||
| ``application-x-zip-compressed``
|
||||
|
||||
* - Smaller than 4 KiB
|
||||
-
|
||||
-
|
||||
|
||||
.. end-minio-data-compression-default-excluded-desc
|
||||
|
||||
.. start-minio-data-compression-default-desc
|
||||
@@ -116,4 +120,4 @@ Some settings have only an environment variable or a configuration setting, but
|
||||
Each configuration setting controls fundamental MinIO behavior and functionality.
|
||||
MinIO **strongly recommends** testing configuration changes in a lower environment, such as DEV or QA, before applying to production.
|
||||
|
||||
.. end-minio-settings-test-before-prod
|
||||
.. end-minio-settings-test-before-prod
|
||||
|
||||
@@ -65,7 +65,7 @@ Parameters
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
mc get-json public play/mybucket
|
||||
mc anonymous get-json public play/mybucket
|
||||
|
||||
Global Flags
|
||||
~~~~~~~~~~~~
|
||||
@@ -101,4 +101,4 @@ S3 Compatibility
|
||||
|
||||
.. include:: /includes/common-minio-mc.rst
|
||||
:start-after: start-minio-mc-s3-compatibility
|
||||
:end-before: end-minio-mc-s3-compatibility
|
||||
:end-before: end-minio-mc-s3-compatibility
|
||||
|
||||
@@ -69,7 +69,7 @@ Parameters
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
mc get public play/mybucket
|
||||
mc anonymous get public play/mybucket
|
||||
|
||||
Global Flags
|
||||
~~~~~~~~~~~~
|
||||
@@ -105,4 +105,4 @@ S3 Compatibility
|
||||
|
||||
.. include:: /includes/common-minio-mc.rst
|
||||
:start-after: start-minio-mc-s3-compatibility
|
||||
:end-before: end-minio-mc-s3-compatibility
|
||||
:end-before: end-minio-mc-s3-compatibility
|
||||
|
||||
@@ -67,7 +67,7 @@ Parameters
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
mc links public [FLAGS] play/mybucket
|
||||
mc anonymous links public [FLAGS] play/mybucket
|
||||
|
||||
.. mc-cmd:: --recursive
|
||||
|
||||
@@ -108,4 +108,4 @@ S3 Compatibility
|
||||
|
||||
.. include:: /includes/common-minio-mc.rst
|
||||
:start-after: start-minio-mc-s3-compatibility
|
||||
:end-before: end-minio-mc-s3-compatibility
|
||||
:end-before: end-minio-mc-s3-compatibility
|
||||
|
||||
@@ -66,7 +66,7 @@ Parameters
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
mc list public play/mybucket
|
||||
mc anonymous list public play/mybucket
|
||||
|
||||
Global Flags
|
||||
~~~~~~~~~~~~
|
||||
@@ -102,4 +102,4 @@ S3 Compatibility
|
||||
|
||||
.. include:: /includes/common-minio-mc.rst
|
||||
:start-after: start-minio-mc-s3-compatibility
|
||||
:end-before: end-minio-mc-s3-compatibility
|
||||
:end-before: end-minio-mc-s3-compatibility
|
||||
|
||||
@@ -72,7 +72,7 @@ Parameters
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
mc set-json public play/mybucket
|
||||
mc anonymous set-json public play/mybucket
|
||||
|
||||
Global Flags
|
||||
~~~~~~~~~~~~
|
||||
@@ -127,4 +127,4 @@ S3 Compatibility
|
||||
|
||||
.. include:: /includes/common-minio-mc.rst
|
||||
:start-after: start-minio-mc-s3-compatibility
|
||||
:end-before: end-minio-mc-s3-compatibility
|
||||
:end-before: end-minio-mc-s3-compatibility
|
||||
|
||||
@@ -87,8 +87,8 @@ Parameters
|
||||
prefix. For example:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
mc set public play/mybucket
|
||||
|
||||
mc anonymous set public play/mybucket
|
||||
|
||||
Specify a bucket prefix to set the policy on only that prefix. For example,
|
||||
this command sets distinct anonymous bucket policies on the
|
||||
@@ -96,8 +96,8 @@ Parameters
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
mc set download play/mybucket/downloads
|
||||
mc set upload play/mybucket/uploads
|
||||
mc anonymous set download play/mybucket/downloads
|
||||
mc anonymous set upload play/mybucket/uploads
|
||||
|
||||
Global Flags
|
||||
~~~~~~~~~~~~
|
||||
@@ -136,4 +136,4 @@ S3 Compatibility
|
||||
|
||||
.. include:: /includes/common-minio-mc.rst
|
||||
:start-after: start-minio-mc-s3-compatibility
|
||||
:end-before: end-minio-mc-s3-compatibility
|
||||
:end-before: end-minio-mc-s3-compatibility
|
||||
|
||||
Reference in New Issue
Block a user