Oracle 5.0 Reference Manual page 1406

Table of Contents

Advertisement

Statistic
decr_hits
cas_hits
cas_badval
mem_requested
The following additional statistics cover the information for the entire server, rather than on a chunk by
chunk basis:
Statistic
active_slabs
total_malloced
The key values in the slab statistics are the chunk_size, and the corresponding
and
used_chunks
system. Remember that one key/value pair is placed into a chunk of a suitable size.
From these stats, you can get an idea of your size and chunk allocation and distribution. If you store
many items with a number of largely different sizes, consider adjusting the chunk size growth factor
to increase in larger steps to prevent chunk and memory wastage. A good indication of a bad growth
factor is a high number of different slab classes, but with relatively few chunks actually in use within
each slab. Increasing the growth factor creates fewer slab classes and therefore makes better use of
the allocated pages.
15.6.4.3.
memcached
To get the
items
The
items
STAT items:2:number 1
STAT items:2:age 452
STAT items:2:evicted 0
STAT items:2:evicted_nonzero 0
STAT items:2:evicted_time 2
STAT items:2:outofmemory 0
STAT items:2:tailrepairs 0
...
STAT items:27:number 1
STAT items:27:age 452
STAT items:27:evicted 0
STAT items:27:evicted_nonzero 0
STAT items:27:evicted_time 2
STAT items:27:outofmemory 0
STAT items:27:tailrepairs 0
The prefix number against each statistics relates to the corresponding chunk size, as returned by the
stats slabs
each slab size, and specific statistics about their age, eviction counts, and out of memory counts. A
summary of the statistics is given in the following table.
Statistic
number
age
evicted
evicted_time
evicted_nonzero
Getting
Description
Number of decrement hits to this chunk
Number of CAS hits to this chunk
Number of CAS hits on this chunk where the existing value did not
match
The true amount of memory of memory requested within this
chunk
Description
Total number of slab classes allocated.
Total amount of memory allocated to slab pages.
parameters. These given an indication of the size usage of the chunks within the
Item Statistics
statistics, use the
statistics give information about the individual items allocated within a given slab class.
statistics. The result is a display of the number of items stored within each chunk within
Description
The number of items currently stored in this slab class.
The age of the oldest item within the slab class, in seconds.
The number of items evicted to make way for new entries.
The time of the last evicted entry
The time of the last evicted non-zero entry
Statistics
memcached
command, or the API equivalent.
stats items
1386
Version
1.3.x
1.3.x
1.3.x
1.4.1
Version
total_chunks
1.4.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents