How can I programmatically turn off journalling in a particular InterSystems IRIS database?
Asked
Active
Viewed 59 times
1 Answers
1
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()

robert.c.cemper
- 181
- 8
-
What is *"Caché"*? – Peter Mortensen Sep 01 '21 at 08:47
-
Caché is the previous generation DB from InterSystems before IRIS was released. Something that is totally natural for an expert of his qualification – robert.c.cemper Sep 01 '21 at 20:51