木匠的微型博客 Charlie Twitter

    follow me on Twitter

    Thursday, February 08, 2007

    数据库专家AnySQL 和 Instrumenting code

    不久前通过AnySQL的blog, 认识了这位老大,

    根据最近阅读他的几篇文章,AnySQL偏向于数据库内部研究,
    而我更喜欢钻研宏观数据库应用开发,数据处理流程,数据建模.
    正好我们可以互相学习, 取长补短.

    在他的处理Resource Busy情况的一段角本提到了Instrument the code,
    用google搜索一下: LOG4PLSQL debug.f
    会分别找到他们的主页.
    Tom DebugF
    Open source LOG4PLSQL

    借用Tom的解释, In every 2nd line of your code, logging what you have done the line before, such as information, debugging, warning, alarm, error...etc.
    然后, Developer debuging, QA testing, benchmark, after roll-in production operation trouble-shooting, identifying the performance bottle-neck, just a peace of cake. 味道好极了.

    我的认识也是刚刚上了台阶, 从半年前开始 Instrumenting the code (logging, trace every line)


    玉面飞龙兄弟也来凑热闹,好极了. Chao 给你红包了吗?

    当你做Application Developement DBA时, (个人不太喜欢Production Operation DBA, 相对来讲,创新的空间比较小)
    你会发现Instrument your code 太重要了!
    我们这里(www.abebooks.com)每2周Release一个新版本,
    (Creative and Innovation)创新是我们以及Online Business生存之本.

    3 comments:

    Fenng said...

    看来你常写 pl/sql

    Unknown said...

    特征懂得多,但没有太多实战经验,属于纸上谈兵一类. 顶多算个中级.
    如果专职作Database Developer,我会觉得比较累, 不愿意被业务应用缠住.

    Anonymous said...

    Good post.