1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-05 16:59:35 +03:00
mariadb/mysql-test/suite/sys_vars/r/skip_parallel_replication_basic.result
Kristian Nielsen 8672339328 MDEV-6676: Optimistic parallel replication
Adjust the configuration options, as discussed on the
maria-developers@ mailing list.

The option to hint a transaction to not be replicated in parallel is
now called @@skip_parallel_replication, consistent with
@@skip_replication.

And the --slave-parallel-mode is now simplified to have just one of
the following values:

  none
  minimal
  conservative
  optimistic
  aggressive

This reflects successively harder efforts to find opportunities to run
things in parallel on the slave. It allows to extend the server with
more automatic heuristics in the future without having to introduce a
new configuration option for each and every one.
2015-02-07 09:42:58 +01:00

16 lines
592 B
Plaintext

SELECT @@global.skip_parallel_replication;
ERROR HY000: Variable 'skip_parallel_replication' is a SESSION variable
SET GLOBAL skip_parallel_replication= 0;
ERROR HY000: Variable 'skip_parallel_replication' is a SESSION variable and can't be used with SET GLOBAL
SELECT @@session.skip_parallel_replication;
@@session.skip_parallel_replication
0
SET SESSION skip_parallel_replication= 1;
SELECT @@session.skip_parallel_replication;
@@session.skip_parallel_replication
1
SET SESSION skip_parallel_replication= 0;
SELECT @@session.skip_parallel_replication;
@@session.skip_parallel_replication
0