mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 12:03:03 +01:00
Improvement #7550 : Add support for -parallel in combination with gfix -icu
This commit is contained in:
parent
6804a6a39f
commit
c94d96b308
@ -17,7 +17,7 @@ enabled. There are two ways to enable parallelism in user attachment:
|
||||
firebird.conf.
|
||||
|
||||
For gfix utility there is new command-line switch -parallel that allows to
|
||||
set number of parallel workers for the sweep task. For example:
|
||||
set number of parallel workers for the "sweep" and "icu" tasks. For example:
|
||||
|
||||
gfix -sweep -parallel 4 <database>
|
||||
|
||||
|
@ -218,8 +218,8 @@ static const Switches::in_sw_tab_t alice_in_sw_table[] =
|
||||
sw_list, 0, false, false, 41, 2, NULL},
|
||||
// msg 41: \t-prompt\t\tprompt for commit/rollback (-l)
|
||||
{IN_SW_ALICE_PARALLEL_WORKERS, isc_spb_rpr_par_workers, "PARALLEL", sw_parallel_workers,
|
||||
sw_sweep, 0, false, false, 136, 3, NULL},
|
||||
// msg 136: -par(allel) parallel workers <n> (-sweep)
|
||||
sw_sweep | sw_icu, 0, false, false, 136, 3, NULL},
|
||||
// msg 136: -par(allel) parallel workers <n> (-sweep, -icu)
|
||||
{IN_SW_ALICE_PASSWORD, 0, "PASSWORD", sw_password,
|
||||
0, (sw_trusted_auth | sw_fetch_password),
|
||||
false, false, 42, 2, NULL},
|
||||
|
@ -133,5 +133,5 @@ FB_IMPL_MSG_SYMBOL(GFIX, 132, gfix_opt_role, " -role set SQL ro
|
||||
FB_IMPL_MSG_SYMBOL(GFIX, 133, gfix_role_req, "SQL role name required")
|
||||
FB_IMPL_MSG_SYMBOL(GFIX, 134, gfix_opt_repl, " -repl(ica) replica mode <none / read_only / read_write>")
|
||||
FB_IMPL_MSG_SYMBOL(GFIX, 135, gfix_repl_mode_req, "replica mode (none / read_only / read_write) required")
|
||||
FB_IMPL_MSG_SYMBOL(GFIX, 136, gfix_opt_parallel, " -par(allel) parallel workers <n> (-sweep)")
|
||||
FB_IMPL_MSG_SYMBOL(GFIX, 136, gfix_opt_parallel, " -par(allel) parallel workers <n> (-sweep, -icu)")
|
||||
FB_IMPL_MSG_SYMBOL(GFIX, 137, gfix_opt_upgrade, " -up(grade) upgrade database ODS")
|
||||
|
Loading…
Reference in New Issue
Block a user