GetTraceFileName in TOraTrace wrong for 12c
Posted: Tue 09 Feb 2016 20:37
Hi,
I was trying out TOraTrace and GetTraceFileName gave me the wrong path.
When I did a db trace I could see that the component is using this method to get path:
SELECT value FROM v$parameter WHERE name = 'user_dump_dest'
user_dump_dest has been deprecated since 11g.
I think that this is the prefered method
SELECT VALUE FROM V$DIAG_INFO WHERE NAME = 'Default Trace File'
-Arni Thor
I was trying out TOraTrace and GetTraceFileName gave me the wrong path.
When I did a db trace I could see that the component is using this method to get path:
SELECT value FROM v$parameter WHERE name = 'user_dump_dest'
user_dump_dest has been deprecated since 11g.
I think that this is the prefered method
SELECT VALUE FROM V$DIAG_INFO WHERE NAME = 'Default Trace File'
-Arni Thor