In MySQL, the JSON_STORAGE_FREE()
function shows how much storage space was freed up after a JSON Document was updated.
For a JSON column value, it shows how much storage space was freed in its binary representation after it was updated in place using JSON_SET()
, JSON_REPLACE()
, or JSON_REMOVE()
.
For a JSON document (or a string which can be parsed as one), this function returns 0
.