How can we stop journalling on InterSystems IRIS instance?

175 views Asked by At

Doing DISABLE^%NOJRN pauses journalling for the process. I need to stop/pause journalling for the whole instance. Is it possible?

2

There are 2 answers

3
rfg On BEST ANSWER

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 !
}
2
Stephen Canzano On

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.