• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            今天在做一個程序性能提升時發現otl_stream.第一個參數buffer size 對性能影響很大,以下是幾個測試數據.
            參考: http://otl.sourceforge.net/otl3_stream_class.htm
            50   2.06
            <1:536704> 18:31:58.068 [00001] The load SQL is [select USER_NUMBER from dr_gsm_931_20050831 where 1=1 ]
            <1:536704> 18:34:04.713 [00001] There are 3612066 records is loaded!

            100 1.38
            <1:2085112> 18:36:23.727 [00001] The load SQL is [select USER_NUMBER from dr_gsm_931_20050831 where 1=1 ]
            <1:2085112> 18:38:01.923 [00001] There are 3612066 records is loaded!
            1.23
            <1:2085112> 18:38:06.941 [00001] The load SQL is [select USER_NUMBER from dr_gsm_931_20050831 where 1=1 ]
            <1:2085112> 18:39:29.849 [00001] There are 3612066 records is loaded!

            200  1.02
            <1:1499250> 18:41:47.711 [00001] The load SQL is [select USER_NUMBER from dr_gsm_931_20050831 where 1=1 ]
            <1:1499250> 18:42:49.300 [00001] There are 3612066 records is loaded!
            <1:1499250> 18:42:54.312 [00001] The load SQL is [select USER_NUMBER from dr_gsm_931_20050831 where 1=1 ]
            <1:1499250> 18:43:53.717 [00001] There are 3612066 records is loaded!
            500  0.43
            <1:1978536> 18:45:57.790 [00001] The load SQL is [select USER_NUMBER from dr_gsm_931_20050831 where 1=1 ]
            <1:1978536> 18:46:40.685 [00001] There are 3612066 records is loaded!
            <1:1978536> 18:45:09.982 [00001] The load SQL is [select USER_NUMBER from dr_gsm_931_20050831 where 1=1 ]
            <1:1978536> 18:45:52.787 [00001] There are 3612066 records is loaded!
            1000  0.35
            <1:1597632> 18:47:42.973 [00001] The load SQL is [select USER_NUMBER from dr_gsm_931_20050831 where 1=1 ]
            <1:1597632> 18:48:17.715 [00001] There are 3612066 records is loaded!
            <1:1597632> 18:48:22.718 [00001] The load SQL is [select USER_NUMBER from dr_gsm_931_20050831 where 1=1 ]
            <1:1597632> 18:49:01.119 [00001] There are 3612066 records is loaded!
            <1:1597632> 18:51:17.837 [00001] The load SQL is [select USER_NUMBER from dr_gsm_931_20050831 where 1=1 ]
            <1:1597632> 18:51:24.416 [10001] Signal 31 recieved.
            <1:1597632> 18:49:49.976 [00001] The load SQL is [select USER_NUMBER from dr_gsm_931_20050831 where 1=1 ]
            <1:1597632> 18:50:28.192 [00001] There are 3612066 records is loaded!

            2000  0.34
            <1:2883830> 18:51:47.365 [00001] The load SQL is [select USER_NUMBER from dr_gsm_931_20050831 where 1=1 ]
            <1:2883830> 18:52:21.163 [00001] There are 3612066 records is loaded!
            <1:2883830> 18:52:26.166 [00001] The load SQL is [select USER_NUMBER from dr_gsm_931_20050831 where 1=1 ]
            <1:2883830> 18:53:01.576 [00001] There are 3612066 records is loaded!

            另外,編譯時定義OTL_STREAM_POOLING_ON 也會對性能有所提升.
            參考: http://otl.sourceforge.net/otl3_ex113.htm
            Posted on 2007-12-30 00:18 艾凡赫 閱讀(1632) 評論(2)  編輯 收藏 引用 所屬分類: C++ORACLE

            Feedback

            # re: OTL性能  回復  更多評論   

            2008-04-30 14:00 by 不錯
            不錯,很受啟發,謝謝!

            # re: OTL性能  回復  更多評論   

            2011-09-07 11:34 by Vibram five fingers
            是不錯
            久久精品麻豆日日躁夜夜躁| 99久久99久久精品国产片| 久久久久久青草大香综合精品| 99久久国产综合精品网成人影院| 91久久精品国产免费直播| 亚洲国产成人精品久久久国产成人一区二区三区综| 久久久久九九精品影院| 午夜精品久久久久久中宇| 国产AⅤ精品一区二区三区久久| 蜜桃麻豆WWW久久囤产精品| 亚洲国产精品久久久久| 久久婷婷是五月综合色狠狠| 亚洲国产精品久久久久| 嫩草伊人久久精品少妇AV| 久久精品国产亚洲5555| 国内精品九九久久久精品| 无码任你躁久久久久久老妇App| 久久国产精品77777| 欧美精品国产综合久久| 久久精品亚洲乱码伦伦中文| 99久久中文字幕| 国内高清久久久久久| 亚洲国产精品综合久久一线| 久久精品国产黑森林| AV狠狠色丁香婷婷综合久久| 少妇无套内谢久久久久| 亚洲国产成人久久精品99| 狠狠色伊人久久精品综合网| 99久久精品毛片免费播放| 国产精品一区二区久久国产| 久久午夜无码鲁丝片| 亚洲综合精品香蕉久久网| 国产精品99久久久精品无码| 久久精品综合一区二区三区| 成人精品一区二区久久| 成人a毛片久久免费播放| 狠狠久久综合| 亚洲精品久久久www| 99久久免费国产精品特黄| 无码AV中文字幕久久专区| 亚洲精品国产美女久久久|