SQL parameters: sqlreuseablesql

Startup parameters change the behavior of the Service Manager server. You can always set a startup parameter from the server's operating system command prompt.

Parameter

sqlreuseablesql

Description

This parameter is only valid for Oracle databases. When this parameter is enabled, the RDBMS sends SQL statements with bind variables instead of in-text-values (“literals”). It enables the RDBMS to cache the parsed SQL statement for use later to reduce the number of parses; it also enables the RDBMS to prepare an execution plan for the statement only once and then reuse the plan.

Using bind variables not only significantly reduces the Oracle shared memory used, but also prevents SQL injection attacks.

Valid if set from

Server's operating system command prompt

Initialization file (sm.ini)

Requires restart of the Service Manager server?

Yes

Default value

1

Possible values

0 (Disable)

1 (Enable)

Example usage

Command line: sm -httpPort:13080 -sqldb:dbserver -sqlreuseablesql:1

Initialization file: sqlreuseablesql:1

Related topics

System parameters
Enter a parameter in the sm.ini file
Database parameters