Skip to content

Firebird doesn't respect the MaxParallelWorkers parameter value #8927

@iCelo-git

Description

@iCelo-git

MaxParallelWorkers

Firebird doesn't respect the MaxParallelWorkers parameter value when restoring the database. I didn't notice the problem with backup
It was tested on Linux, Windows, on Firebird 5.0.3 and 5.0.4 snapshot.
On my settings I have MaxParallelWorkers = 8. No matter if I run simple gbak or gbak with -service localhost/3050:service_mgr
Firebird definitely uses a value provided in the parameter, ignoring MaxParallelWorkers parameter:

gbak:use up to 12 parallel workers
gbak:transportable backup -- data in XDR format
gbak:		backup file is compressed
gbak:backup version is 10
gbak: WARNING:Wrong parallel workers value 12, valid range are from 1 to 8

When I ran it with -par 2000, gbak used 6 GB of RAM. When gbak ran with -par 16384, it ate all 64 GB of the server's RAM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions