History cleanup after history=NONE

Hi

Is it safe to execute sql to truncate the history tables after history level is set to NONE? Currently when history is disabled we can’t use the API’s or rely on history cleanup (unless I’m mistaken) to delete existing history data since it checks history level.

If you’re running with NONE, no history will be persisted. So yes, if you don’t need old data anymore (from running with another history level), the data can be deleted.

@mjc & @joram , are there any potential impacts in turning off the history completely ?

Yes, e.g. it will be faster (since less data is written) and you won’t have the history afterwards.

Thanks @valentin for the response.

Are there any negative impacts or downside of not having history.