• <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
            是不錯
            久久天天躁狠狠躁夜夜2020老熟妇| 亚洲欧美国产精品专区久久 | 久久这里的只有是精品23| 国产综合免费精品久久久| 性做久久久久久免费观看| 亚洲愉拍99热成人精品热久久| 亚洲AV成人无码久久精品老人| 国产一级做a爰片久久毛片| 午夜精品久久久久9999高清| 久久久噜噜噜www成人网| 久久播电影网| 丰满少妇高潮惨叫久久久| 久久亚洲电影| 久久精品国产99国产电影网| 欧美精品国产综合久久| yellow中文字幕久久网| 国产V亚洲V天堂无码久久久| 久久免费视频一区| 97久久精品人妻人人搡人人玩| 久久夜色精品国产亚洲av| 久久精品视频网| 色综合久久中文字幕无码| 久久综合久久伊人| 一级做a爰片久久毛片16| 久久国产亚洲精品无码| 久久久久免费精品国产| 亚洲伊人久久成综合人影院| 国产99久久久国产精品~~牛| 97精品久久天干天天天按摩| 99久久免费国产精品特黄| 久久综合久久鬼色| 欧美久久一级内射wwwwww.| 国产99久久久久久免费看| 久久婷婷国产麻豆91天堂| 久久久久女人精品毛片| 久久香蕉超碰97国产精品| 久久精品一本到99热免费| 精品无码久久久久国产动漫3d| 久久人人超碰精品CAOPOREN| 久久综合久久性久99毛片| 四虎亚洲国产成人久久精品|