Database Administration (MOSC)

MOSC Banner

Question on tracing

We are running Oracle 12c Standard Edition. We are having some issues whereas when the application calls the stored procedure, under certain conditions the session hangs. We're not sure if it is the Oracle client, or OCI8, or something else. So, we want to enable tracing and see if it tells anything.

After a lot of looking around, we think these are the commands to generate the trace files that will show the most information:

ALTER SYSTEM SET EVENTS 'immediate trace name systemstate level 10';

ALTER SYSTEM SET EVENTS 'immediate trace name errorstack level 3';

So, the first question is, are these the proper commands?

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