Cloudscape Properties,
Page 21 of 44


[top]
[prev]
[next]
Documentation Top
Global Index
Reference Manual
TOC Index
Grammar index
Developer's Guide
TOC Index
Tuning Cloudscape
TOC Index

cloudscape.language.spsCacheSize

Function

Specifies the size of a database’s stored prepared statement cache.

Set the cache size to the number of stored prepared statements that you regularly use, assuming that you have enough memory. If a database has fewer than 32 stored prepared statements, it is not beneficial to increase the size of this cache.

Increasing the size of a database’s stored prepared statement cache is useful primarily for multi-user environments. It is also useful for single-user environments when a user wants to avoid the performance hit of preparing EXECUTE STATEMENT statements.

NOTE: This cache is flushed when you do DDL, so leave the cache at its default size when you are doing DDL.

For more information about the stored prepared statement cache, see “Additional Benefits for Multiple Connections: The Stored Prepared Statement Cache”.

Default

32.

Example

-- system-wide property
cloudscape.language.spsCacheSize=100
-- database-wide property
CALL PropertyInfo.setDatabaseProperty(
    'cloudscape.language.spsCacheSize',
    '100')
-- publishing a database-wide property
CREATE PUBLICATION . . .
ADD TARGET DATABASE PROPERTY
cloudscape.language.spsCacheSize=
    '100'

Scope

system-wide

database-wide (publishable)

Dynamic or Static

This property is static; you must reboot for changes to take effect. For information about dynamic changes to properties, see “Dynamic or Static Changes to Properties”.

[top]
[prev]
[next]


Cloudscape Version 3.0
For technical support, go to: www.cloudscape.com and click Support.
Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved.