互联网服务数据库测试

关于db2flsn用法和db2pdlog问题

db2flsn这个工具通常能够用来做些什么操作?只是确定一个LSN的位置?按说可以异机使用的,但是我测试不行
db2pdlog这个工具是否是免费的?如果不是的话,在DB2的哪个版本存在,怎么9.7的express-c里面没有呢
参与10

7同行回答

marvelyumarvelyu软件开发工程师IBM
大家平时在管理DB2都用什么工具呢显示全部
大家平时在管理DB2都用什么工具呢收起
互联网服务 · 2011-11-29
浏览1296
marvelyumarvelyu软件开发工程师IBM
DB2这样搞下去还有希望么显示全部
DB2这样搞下去还有希望么收起
互联网服务 · 2011-11-29
浏览1240
macrozengmacrozeng数据库管理员IBM
db2pdlog 是 db2 support 的秘密武器 :)显示全部
db2pdlog 是 db2 support 的秘密武器 :)收起
政府机关 · 2011-11-29
浏览1218
andychenandychenIT支持东北农业大学
学习一下显示全部
学习一下收起
教育/培训 · 2011-11-28
浏览1207
weiruan85weiruan85数据库管理员ibm
It's used for db2 V8 to format log file.     You need to put db2pdlog in sqllib/bin directory.     eg:db2pdlog -a S000***.LOG     You can use db2flsn to find out what the log file number is if you know the LSN.   &n...显示全部
It's used for db2 V8 to format log file.

    You need to put db2pdlog in sqllib/bin directory.

    eg:db2pdlog -a S000***.LOG

    You can use db2flsn to find out what the log file number is if you know the LSN.

    FYI:

    usage:
  
Command line options are as follows:
  
Option       Meaning
  -archive   Check archived logs for truncated logs
  -quiet     Output to screen only errors and diagnostic info
  -force     Will not stop on error, but try to skip it and
             continue with the formatting
  -nopending Check for pending transactions
  -indoubt   Record indoubt transactions
  -nobacklsn Bypass back LSN verification
  -a         All log pages are formatted
  -bnn       Begin formatting at log page nn of first log file
  -enn       End formatting at log page nn of last log file
  -C         Show user data
  -I         Show index data
  -X         Show XDA data
  -c         Character and hex dump of the log data
  -d         Log data formatted in hex only
  -l         Use SQLOGCTL.LFH.1/SQLOGCTL.LFH.2 as input Log Control File
  -L         Use SQLOGCTL.LFH.1/SQLOGCTL.LFH.2 as input Log Control File
  -m         Use SQLOGMIR.LFH as input Mirror Control File
  -snn[-nn]  Use Snnnnnnn.LOG [to Snnnnnnn.LOG] as input file
  -r   Use name as the rawlog file
  -onn       Starting offset in the raw device
  -lsnrange  only report lsn range covered by log file(s),
             (-s must be specified)
  -pp        output both ping pong pages (default is to merge them into a
             single ping pong page
  -FB[id,..] Show only BPS log records
  -FD[id,..] Show only DMS log records
  -FF[id,..] Show only long field log records
  -FI[id,..] Show only IXM log records
  -FX[id,..] Show only XDA log records
  -FL[id,..] Show only LOB log records
  -FK[id,..] Show only BMS log records
  -FP        Show only DPS log records
  -FR        Show only RDS log records
  -Ft   Show only log records for transaction with TID
  -Fg  Show only log records that has the specified gxid
  -Fpnn      Show only log records for data in tablespace with id nn
  -Fo[[,]:[,]] show only records for data in obj
  -Frxx      Show only log records with RID xx
  -Fdnn[-nn] Show only log records for rows in data page number nn [to nn]
  -Finn[-nn] Show only index log records in index page number nn [to nn]
  -Fxnn[-nn] Show only XDA log records in XDA page number nn [to nn]
  -Ffnn[-nn] Show only long field manager log records in offset range nn [to nn]
  -Flnn[-nn] Show only lob manager log records in offset range nn [to nn]
  -Fsnn      Show only log record with lsn nn收起
政府机关 · 2011-11-28
浏览1319
telnet4730telnet4730课题专家组数据库运维工程师光大证券
拜读了,谢谢显示全部
拜读了,谢谢收起
证券 · 2011-11-27
浏览1172
junli0411junli0411数据库管理员NULL
db2flsn 可以根据LSN找到这个LSN所对应的那个LOG文件 。在SQL Replication里会经常要用到。db2flsn 000000BF0030      Given LSN is contained in log page 2 in log file S0000002.LOG另外,db2pdlog是实验室的人用的,不是给大家伙用的。:)...显示全部
db2flsn 可以根据LSN找到这个LSN所对应的那个LOG文件 。
在SQL Replication里会经常要用到。

db2flsn 000000BF0030
      Given LSN is contained in log page 2 in log file S0000002.LOG

另外,db2pdlog是实验室的人用的,不是给大家伙用的。:)收起
互联网服务 · 2011-11-27
浏览1174

提问者

marvelyu
软件开发工程师IBM

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2011-11-27
  • 关注会员:1 人
  • 问题浏览:6940
  • 最近回答:2011-11-29
  • X社区推广