diff --git a/reference/mysqlnd/config.xml b/reference/mysqlnd/config.xml index 3e13240e80..2a0b8e08a0 100644 --- a/reference/mysqlnd/config.xml +++ b/reference/mysqlnd/config.xml @@ -2,97 +2,117 @@ - Configuration + &reftitle.runtime; + &extension.runtime; - - Configuration File - (php.ini) Settings - + + + MySQL Native Driver Configuration Options + + + + Name + Default + Changeable + Changelog + + + + + mysqlnd.collect_statistics + "1" + PHP_INI_SYSTEM + Available since PHP 5.3.0. + + + mysqlnd.collect_memory_statistics + "0" + PHP_INI_SYSTEM + Available since PHP 5.3.0. + + + +
+ &ini.php.constants; +
- - In PHP 5.3 the following php.ini settings are - available for the MySQL Native Driver: - + &ini.descriptions.title; - - mysqlnd.collect_statistics - + + + + + mysqlnd.collect_statistics + boolean + + + + Enables the collection of various client statistics which can be + accessed through mysqli_get_client_stats, + mysqli_get_connection_stats, + mysqli_get_cache_stats and are shown in + mysqlnd section of the output of the + phpinfo() function as well. + - - type:boolean, default:"1", changeable:PHP_INI_SYSTEM - + + When enabled the following statistics will be collected: + - - Available since 5.3.0 - + + 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 + + + - - Enables the collection of various client statistics which can be - accessed through mysqli_get_client_stats(), - mysqli_get_connection_stats(), - mysqli_get_cache_stats() and are shown in - mysqlnd section of the output of the - phpinfo() function as well. - + + + mysqlnd.collect_memory_statistics + boolean + + + + Enable the collection of various memory statistics which can be + accessed through mysqli_get_client_stats(), + mysqli_get_connection_stats(), + mysqli_get_cache_stats() and are shown in + mysqlnd section of the output of the + phpinfo() function as well. + - - When enabled the following statistics will be collected: - + + When enabled the following statistics will be collected: + - - 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 - - - - mysqlnd.collect_memory_statistics - - - - type:boolean, default:"0", changeable:PHP_INI_SYSTEM - - - - Available since 5.3.0 - - - - Enable the collection of various memory statistics which can be - accessed through mysqli_get_client_stats(), - mysqli_get_connection_stats(), - mysqli_get_cache_stats() and are shown in - mysqlnd section of the output of the - phpinfo() function as well. - - - - When enabled the following statistics will be collected: - - - TBD + TBD + + + +