Forums | Aggregator | Books | Industry News | Firefox Plugins | Social | Links

Comments

Literals, Substitution Variables and Bind Variables - The article compares the affect of using literals, substitution variables and bind variables on memory and CPU usage.



Scott said...

Great article! This information is very helpful in understanding the parsing process in Oracle. Thank you!!!

Anand said...

very nice article.we can also achieve this by cursor_sharing value to exact/force but I don't no demerit of this parameter

Tim... said...

Hi.

The CURSOR_SHARING parameter is a quick fix when you are not able to do the job properly. It is not a solution in itself and it is certainly not more efficient thann using bind variables in the first place. You should only use this parameter if you can't go back and fix bad code. You should certainly not plan on using CURSOR_SHARING in a new project.

Cheers

Tim...

Ravi Kumar Gupta said...

This is very useful to understand how Bind variable works and how the data is stored in Shared Pool where bind variable make it remain constant for predictable sql statment.Example's are really good.

Amir said...

This is the simplest example to elaborate Literals, Substitution Variables, Bind Variables, soft parse and hard parse.....Great Work...

eshwar said...

yeah its nice

DO NOT ask technical questions here! They will be deleted!

These comments should relate to the contents of a specific article. Constructive criticism is good. Advertising and offensive comments are bad and will be deleted!

Add your comments here.
Name
Comment
(max 400 chars - plain text)