File: config.xml

package info (click to toggle)
php-doc 20100521-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 59,992 kB
  • ctags: 4,085
  • sloc: xml: 796,833; php: 21,338; cpp: 500; sh: 117; makefile: 58; awk: 28
file content (117 lines) | stat: -rw-r--r-- 3,659 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 290998 $ -->
<chapter xml:id="mysqlnd.config" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">

  <title>Configuration</title>

  <para>
    <emphasis role="bold">Configuration File
    (php.ini) Settings</emphasis>
  </para>

  <para>
    In PHP 5.3 the following <filename>php.ini</filename> settings are
    available for the MySQL Native Driver:
  </para>

  <para>
    <literal>mysqlnd.collect_statistics</literal>
  </para>

  <para>
    type:boolean, default:"1", changeable:PHP_INI_SYSTEM
  </para>

  <para>
    Available since 5.3.0
  </para>

  <para>
    Enables the collection of various client statistics which can be
    accessed through <literal>mysqli_get_client_stats()</literal>,
    <literal>mysqli_get_connection_stats()</literal>,
    <literal>mysqli_get_cache_stats()</literal> and are shown in
    <literal>mysqlnd</literal> section of the output of the
    <literal>phpinfo()</literal> function as well.
  </para>

  <para>
    When enabled the following statistics will be collected:
  </para>

  <para>
    bytes_sent, bytes_received, packets_sent, packets_received,
    protocol_overhead_in, protocol_overhead_out,
    bytes_received_ok_packet, bytes_received_eof_packet,
    bytes_received_rset_header_packet,
    bytes_received_rset_field_meta_packet,
    bytes_received_rset_row_packet,
    bytes_received_prepare_response_packet,
    bytes_received_change_user_packet, packets_sent_command,
    packets_received_ok, packets_received_eof,
    packets_received_rset_header, packets_received_rset_field_meta,
    packets_received_rset_row, packets_received_prepare_response,
    packets_received_change_user, result_set_queries,
    non_result_set_queries, no_index_used, bad_index_used, slow_queries,
    buffered_sets, unbuffered_sets, ps_buffered_sets,
    ps_unbuffered_sets, flushed_normal_sets, flushed_ps_sets,
    ps_prepared_never_executed, ps_prepared_once_executed,
    rows_fetched_from_server_normal, rows_fetched_from_server_ps,
    rows_buffered_from_client_normal, rows_buffered_from_client_ps,
    rows_fetched_from_client_normal_buffered,
    rows_fetched_from_client_normal_unbuffered,
    rows_fetched_from_client_ps_buffered,
    rows_fetched_from_client_ps_unbuffered,
    rows_fetched_from_client_ps_cursor, rows_skipped_normal,
    rows_skipped_ps, copy_on_write_saved, copy_on_write_performed,
    command_buffer_too_small, connect_success, connect_failure
  </para>

  <para>
    <literal>mysqlnd.collect_memory_statistics</literal>
  </para>

  <para>
    type:boolean, default:"0", changeable:PHP_INI_SYSTEM
  </para>

  <para>
    Available since 5.3.0
  </para>

  <para>
    Enable the collection of various memory statistics which can be
    accessed through <literal>mysqli_get_client_stats()</literal>,
    <literal>mysqli_get_connection_stats()</literal>,
    <literal>mysqli_get_cache_stats()</literal> and are shown in
    <literal>mysqlnd</literal> section of the output of the
    <literal>phpinfo()</literal> function as well.
  </para>

  <para>
    When enabled the following statistics will be collected:
  </para>

  <para>TBD</para>

</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->