'\" t .\" Title: SHOW POOL_CACHE .\" Author: The Pgpool Global Development Group .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 2023 .\" Manual: pgpool-II 4.3.5 Documentation .\" Source: pgpool-II 4.3.5 .\" Language: English .\" .TH "SHOW POOL_CACHE" "1" "2023" "pgpool-II 4.3.5" "pgpool-II 4.3.5 Documentation" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" SHOW_POOL_CACHE \- displays cache storage statistics .SH "SYNOPSIS" .sp .nf SHOW POOL_CACHE .fi .SH "DESCRIPTION" .PP \fBSHOW POOL_CACHE\fR displays in memory query cache statistics if in memory query cache is enabled\&. Here is an example session: .sp .if n \{\ .RS 4 .\} .nf test=# \ex \ex Expanded display is on\&. test=# show pool_cache; show pool_cache; \-[ RECORD 1 ]\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\- num_cache_hits | 891703 num_selects | 99995 cache_hit_ratio | 0\&.90 num_hash_entries | 131072 used_hash_entries | 99992 num_cache_entries | 99992 used_cache_entries_size | 12482600 free_cache_entries_size | 54626264 fragment_cache_entries_size | 0 .fi .if n \{\ .RE .\} .sp .if n \{\ .sp .\} .RS 4 .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 .br .ps +1 \fBNote\fR .ps -1 .br .PP If the cache storage is memcached, values for all columns except num_cache_hits, num_selects and cache_hit_ratio show 0\&. .sp .5v .RE