Oracle 5.0 Reference Manual page 505

Table of Contents

Advertisement

Dynamic Variable
The minimum size (in bytes) for blocks allocated by the query cache. The default value is 4096
(4KB). Tuning information for this variable is given in
query_cache_size
Command-Line Format
Option-File Format
Option Sets Variable
Variable Name
Variable Scope
Dynamic Variable
The amount of memory allocated for caching query results. The default value is 0, which disables
the query cache. The permissible values are multiples of 1024; other values are rounded down to
the nearest multiple. Note that
query_cache_type
information.
The query cache needs a minimum size of about 40KB to allocate its structures. (The exact size
depends on system architecture.) If you set the value of
warning will occur, as described in
query_cache_type
Command-Line Format
Option-File Format
Option Sets Variable
Variable Name
Variable Scope
Dynamic Variable
Set the query cache type. Setting the
thereafter. Individual clients can set the
Possible values are shown in the following table.
Server System Variables
Yes
Permitted Values
Platform
32
Bit Size
Type
numeric
Default
4096
Range
512 .. 4294967295
Permitted Values
Platform
64
Bit Size
Type
numeric
Default
4096
Range
512 .. 18446744073709547520
[485]
--query_cache_size=#
query_cache_size
Yes,
query_cache_size
query_cache_size
Global
Yes
query_cache_size
[485]
is set to 0. See
Section 8.6.3.3, "Query Cache
Section 8.6.3.3, "Query Cache
[485]
--query_cache_type=#
query_cache_type
Yes,
query_cache_type
query_cache_type
Global, Session
Yes
GLOBAL
SESSION
485
Section 8.6.3.3, "Query Cache
[485]
[485]
bytes of memory are allocated even if
query_cache_size
Configuration".
[485]
value sets the type for all clients that connect
value to affect their own use of the query cache.
Configuration".
Configuration", for more
[485]
too small, a

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents