Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

StatementCache – PB Docs 2019 – PowerBuilder Library

StatementCache – PB Docs 2019

StatementCache

database parameter

Description

Specifies whether statement caching is enabled and the maximum
number of statements to cache.

Applies to

O10 Oracle 10g

ORA Oracle (for 11g and later)

Syntax

Parameter

Description

value

Specifies whether statement caching is enabled and
the maximum number of statements to cache. Values
are:

  • 0

    Statement caching is disabled.

  • n

    Statement caching is enabled and n statements may be
    cached, where n is a positive integer.

Default value

StatementCache=0

Usage

Statement caching in Oracle provides and manages a cache of
statements for each session. On the server, cursors are ready to be used
without the need to parse the statement again before execution.
Statement caching can be used with connection or session pooling to
improve performance and scalability.

Examples

To enable statement caching and specify that five statements can
be cached:

  • Database profile

    Type 5 in the Number of Oracle Statements Cached box on the
    Transaction page in the Database Profile Setup dialog box.

  • Application

    Type the following in code:

See also

CnnPool

Pooling


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x