香港-海洋公园

January 27th, 2012 by admin No comments »

» Read more: 香港-海洋公园

香港-迪斯尼

January 27th, 2012 by admin No comments »

» Read more: 香港-迪斯尼

香港-黄大仙

January 27th, 2012 by admin No comments »

 

香港-扫街

January 27th, 2012 by admin No comments »

» Read more: 香港-扫街

澳门掠影-炮台山

January 21st, 2012 by admin No comments »

炮台山上的小窗户

澳门博物馆,很漂亮的建筑

博物馆门口的蓝莲花

» Read more: 澳门掠影-炮台山

澳门掠影-大三巴

January 21st, 2012 by admin No comments »

大三巴-游人如织啊,取个景都不容易

附近小学放学了,校服很赞

» Read more: 澳门掠影-大三巴

澳门掠影2

January 21st, 2012 by admin No comments »

» Read more: 澳门掠影2

澳门掠影1

January 21st, 2012 by admin No comments »

» Read more: 澳门掠影1

北京.前门

October 27th, 2011 by admin No comments »

» Read more: 北京.前门

香山.红叶

October 25th, 2011 by admin No comments »

 

» Read more: 香山.红叶

很蓝的天

September 17th, 2011 by admin No comments »

很蓝的天

» Read more: 很蓝的天

在SAP里使用DBSL Deadlock Trace解决Deadlock

August 22nd, 2011 by admin No comments »

通过使用DBSL Deadlock Trace,能够很容易抓到DeadLock的SQL.再和Abaper对其优化.最近用这种方式解决了几个令人头痛的问题,记之.

To analyze deadlock situation, could you please follow the following

Please be sure to first raise the value of the DB parameter DLCHKTIME toat least 300000 ms, so that the deadlock situation will remain longer and hopefully can be caught by the trace. Please then send us the results of the trace. You can lower the value of DLCHKTIME afterwards again to the default (10000). As of V9 this can be done online via ‘db2 update db cfg for <DBSID> using DLCHKTIME <value>. Run db2util as follows:
- db6util -sl 600 -o db6util_log.txt -w db6util_snapshot.txt

Once run, db6util will be running and once the deadlock is detected , pls kill db6util process , also make sure that the dir you run above command where you have enough space atleast 10 MB to 20MB to save output. Turn DBSL Trace- ST04-> Diagnostic -> Trace Status -> enable deadlock detection( enable deadlock trace with 30 sec.)

Once you enable deadlock detection trace files will be generated under /tmp/TraceFiles dir(normally, you can check Diagnostics – DBSL Trace Directory the exact path where the files will be created) ,So before you recreate the deadlock situation pls remove all files from /tmp/TraceFiles dir.

Once you change DLCHKTIME, then run db6util and turn DBSL trace on as above, recreate the deadlock and collect all the files generated under /tmp/TraceFiles dir as well as db26util command output file.

For analysis of deadlock situations we require both the dbsl trace and the db6util gathered at the same time during the lock situation.

The dbsl and the db6util show different aspects of the lock situation and we cannot analyse without having both.

writing essays : college papers : writing essays : College essays : write essay for me