IRIS when is it safe to delete Journals
Hi,
I have a question about deleting journals at the OS level(Linux) without corrupting the IRIS DB or it’s mirror copies.
The reason for deleting journals is the filesystem it lives on frequently fills up.
I don't have enough disk space to further expand the journal filesystems.
When the journal filesystem fills up then the application stops.
I have the following IRIS nodes(mirror status)
LIVETC01 Backup
LIVETC02 Primary
LIVEDR Async Copy **OFFLINE**
ARBITER
LIVEDR is currently offline but IRIS software has been installed.
I checked inside Mirror Monitor that LIVETC01 has "caught up" status
To “refresh” LIVEDR DB I have:
- Stopped IRIS on LIVETC01 @ 25/07 22:30
- Copy IRIS.DAT files(OS) from LIVETC01 to LIVEDR for all databases
- Start IRIS on LIVETC01 @ 26/07 11:00
- Start IRIS on LIVEDR @ 26/07 11:00
Journal Switch occurs at 00:00 every day.
I think it is safe to delete journals on LIVETC02 created prior to 24/07 23:59:59 as there should be no
transactions spanning journal files because of journal switch of 25/07 @ 00:00
I think it is safe to delete all journals on LIVETC01.
Do you think it is safe to delete these journals?
Thanks for any help