svn: /phpdoc/en/trunk/reference/mysqlnd_ms/functions/ mysqlnd-ms-get-stats.xml
| From: | Ulf Wendel | Date: | Tue, 19 Apr 2011 17:48:30 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mysqlnd_ms/functions/ mysqlnd-ms-get-stats.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7981@lists.php.net to get a copy of this message | ||
uw Tue, 19 Apr 2011 17:48:30 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=310367
Log:
trx_stickiness=master has also introduced some new statistic
Changed paths:
U phpdoc/en/trunk/reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml
Modified: phpdoc/en/trunk/reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml
===================================================================
--- phpdoc/en/trunk/reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml 2011-04-19 16:46:50 UTC
(rev 310366)
+++ phpdoc/en/trunk/reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml 2011-04-19 17:48:30 UTC
(rev 310367)
@@ -248,6 +248,46 @@
</entry>
<entry>Since 1.0.0.</entry>
</row>
+ <row>
+ <entry>
+ <literal>trx_autocommit_on</literal>
+ </entry>
+ <entry>
+ Number of <literal>autocommit</literal> mode activations via API calls.
+ This figure may be used to monitor activity related to the plugin configuration
+ setting
+ <link
linkend="ini.mysqlnd-ms-plugin-config.trx_stickiness"><literal>trx_stickiness</literal></link>.
+ If, for example, you want to know if a certain API call invokes the
+ <literal>mysqlnd</literal> library function
<literal>trx_autocommit()</literal>,
+ which is a requirement for
+ <link
linkend="ini.mysqlnd-ms-plugin-config.trx_stickiness"><literal>trx_stickiness</literal></link>,
+ you may call the user API function in question and check if the
+ statistic has changed. The statistic is modified only by the
+ plugins internal subclassed <literal>trx_autocommit()</literal>
+ method.
+ </entry>
+ <entry>Since 1.0.0.</entry>
+ </row>
+ <row>
+ <entry>
+ <literal>trx_autocommit_off</literal>
+ </entry>
+ <entry>
+ Number of <literal>autocommit</literal> mode deactivations via API calls.
+ </entry>
+ <entry>Since 1.0.0.</entry>
+ </row>
+ <row>
+ <entry>
+ <literal>trx_master_forced</literal>
+ </entry>
+ <entry>
+ Number of statemens redirected to the master while
+ <link
linkend="ini.mysqlnd-ms-plugin-config.trx_stickiness"><literal>trx_stickiness=master</literal></link>
+ and <literal>autocommit</literal> mode is disabled.
+ </entry>
+ <entry>Since 1.0.0.</entry>
+ </row>
</tbody>
</tgroup>
</informaltable>
@@ -297,6 +337,12 @@
string(1) "0"
["lazy_connections_master_failure"]=>
string(1) "0"
+ ["trx_autocommit_on"]=>
+ string(1) "0"
+ ["trx_autocommit_off"]=>
+ string(1) "0"
+ ["trx_master_forced"]=>
+ string(1) "0"
}
]]>
</screen>