<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Oracle Tips One

    1. Do use oracle "Bind variable", it can increase the speed by 90 percent in 10g release1.

    2. Understand how to use "lock", read never block write,  vice verse.

    3. There is a side effect from oracle regarding to the "lock", if you do want to control the access to one row at a specify time (like doing an if 'this row belong to some search condition' then 'modify this row' action), you have to write some logic yourself, for example use the "for update" statement, like: "select * from x where x.id = 1 for update", so that you can lock the row only with id equals to '1' and then modify this row, so that some orther concurrence requests should execute the same sql first, yes, with the same 'for update' statement, and because you already have locked this row(id = 1), orther requests cannot get the access to it, and you get the access control to this row.

    4. Regardint to item 3, it will not decrease the concurrence level, because first you only lock the item with id equals to 1 and there maybe thousands of items in your table, second, it will not block the read request.

    posted on 2010-03-06 21:25 Find it, try it, experience it 閱讀(230) 評論(0)  編輯  收藏


    只有注冊用戶登錄后才能發(fā)表評論。


    網(wǎng)站導(dǎo)航:
     
    <2010年3月>
    28123456
    78910111213
    14151617181920
    21222324252627
    28293031123
    45678910

    導(dǎo)航

    統(tǒng)計

    公告

    If there is any question you have, please don't hesitate, let me know ASAP, you can find me at kenees@gmail.com or QQ: 9808873, hope to make friends with you ;)

    常用鏈接

    留言簿(1)

    隨筆檔案

    文章檔案

    搜索

    積分與排名

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 在线精品免费视频| 久久精品乱子伦免费| 中文字幕亚洲情99在线| 亚洲免费在线视频播放| 亚洲成A∨人片在线观看无码| 亚洲视频在线一区| 亚洲成人中文字幕| 久久久无码精品亚洲日韩蜜臀浪潮 | 亚洲综合一区二区精品导航| 久久久综合亚洲色一区二区三区| 亚洲AV日韩AV天堂久久| 亚洲日韩图片专区第1页| 亚洲综合成人网在线观看| 亚洲天堂一区二区三区| 国产亚洲sss在线播放| 亚洲入口无毒网址你懂的| 亚洲中文字幕无码av| 色偷偷亚洲男人天堂| 成人免费观看男女羞羞视频| 久久精品无码专区免费| 人妻无码久久一区二区三区免费 | 亚洲国产综合精品中文第一| 亚洲国产精品嫩草影院| 羞羞漫画登录页面免费| 91视频免费观看| 8x8x华人永久免费视频| 在线视频观看免费视频18| 国产成人精品免费直播| 国产偷窥女洗浴在线观看亚洲| 亚洲AV中文无码乱人伦下载| 亚洲综合男人的天堂色婷婷| 亚洲熟女综合色一区二区三区| 西西人体大胆免费视频| 国产精品区免费视频| 在线观看av永久免费| 亚洲va中文字幕无码| 亚洲av日韩av不卡在线观看| 亚洲一区二区三区深夜天堂| 国产成人综合久久精品亚洲| 色播在线永久免费视频网站| 69式国产真人免费视频|