怎么通过日志反馈中的内容找出相应的SQL语句

2010-07-16-04.34.51.105061+480 E6805430A696       LEVEL: Error
PID     : 295074               TID  : 1           PROC : db2agent (REM) 0
INSTANCE: db2inst1             NODE : 000         DB   : REM
APPHDL  : 0-775                APPID: C0A8726E.M112.118A85183330
FUNCTION: DB2 UDB, data protection, sqlpgResSpace, probe:560
MESSAGE : ADM1542W  Application "QuestCentral.exe" with application handle "0"
          and application id "C0A8726E.M112.118A85183330" executing under
          authentication id "REMUSER " will be forced off of the database for
          violating database configuration parameter MAX_LOG (current value
          "80"). The unit of work will be rolled back.

各位大侠,如何能把相对应的SQL语句还有执行人的IP找出来呢`~~谢谢
参与19

17同行回答

cedarbirdcedarbird工程师CDI
要快速可能要写个小脚本这只能显示两位的echo "obase=10; ibase=16; C0" | bc结果是192显示全部
要快速可能要写个小脚本

这只能显示两位的
echo "obase=10; ibase=16; C0" | bc
结果是192收起
IT分销/经销 · 2010-07-19
浏览1017
nowhillnowhill系统工程师
to  qqdzyh   二位二位转换SQL> select to_number('C0','XXX')||'.'||to_number('A8','XXX')||'.'||to_number('72','XXX')||'.'||to_number('6E','XXX') from dual; TO_NUMBER('C0','XXX')||'.'||TO----------------------------------------------...显示全部
to  qqdzyh   二位二位转换
SQL> select to_number('C0','XXX')||'.'||to_number('A8','XXX')||'.'||to_number('72','XXX')||'.'||to_number('6E','XXX') from dual;

TO_NUMBER('C0','XXX')||'.'||TO
--------------------------------------------------------------------------------
192.168.114.110

ps一下 db2 居然没有16进制 转换成10进制的函数收起
IT分销/经销 · 2010-07-19
浏览1011
nowhillnowhill系统工程师
application id "C0A8726E.M112.118A85183330C0A8726E 代表ip,那么M112,118A85183330代表什么呢?谢谢解答显示全部
application id "C0A8726E.M112.118A85183330
C0A8726E 代表ip,那么M112,118A85183330代表什么呢?
谢谢解答收起
IT分销/经销 · 2010-07-19
浏览1140
nowhillnowhill系统工程师
C0A8726E.M112.118A85183330代表 192.168.114.110.24850,实例名)APPC Format Network.LU Name.Application instance Example CAIBMTOR.OSFDBX0.930131194520 Details This application ID is the displayable format of an actual SNA LUWID (Logical Unit-of-Work ID) ...显示全部
C0A8726E.M112.118A85183330
代表 192.168.114.110.24850,实例名)
APPC
Format
Network.LU Name.Application instance
Example
CAIBMTOR.OSFDBX0.930131194520
Details
This application ID is the displayable format of an actual SNA LUWID (Logical Unit-of-Work ID) that flows on the network when an APPC conversation is allocated. APPC-generated application IDs are made up by concatenating the network name, the LU name, and the LUWID instance number, which create a unique label for the client/server application. The network name and LU name can each be a maximum of 8 characters. The application instance corresponds to the 12-decimal-character LUWID instance number.

算自问自答了 ^_^收起
IT分销/经销 · 2010-07-17
浏览581

    提问者

    qqdzyh
    数据库管理员苏宁电器

    相关问题

    相关资料

    相关文章

    问题状态

  • 发布时间:2010-07-17
  • 关注会员:2 人
  • 问题浏览:8954
  • 最近回答:2010-07-28
  • X社区推广