• <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精品成人片中文字幕 | 久久久久国产亚洲AV麻豆| 亚洲伊人久久成综合人影院 | 日本福利片国产午夜久久| 亚洲伊人久久综合影院| 久久久久久久综合日本亚洲| 亚洲人成无码久久电影网站| 久久99国内精品自在现线| 婷婷国产天堂久久综合五月| 国产精品久久久久久| 久久人人爽人人爽人人片av麻烦 | 亚洲国产成人久久精品99| 精品久久久久久综合日本| 亚洲级αV无码毛片久久精品| 久久久无码精品午夜| 办公室久久精品| 亚洲国产精品久久久久婷婷老年| 亚洲精品美女久久久久99| 免费一级欧美大片久久网| 99久久99久久精品国产片果冻| 国内精品久久久久久99蜜桃 | 一本色道久久HEZYO无码| 久久久不卡国产精品一区二区| 99久久精品国产麻豆| 亚洲中文久久精品无码| 久久精品国产AV一区二区三区| 中文字幕精品久久| 99久久香蕉国产线看观香| 无码八A片人妻少妇久久| 久久午夜综合久久| 热久久最新网站获取| 亚洲婷婷国产精品电影人久久| 亚洲欧美一级久久精品| 亚洲级αV无码毛片久久精品| 婷婷五月深深久久精品| 色偷偷久久一区二区三区| 国产情侣久久久久aⅴ免费|