PL/SQL (MOSC)

MOSC Banner

Setting a package variable very often generates I/Os

edited Oct 30, 2017 10:21AM in PL/SQL (MOSC) 7 commentsAnswered ✓

Hello,

In a PL/SQL package, I have a procedure that sets a package variable to a given value. This procedure is called VERY often.

In EM/Database Express, Performance hub, Workload tab, I find this procedure in the top database time consuming SQL statements.

This could be OK but I am surprised to see the following breakdown : 5%CPU, 95% UserIO wait class (the underlying event is "Direct path write temp")

Variable type : VARCHAR2(20)

DB version : 12cR2

Are the package variables written to Temporary tablespace when their value is set ?

Could it be avoided ?

Thanks in advance four your replies or feedback.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center