home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / database / oracle / 1488 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.3 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!pacbell.com!pacbell!oracle!unrepliable!bounce
  2. Newsgroups: comp.databases.oracle
  3. From: kjou@oracle.com (Kathy Jou)
  4. Subject: Re: Name of trace file currently being written.
  5. Message-ID: <1992Sep4.004203.2399@oracle.us.oracle.com>
  6. Sender: Kathy Jou
  7. Nntp-Posting-Host: dvlpyr
  8. Organization: Oracle Corporation
  9. References: <BtwpHz.59J@nntp-sc.Intel.COM>
  10. Date: Fri, 4 Sep 1992 00:42:03 GMT
  11. X-Disclaimer: This message was written by an unauthenticated user
  12.               at Oracle Corporation.  The opinions expressed are those
  13.               of the user and not necessarily those of Oracle.
  14. Lines: 25
  15.  
  16. In article <BtwpHz.59J@nntp-sc.Intel.COM> kortikar@mipos2.intel.com () writes:
  17. >Hi 
  18. >
  19. >I would like to find out name of trace file currently being written.
  20. >
  21. >set sql_trace true;
  22. >explain plan .......
  23. >set sql_trace false;
  24. >
  25. >I currenlty use "ls -lt /oracle/rdbms/log/*trc | head -1" to find this out.
  26. >I need it for automating tkprof.
  27. >
  28. >Thanks a lot in advance.   
  29. >
  30. >Aniruddha Kortikar  (kortikar@mipos2.intel.com)
  31.  
  32. The UNIX pid of the process running the explain plan will be a part of the
  33. trace file name.  The naming convention is <ORACLE pid>_<UNIX pid>.trc dumped
  34. in the USER_DUMP_DEST directory.
  35.  
  36.  
  37. -- Kathy Jou
  38. -- Oracle Corp
  39. -- Disclaimer: only my opinion.
  40.  
  41.