On the primary,  I do it as document says, only mirror support journal restore?

If I do journal restore for a database which is not mirrored, it says:


Option? 4
This utility uses the contents of journal files
to bring globals up to date from a backup.

Restore the Journal? Yes => Yes
Catch-up mirrored databases? No => No
Use current journal filter (ZJRNFILT)? yes
Use journal marker filter (MARKER^ZJRNFILT)? yes
Apply filter to every selected file? Yes => Yes
Process all journaled globals in all directories? no
Are journal files imported from a different operating system? No => yes

Directory to restore [? for help]: /data/db/dthis/lwtest2
Redirect to Directory: /data/db/dthis/lwtest2
 => --> /data/db/dthis/lwtest2/
Process all globals in /data/db/dthis/lwtest2? No => yes

Directory to restore [? for help]:

Processing globals from the following datasets:
 1. /data/db/dthis/lwtest2   All Globals
    (Redirect to: /data/db/dthis/lwtest2/)

Specifications correct? Yes => Yes
Are journal files created by this IRIS instance and located in their original
paths? (Uses journal.log to locate journals)? /journal/journal/  enter Yes or No, please
Are journal files created by this IRIS instance and located in their original
paths? (Uses journal.log to locate journals)?   enter Yes or No, please
Are journal files created by this IRIS instance and located in their original
paths? (Uses journal.log to locate journals)? yes
Specify range of files to process

Enter ? for a list of journal files to select the first and last files from
First file to process:

Entry must be from the list, please re-enter

First file to process:

Entry must be from the list, please re-enter

First file to process:  20230905.011

Thanks, maybe data was deleted at that time.  I set another time,  the data  recovered.  another question is 

A journal sync can be triggered:

  • Once every two (2) seconds if the system is idle.
  • In an ECP-based distributed cache cluster, by the data server when responding to specific requests (for example, $Increment) from the application servers to guarantee ECP semantics.
  • By a TCOMMIT (in synchronous commit mode, which causes the data involved in that transaction to be flushed to disk) if you are using InterSystems IRIS transactions.
  • As part of every database write cycle by the write daemon.
  • When the journal buffer is full.

if how can I set the size of  journal buffer ,  or force journal sync to be triggered every 2s without waiting for the system to be idle?