Oracle 5.0 Reference Manual page 2672

Table of Contents

Advertisement

20.7.6.9.1. PECL/mysqlnd_ms 1.5 series
Copyright 1997-2012 the PHP Documentation Group. [2230]
1.5.0-alpha
• Release date: 03/2013
• Motto/theme: Sharding support, improved transaction support
Bug fixes
• Fixed #60605 PHP segmentation fault when mysqlnd_ms is enabled.
• Setting transaction stickiness disables all load balancing, including automatic failover, for the
duration of a transaction. So far connection switches could have happened in the middle of a
transaction in multi-master configurations and during automatic failover although transaction
monitoring had detected transaction boundaries properly.
• BC break and bug fix. SQL hints enforcing the use of a specific kind of
server (
MYSQLND_MS_MASTER_SWITCH
MYSQLND_MS_LAST_USED_SWITCH
stickiness is enabled and transaction boundaries have been detected properly.
This is a change in behaviour. However, it is also a bug fix and a step to align behaviour. If, in
previous versions, transaction stickiness, one of the above listed SQL hints and the quality of service
filtering was combined it could happened that the SQL hints got ignored. In some case the SQL hints
did work, in other cases they did not. The new behaviour is more consistent. SQL hints will always be
ignore for the duration of a transaction, if
Please note, transaction boundary detection continues to be based on API call monitoring. SQL
commands controlling transactions are not monitored.
• BC break and bug fix. Calls to
transaction if
of a transaction. Changing the quality of service likely results on a different set of servers qualifying
for query execution, possibly making it necessary to switch connections. Thus, the call is not
allowed in during an active transaction. The quality of server can, however, be changed in between
transactions.
Feature changes
• Introduced the
groups. Queries can be directed to a certain group of servers by prefixing the query statement
with a SQL hint/comment that contains the groups configured name. Grouping can be used for
partitioning and sharding, and also to optimize for local caching. In the case of sharding, a group
name can be thought of like a shard key. All queries for a given shard key will be executed on the
configured shard. Note: both the client and server must support sharding for sharding to function with
mysqlnd_ms.
• Extended configuration file validation during PHP startup (RINIT). An
thrown if the configuration file can not be read (permissions), is empty, or the file (JSON) could not
be parsed. Warnings may appear in log files, which depending on how PHP is configured.
Mysqlnd replication and load balancing plugin (mysqlnd_ms)
Note
This is the current development series. All features are at an early stage.
Changes may happen at any time without prior notice. Please, do not use this
version in production environments.
The documentation may not reflect all changes yet.
mysqlnd_ms_set_qos
transaction stickiness
is enabled. Connection switches are not allowed for the duration
filter. The filter lets you organize servers (master and slaves) into
node_group
,
MYSQLND_MS_SLAVE_SWITCH
) are ignored for the duration of a transaction of transaction
transaction stickiness
will fail when done in the middle of a
2652
,
is enabled.
level error will be
E_WARNING

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents