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

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

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

    隨筆-25  評(píng)論-6  文章-0  trackbacks-0

    Question:
    The restore command works fine, but while attempting the rolforward of the sql logs, it complains about database falling short on bufferpool,and then terminates the rollforward process. One close look at the db2diag.log file, I noticed that db2 tried to start the database with the hidden bufferpool. But, apparently, that hidden bufferpool was pretty small to rollforward the logs and bring it online.

    I cannot reduce the bufferpool size as the database cannot be connected to.I cannot connect to the database as it is in rollforward pending state. I cannot rollforward the database, as it's not happy with the size of the *hidden* bufferpool and terminates.

    Answer:

    db2set DB2_OVERRIDE_BPF=50000

    This will bring up all configured bufferpools using 50000 pages each. You
    can choose a smaller/larger value that is suitable for your number of
    bufferpools and available system memory. You can also configure each
    bufferpool individually if you want

    値: 正數(shù)のページ數(shù)
    ???? OR
    ?<entry>[;<entry>...] (<entry>=<バッファー?プール ID>,<ページ數(shù)> )

    There is sitiuation that above solution does not work.

    				When you try to create a bufferpool or alter a bufferpool to a
    very large size and there is not enough memory in the system
    , DB2 may occupies all pagespace and overrall performance of
    the system become slow and may get hang at last because no
    pagespace is available. Then after you connect the database
    next time, DB2 will do crash recovery and still try to
    allocate memory for this big bufferpool and occupy all
    pagespace again. when you specify DB2_OVERRIDE_BPF parameter
    to override bufferpool size, it doesn't take effect in this
    situation. This is becasue DB2_OVERRIDE_BPF only applies for
    bufferpools that already exist at startup, and not to
    bufferpools that are created during crash recovery or roll
    forward. We will fix this problem and check DB2_OVERRIDE_BPF
    registry when creating bufferpools during crash recovery or
    roll forward. This problem only occurs in a 64 bit instance.
    
    		

    Local fix

    				You can use db2iupdt -w 32 <INSTNAME> to update the instance to
    a 32 bit instance, then you can connect to the database
    succefully. After that, use db2iupdt -w 64 <INSTNAME> to update
    the instance to 64 bit again. Please take a backup at this
    point, so we don't have to roll forward through bufferpool
    creation that fails if we need restore and roll forward
    database.
    
    		

    Problem summary

    				Users Affected:
    All users using 64 bit instance
    Problem Description:
    When you try to create a bufferpool or alter a bufferpool to a
    very large size and there is not enough memory in the system
    , DB2 may occupies all pagespace and overrall performance
    of the system become slow and may get hang at last
    because no pagespace is available. Then after you connect the
    database at next time, DB2 will do crash recovery and still try
    to allocate
    memory for this big bufferpool and occupy all pagespace again.
    In this situation, when you specify DB2_OVERRIDE_BPF parameter
    to override bufferpool size, it doesn't take effect in this
    situation. This
    is becasue DB2_OVERRIDE_BPF only applies for bufferpools that
    already exist at startup, and not to bufferpools that are
    created during crash recovery or roll forward. We will fix
    this problem and check
    DB2_OVERRIDE_BPF registry when creating bufferpools during crash
    recovery or roll forward. This problem only occurs in 64 bit
    instance.
    Problem Summary:
    This problem is caused by a misoperation, when you create or alt
    er a bufferpool, the size is too large to allocated from OS and
    cause overrall performance of the system is very slow and seems
    hang. Another problem is that DB2_OVERRIDE_BPF registry only app
    lies to bufferpools that already exists, and not bufferpools wil
    l be created in crash recovery or roll forward. So DB2 will try
    to create this big bufferpool again when doing crash recovery or
     roll forward. We will fix this problem and check DB2_OVERRIDE_B
    PF registry in our crash recovery and roll forward code.
    
    		

    Problem conclusion

    				
    				
    		

    Temporary fix

    				You can use db2iupdt -w 32 <INSTNAME> to update the instance to
    a 32 bit instance, then you can connect to the database
    succefully. After that, use db2iupdt -w 64 <INSTNAME> to update
    the instance to 64 bit again. Please take a backup at this
    point, so we don't have to roll forward through bufferpool
    creation that fails if we need restore and roll
    forward database.Please also notice that be careful when creati
    ng bufferpool, don't specify a too large value.
    
    		


    posted on 2007-03-15 15:21 MyJavaWorld 閱讀(741) 評(píng)論(0)  編輯  收藏

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


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: MM131亚洲国产美女久久| 免费真实播放国产乱子伦| 久久亚洲春色中文字幕久久久| 99在线视频免费观看| 三上悠亚亚洲一区高清| 国产V片在线播放免费无码 | 日韩一区二区a片免费观看| 亚洲精品国产电影午夜| 欧美最猛性xxxxx免费| 亚洲国产欧美日韩精品一区二区三区| 国内外成人免费视频| 小说专区亚洲春色校园| 国产亚洲色视频在线| 中文字幕久精品免费视频| 亚洲一卡2卡三卡4卡有限公司| 18禁网站免费无遮挡无码中文| 亚洲中文字幕无码mv| 黑人粗长大战亚洲女2021国产精品成人免费视频 | 亚洲乱妇老熟女爽到高潮的片| 精品一区二区三区免费毛片爱| 亚洲国产精品久久丫| 日韩免费无码一区二区视频 | 色婷婷综合缴情综免费观看| 久久国产成人亚洲精品影院| 久久精品乱子伦免费| 亚洲av无码国产综合专区 | 曰韩亚洲av人人夜夜澡人人爽| 免费无码又爽又刺激网站直播| 亚洲国产国产综合一区首页| 无码人妻久久一区二区三区免费丨 | 久久亚洲国产精品| 日本XXX黄区免费看| 无码日韩人妻AV一区免费l| 亚洲AV日韩AV永久无码绿巨人 | 久草免费手机视频| 激情综合亚洲色婷婷五月APP| 国产99视频精品免费视频7| 久久免费高清视频| 亚洲国产精品无码久久九九大片 | 亚洲综合欧美色五月俺也去| 区三区激情福利综合中文字幕在线一区亚洲视频1 |