FB replication creates lots of files

32 views
Skip to first unread message

Florian Hector

unread,
May 21, 2026, 11:12:23 AM (2 days ago) May 21
to firebird...@googlegroups.com
Hi,

I have set up some Windows (7, 10, 11) computer with the newest FB 5 version to asynchronously
replicate to a remote server.
All have the same settings regarding Journal directory, Archive directory, segment size and timeout,
only the journal_file_prefix is different for each installation.

Now, all of them except one behave as expected.
On one installation, the replicator creates a lot files in the archive directory whenever the
journal file gets moved from journal to archive. After that, the name for the next file in the
journal directory jumps from XXX.journal-000000001 to XXX.journal-000000131, then
XXX.journal-000000262 and so on. There are always 130 additional files with the exact same
timestamp, each one 1 MB in size whereas the amount of data to be replicated calls for a few KB at
most. This "small" file can also be found in the archive directory.
When all those files are moved to the replica side, the replicator incorporates the one small file
which is then deleted, the additional files are left in the the directory with the database file.

The log file on the master side does not show anything and the replication itself works properly.

Does anyone have any insight?

Florian

Dimitry Sibiryakov

unread,
May 21, 2026, 11:17:49 AM (2 days ago) May 21
to firebird...@googlegroups.com
Florian Hector wrote 21.05.2026 17:12:
> The log file on the master side does not show anything and the replication
> itself works properly.

Did you try to set "verbose_logging = true" in replication.conf?

--
WBR, SD.

Florian Hector

unread,
May 21, 2026, 11:36:37 AM (2 days ago) May 21
to firebird...@googlegroups.com
Dimitry,

yes I did...
This is the setting for the master side (same for all installations):
#
# Replication configuration
#
database
{
    ### PRIMARY SIDE SETTINGS

    journal_directory = c:\Utilities\Firebird5\DB\Journal\
    journal_file_prefix = XXX
    journal_segment_size = 524288 # 0,5MB
    journal_archive_directory = c:\Utilities\Firebird5\DB\Archive\
    journal_archive_timeout = 1500


    # Plugin used to perform replication.
    # Leave it empty to use built-in replication.
    #
.....

Florian Hector

unread,
May 21, 2026, 3:01:24 PM (2 days ago) May 21
to firebird...@googlegroups.com
Dimitry,

I added that line but have to check tomorrow for any entries

F.
Reply all
Reply to author
Forward
0 new messages