Mysqlnd replication and load balancing plugin (
mysqlnd_ms
)
2637
MYSQLND_MS_QUERY_USE_SLAVE
(integer)
If
mysqlnd_ms_is_select
returns
MYSQLND_MS_QUERY_USE_SLAVE
for a given query, the built-in
read/write split mechanism recommends sending the query to a
MySQL replication slave server.
MYSQLND_MS_QUERY_USE_LAST_USED
(integer)
If
mysqlnd_ms_is_select
returns
MYSQLND_MS_QUERY_USE_LAST_USED
for a given query, the built-
in read/write split mechanism recommends sending the query to the
last used server.
mysqlnd_ms_set_qos
, quality of service filter and service level related
MYSQLND_MS_QOS_CONSISTENCY_EVENTUAL
(integer)
Use to request the service level eventual consistency from the
mysqlnd_ms_set_qos
. Eventual consistency is the default
quality of service when reading from an asynchronous MySQL
replication slave. Data returned in this service level may or may not
be stale, depending on whether the selected slaves happen to have
replicated the latest changes from the MySQL replication master or
not.
MYSQLND_MS_QOS_CONSISTENCY_SESSION
(integer)
Use to request the service level session consistency from the
mysqlnd_ms_set_qos
. Session consistency is defined as read
your writes. The client is guaranteed to see his latest changes.
MYSQLND_MS_QOS_CONSISTENCY_STRONG
(integer)
Use to request the service level strong consistency from the
mysqlnd_ms_set_qos
. Strong consistency is used to ensure all
clients see each others changes.
MYSQLND_MS_QOS_OPTION_GTID
(integer)
Used as a service level option with
mysqlnd_ms_set_qos
to
parameterize session consistency.
MYSQLND_MS_QOS_OPTION_AGE
(integer)
Used as a service level option with
mysqlnd_ms_set_qos
to
parameterize eventual consistency.
Other
The plugins version number can be obtained using
MYSQLND_MS_VERSION
or
MYSQLND_MS_VERSION_ID
.
MYSQLND_MS_VERSION
is the string representation of the numerical
version number
MYSQLND_MS_VERSION_ID
, which is an integer such as 10000. Developers can
calculate the version number as follows.
Version (part)
Example
Major*10000
1*10000 = 10000
Minor*100
0*100 = 0
Patch
0 = 0
MYSQLND_MS_VERSION_ID
10000
MYSQLND_MS_VERSION
(string)
Plugin version string, for example, “1.0.0-prototype”.
MYSQLND_MS_VERSION_ID
(integer)
Plugin version number, for example, 10000.
20.7.6.8. Mysqlnd_ms Functions
Copyright 1997-2012 the PHP Documentation Group. [2230]
20.7.6.8.1.
mysqlnd_ms_get_last_gtid
Copyright 1997-2012 the PHP Documentation Group. [2230]
•
mysqlnd_ms_get_last_gtid
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...