Home » RDBMS Server » Server Administration » Oracle Tracing
Oracle Tracing [message #58197] Wed, 06 August 2003 09:29 Go to next message
raman
Messages: 66
Registered: February 2000
Member
Hi folks,

Can anyone point me in the right direction for tracing in Oracle 8i? Thanks in advance...
re: Oracle Tracing [message #58198 is a reply to message #58197] Wed, 06 August 2003 09:36 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
you mean sqlnet tracing?
best place to look around is oracle documentation.
Look into net 8 adminmistrators guide
Re: Oracle Tracing [message #58212 is a reply to message #58197] Thu, 07 August 2003 07:51 Go to previous messageGo to next message
shad
Messages: 50
Registered: October 2000
Member
I assume you mean client tracing and on a windows client.
(1) Close all database connections you have from your PC
(2) On your PC go to oracle_homenetworkadmin
(3) add the folliwng two lines to the sqlnet.ora file
(i) trace_level_client = 16 (you could put SUPPORT instead of 16 if like). ==> This is the level of tracing you want-- I recommend 16 because you get details of packets plus the actual sql stetement
(ii) trace_directory_client = oracle_homenetworkadmin [[this is a directory on whihc the cli.trc or sqlnet.trc file will be created--> this is your trace file]]
(4) Connect to the database, do what you nromally do, and look in the oracle_homenetworkadmin for the trace file.
(5) Close all your database connecitons to read the trace file. You can not read the file if you still have database connections becaue they will still be writing to the file.
Re: Oracle Tracing [message #58215 is a reply to message #58212] Thu, 07 August 2003 08:49 Go to previous messageGo to next message
raman
Messages: 66
Registered: February 2000
Member
thank you both for your help!
Re: Oracle Tracing [message #58298 is a reply to message #58212] Wed, 13 August 2003 03:11 Go to previous message
raman
Messages: 66
Registered: February 2000
Member
Thank you for your advice. I have tried using the parameters you specify in the sqlnet.ora file, however, the trace file is not picking up any sql statements between my third party client application and my database?

Any ideas greatfully received.

Thanks.
Previous Topic: large objects
Next Topic: large objects
Goto Forum:
  


Current Time: Fri Sep 20 12:47:16 CDT 2024