How can I programmatically turn off journalling in a particular InterSystems IRIS database?
input by Lucas Fernandes · Jul 27,2021
In Caché I use this:
set path = ##class(Config.Databases).Open("USER").Directory
set database = ##class(SYS.Database).%OpenId($get(path))
do database.DisableJournaling()
set status = database.%Save()
do database.EnableJournaling()
set status = database.%Save()