Oracle 5.0 Reference Manual page 2714

Table of Contents

Advertisement

Mysqlnd query result cache plugin (mysqlnd_qc)
Statistic
query_aggr_store_time_cache_put
query_aggr_store_time_total
receive_bytes_recorded
receive_bytes_replayed
send_bytes_recorded
send_bytes_replayed
slam_stale_refresh
slam_stale_hit
Examples
Example 20.323.
mysqlnd_qc_get_core_stats
<?php
/* Enable collection of statistics - default: disabled */
ini_set("mysqlnd_qc.collect_statistics", 1);
/* Enable collection of all timing related statistics -
default: enabled but overruled by mysqlnd_qc.collect_statistics = 0 */
ini_set("mysqlnd_qc.collect_time_statistics", 1);
/* Populate the cache, e.g. using mysqli */
$mysqli = new mysqli('host', 'user', 'password', 'schema');
Description
queries are those which have
incremented cache_hit.
Aggregated store time ( ms) of
all uncached queries that have
been put into the cache. See
also cache_put.
Aggregated store time (ms) of all
uncached and cached queries
that have been inspected and
executed by the query cache.
Recorded incoming network
traffic ( bytes) send from
MySQL to PHP. The traffic may
or may not have been added
to the cache. The traffic is the
total for all queries regardless if
cached or not.
Network traffic replayed during
cache. This is the total amount of
incoming traffic saved because
of the usage of the query cache
plugin.
Recorded outgoing network
traffic ( bytes) send from
MySQL to PHP. The traffic may
or may not have been added
to the cache. The traffic is the
total for all queries regardless if
cached or not.
Network traffic replayed during
cache. This is the total amount of
outgoing traffic saved because
of the usage of the query cache
plugin.
Number of cache misses which
triggered serving stale data until
the client causing the cache miss
has refreshed the cache entry.
Number of cache hits while a
stale cache entry gets refreshed.
example
2694
Version
Since 1.0.0.
Since 1.0.0.
Since 1.0.0.
Since 1.0.0.
Since 1.0.0.
Since 1.0.0.
Since 1.0.0.
Since 1.0.0.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents