MySQL JSON_STORAGE_FREE
The MySQL JSON_STORAGE_FREE function returns the amount of storage space freed after a JSON column has been updated by JSON_SET, JSON_REPLACE, or JSON_REMOVE. This function is useful for optimizing storage usage when performing partial updates on JSON columns. Syntax JSON_STORAGE_FREE(json_val) Where: json_val is the JSON value or JSON string that represents the updated JSON column. […]