• <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 艾凡赫 閱讀(1645) 評論(2)  編輯 收藏 引用 所屬分類: C++ORACLE

            Feedback

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

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

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

            2011-09-07 11:34 by Vibram five fingers
            是不錯
            久久久久99精品成人片三人毛片| 久久免费看黄a级毛片| 国产精品内射久久久久欢欢| 久久久久99精品成人片三人毛片| 久久国产劲爆AV内射—百度| 久久亚洲欧美日本精品| 狠狠色丁香婷婷久久综合五月| 人妻精品久久无码区| 久久99精品久久久久久齐齐| 人妻无码αv中文字幕久久| 国产福利电影一区二区三区久久老子无码午夜伦不 | 国产成人精品久久| 久久久久人妻精品一区三寸蜜桃| 亚洲人成伊人成综合网久久久| 观看 国产综合久久久久鬼色 欧美 亚洲 一区二区 | 亚洲国产成人久久精品影视| 欧美亚洲国产精品久久高清| 亚洲精品高清国产一久久| 新狼窝色AV性久久久久久| 久久久久国产精品嫩草影院| 久久婷婷国产麻豆91天堂| 国产精品对白刺激久久久| 久久热这里只有精品在线观看| 亚洲精品tv久久久久| 精品久久久无码中文字幕| 久久久中文字幕| a级毛片无码兔费真人久久| 99久久综合狠狠综合久久止| 国产成人久久AV免费| 国产美女久久精品香蕉69| 久久久久久久人妻无码中文字幕爆| 狠狠色丁香久久婷婷综合| 久久久久亚洲AV成人网人人网站 | 免费无码国产欧美久久18| 亚洲国产精品无码久久九九| 一本色道久久综合狠狠躁篇| 热RE99久久精品国产66热| 久久精品国产亚洲AV影院| 久久天天躁狠狠躁夜夜网站| 久久99精品久久久久久hb无码| 国产精品99久久久久久人|