DEVFYI - Developer Resource - FYI

How does one give developers access to trace files (required as input to tkprof)? (for DBA)

ORACLE Interview Questions and Answers (Part 5)


(Continued from previous question...)

788.How does one give developers access to trace files (required as input to tkprof)? (for DBA)

The "alter session set sql_trace=true" command generates trace files in USER_DUMP_DEST that can be used by developers as input to tkprof. On Unix the default file mask for these files are "rwx r-- ---".
There is an undocumented INIT.ORA parameter that will allow everyone to read (rwx r-r--) these trace files:
_trace_files_public = true
Include this in your INIT.ORA file and bounce your database for it to take effect.

(Continued on next question...)

Other Interview Questions