• <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
            是不錯
            欧美伊人久久大香线蕉综合69| 久久被窝电影亚洲爽爽爽| 精品国产综合区久久久久久| 久久国产一片免费观看| 一本大道久久东京热无码AV| 国产精品一久久香蕉国产线看观看| 久久香蕉国产线看观看99| 久久久亚洲欧洲日产国码是AV| 久久久精品国产sm调教网站| 久久AⅤ人妻少妇嫩草影院| 亚洲AV日韩AV天堂久久| 久久亚洲中文字幕精品一区| 国内精品九九久久久精品| 伊人久久成人成综合网222| 久久精品国产亚洲av麻豆小说| 色欲综合久久躁天天躁| 久久综合丝袜日本网| 久久九九精品99国产精品| 亚洲国产精品成人AV无码久久综合影院| 日韩精品久久久肉伦网站 | 久久se精品一区二区影院 | 国产精品内射久久久久欢欢| 久久综合给合久久狠狠狠97色| 亚洲国产精品无码久久九九 | 伊人久久大香线焦综合四虎| 久久午夜无码鲁丝片| 精品国产乱码久久久久久人妻| 亚洲精品国产综合久久一线| 久久青青国产| 久久久久亚洲AV成人网人人网站| 好久久免费视频高清| 99久久精品国产高清一区二区| 人妻无码αv中文字幕久久琪琪布| 久久亚洲国产精品成人AV秋霞 | 99久久婷婷国产综合精品草原| 91精品国产91久久久久福利| 国产高潮国产高潮久久久| 波多野结衣中文字幕久久| 热久久这里只有精品| 国产日韩久久免费影院| 中文字幕无码久久人妻|