There are several kinds of tracing some for normal users and some for experts how know the source code or the internal architecture of SQLDBC.
All trace kinds can be combined together.
The following kinds of trace can be generated:
sqldbc_cons
utility.
The tool sqldbc_cons
is called as follows:
sqldbc_cons [options] [command]
where [options]
are:
Option | Description |
-h | Help. Shows usage information, and ignore all commands. |
-p <pid> | Execute the command only for the specified process id <pid> . |
-v | Verbose operation. |
-f | Force tool execution, even if a lock file of another instance is found. This feature should only used in critical situation like endless loops or hanging processes. |
and [commands]
are:
Command | Description |
[CONFIG] TRACE SQL | ON|OFF | Switches the SQL commando trace on or off or sets the call trace nesting level |
[CONFIG] TRACE SHORT ON|OFF | Switches the short call trace (only function calls) on or off |
[CONFIG] TRACE LONG ON|OFF | Switches the long call trace (includes function and arguments) on or off |
[CONFIG] TRACE PROFILE ON|OFF | Switches the profile trace on or off |
[CONFIG] TRACE PACKET ON|OFF|<limit> | Switches the packet trace (like vtrace) on or off or sets the packet trace size. |
[CONFIG] TRACE TIMESTAMP ON|OFF | Switches the time stamp prefix on or off |
CONFIG TRACEFILENAME <filename> | Set the trace file name to where the commands are logged. A 'p' within the file name will be expanded to the process id of the application. File names started with a './' are placed relative to the run directory of the traced application |
TRACE OFF | Switches all trace kinds off |
SHOW CONFIG | Shows the trace configuration. |
SHOW TRACESETTINGS | Shows the current trace settings done by this tool. |
SHOW ALL | Shows the trace configuration and settings. |