API Reference / API Parameters / allowCompressionOfIntegerArray


Type: boolean
Engine default: false
Parameter syntax
'allowCompressionOfIntegerArray' => true|false

Can be used in these methods:

About this parameter

Enables compression of large integer arrays.

In data-intensive use-cases, we recommended enabling this feature to reach a better compression ratio on arrays exclusively containing non-negative integers (as is typical of lists of user IDs or ACLs).

Usage notes

  • When enabled, the compressed integer arrays may be reordered. Non-compressed arrays are left intact.
  • This works for top-level attributes and nested attributes (keys with values that are an array of integers)


Enable compression of large integer arrays

  'allowCompressionOfIntegerArray' => true
Did you find this page helpful?