Doing DISABLE^%NOJRN pauses journalling for the process. I need to stop/pause journalling for the whole instance. Is it possible?
Asked
Active
Viewed 132 times
2 Answers
1
You could always go to the System Management portal and edit each database that you are interested in and disable journaling. I know it's not specifically what you asked but it could help.

Stephen Canzano
- 296
- 1
- 3
-
Thanks, Stephen, this works but it's a manual way, I was looking for some procedure to call – Evgeny Shvarov Dec 14 '20 at 08:46
-
1In SYS.Database there is a method called DisableJournaling, additionally there is a EnableJournaling. – Stephen Canzano Dec 14 '20 at 13:42
1
This completely stops journaling:
ClassMethod StopJournaling()
{
new $namespace
set $namespace = "%SYS"
set x = $$INT^JRNSTOP(.err)
if (x=0) {
write "Stopping journaling error code " _ err
} else {
write "Stopped journaling"
}
write !
}

Peter Mortensen
- 30,738
- 21
- 105
- 131

rfg
- 1,331
- 1
- 8
- 24
-
-
Is it [ObjectScript](https://en.wikipedia.org/wiki/Cach%C3%A9_ObjectScript)? – Peter Mortensen Sep 01 '21 at 11:21
-
@PeterMortensen yes. Well, it's called `InterSystems ObjectScript` now, but the answer is valid for both. – rfg Sep 01 '21 at 13:11