dbTalk Databases Forums  

SQL text truncation in Windows trace files

comp.databases.oracle.server comp.databases.oracle.server


Discuss SQL text truncation in Windows trace files in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tesseract
 
Posts: n/a

Default SQL text truncation in Windows trace files - 10-11-2011 , 07:25 PM






For various reasons I have tracing turned on for some Oracle sessions.

Certain SQL commands, apparently those which can potentially contain a
password (e.g. create user, alter role etc.), are truncated to 25
characters when recorded in the session trace file. If I look for
"create public database link ..." then all I see is "create public
datbase li" and if there is a comment in there (e.g. "create /* some
arbitrary comment text */ public database link ...") then the
situation is even worse.

I assume this is some sort of security feature, although a better one
would be to mask out the passwords. Is there some way to turn off the
truncation? The trace files are not readable by anyone without the
requisite authority so security in this installation is not an issue.

I have not tested any version of Oracle earlier than 10.2 but the
truncation occurs there and in 11.x.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.