青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

Prayer

在一般中尋求卓越
posts - 1256, comments - 190, trackbacks - 0, articles - 0
  C++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

CACHE option of CREATE SEQUENCE statement

Posted on 2010-05-15 23:05 Prayer 閱讀(398) 評論(0)  編輯 收藏 引用 所屬分類: DB2

 

 Version 9.1 for z/OS

CACHE option of CREATE SEQUENCE statement

The CACHE option of the CREATE SEQUENCE statement is a performance and tuning option which directs DB2® to preallocate a specified number of sequential values in memory.

Start of change Begin general-use programming information.Sequence objects provide unique, sequential, and numeric values to DB2 applications. Applications can use sequence numbers for a variety of purposes, including the avoidance of concurrency and performance problems that can result when applications generate their own sequence numbers. Unlike application-generated sequences, DB2 sequence objects allow multiple transactions to concurrently increment the sequence number, and DB2 guarantees that each sequential value is unique. DB2 does not wait for a transaction that has incremented a sequence to commit before allowing the sequence to be incremented by another transaction. No retained locks are held to prevent access to the sequence.End of change

Start of changeEvery time a cache is allocated, the SYSIBM.SYSSEQUENCES table is updated and a forced log record is written for the update. Using ORDER or NO CACHE will result in a SYSIBM.SYSSEQUENCES table update and the associated forced log write every time a new value is generated by DB2. Specifying CACHE provides faster access to the sequence since values are assigned from the cache. It also reduces the number of SYSIBM.SYSSEQUENCES updates and the associated forced log records. The SYSIBM.SYSSEQ table space is defined with the MAXROWS(1) attribute in order to minimize page P-lock contention in a data sharing environment as the SYSIBM.SYSSEQUENCES table gets updated.End of change

Start of changeDB2 always generates sequence numbers in order of request. However, when a sequence is shared across multiple members of a data sharing group, each DB2 member allocates its own cache of unique consecutive numbers for the sequence. Therefore, in situations where transactions from different members are requesting the next sequence number from the same sequence, values assigned for the sequence across multiple DB2 members may not be in strict numeric order. End of change

Start of change Example: Assume that members DB2A and DB2B share a sequence named SEQ1 that starts with 1, increments by 1, and has cache = 20. If the transaction that is associated with DB2A makes the first request for a sequence number, DB2A allocates a cache of 20 values (from 1 to 20) and the value of 1 is provided to the application. If the transaction that is associated with DB2B makes the next request for a sequence number, DB2B allocates its own cache of 20 values (from 21 to 40) and the value of 21 is provided to the application. Assuming that sequence number requests continue to arrive from the transactions that are associated with members DB2A and DB2B in this manner (one from DB2A and then one from DB2B), the values assigned for that sequence are 1, 21, 2, 22, 3, 23, and so on. Although the numbers are in sequence within each DB2, the numbers assigned across multiple DB2 members are not in strict numeric sequence.End of change

Start of changeIn a data sharing environment, using the ORDER or NO CACHE option ensures that the values assigned to a sequence which is shared by applications across multiple DB2 members are in strict numeric order. In a data sharing environment, if ORDER is specified, then NO CACHE is implicit even if CACHE n is specified.End of change

In a non-data sharing environment, the numbers are always assigned in strict numerical order, even if NO ORDER is specified; so specifying ORDER or NO CACHE is not necessary.

Important: Specifying ORDER or NO CACHE in a data sharing environment, or NO CACHE in a non-data sharing environment, is not recommended because it will result in a SYSIBM.SYSSEQUENCES table update and the associated forced log record for each value generated by DB2. This can lead to an excessive amount of log write I/Os, which can drastically reduce the log write bandwidth.

End general-use programming information.


Terms of use | Library | Support | Feedback
http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/topic/com.ibm.db29.doc.dshare/db2z_cacheoptcreatesequence.htm

PDF version of this information: DB2 for z/OS Data Sharing: Planning and Administration (2.8 MB)

Last updated: October, 2009
Copyright IBM Corporation 1994, 2009. All Rights Reserved.
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <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>
            久久久久久亚洲精品不卡4k岛国| 亚洲精品1区2区| 欧美亚洲综合另类| 亚洲欧美日韩高清| 亚洲综合二区| 午夜精品区一区二区三| 亚洲欧美久久| 久久高清国产| 欧美激情aⅴ一区二区三区| 欧美激情91| 国产精品女人毛片| 激情综合电影网| 亚洲精品欧美在线| 亚洲视频观看| 久久久xxx| 亚洲福利国产| 亚洲精品国产精品国产自| 99国产精品一区| 性18欧美另类| 欧美成人福利视频| 国产欧美日本一区视频| 在线日韩电影| 亚洲专区一二三| 老牛嫩草一区二区三区日本| 亚洲国产专区校园欧美| 一区二区av在线| 久久精品国产精品 | 久久精品导航| 欧美日韩成人在线观看| 国产视频在线观看一区二区| 日韩一级精品视频在线观看| 久久高清福利视频| 亚洲精品韩国| 美女视频黄a大片欧美| 欧美在线网址| 欧美精品免费播放| 国产一区二区三区四区在线观看 | 欧美日韩成人在线视频| 国产亚洲精品自拍| 亚洲无毛电影| 亚洲欧洲免费视频| 久久本道综合色狠狠五月| 欧美巨乳在线观看| 亚洲国产毛片完整版| 久久99伊人| 亚洲色图制服丝袜| 欧美日本国产在线| 亚洲精品日韩在线观看| 久久婷婷丁香| 欧美一区二区三区视频| 国产精品免费在线| 亚洲欧美另类久久久精品2019| 国产精品大片免费观看| 亚洲成人在线视频播放| 久久亚洲国产精品日日av夜夜| 亚洲欧美日韩成人| 国产伦一区二区三区色一情| 中文在线不卡| 中文av字幕一区| 欧美网站在线观看| 亚洲在线1234| 亚洲宅男天堂在线观看无病毒| 欧美午夜女人视频在线| 亚洲影视在线播放| 亚洲综合欧美| 国产一区亚洲| 欧美多人爱爱视频网站| 欧美成人免费小视频| 日韩小视频在线观看| 99re66热这里只有精品4| 国产精品v欧美精品v日本精品动漫| 日韩视频一区二区三区在线播放免费观看| 美女脱光内衣内裤视频久久影院 | 欧美日韩精品一区| 这里是久久伊人| 一区二区激情视频| 国产女人精品视频| 久久一区二区三区四区| 麻豆亚洲精品| 亚洲图色在线| 午夜视频在线观看一区二区三区| 国产视频亚洲精品| 欧美高清视频一二三区| 欧美激情一区二区| 欧美亚洲一区二区三区| 另类尿喷潮videofree| 一本久道久久综合狠狠爱| 宅男噜噜噜66一区二区66| 国产丝袜一区二区| 欧美成人精品在线播放| 欧美亚洲不卡| 免费h精品视频在线播放| 国产精品网红福利| 国产欧美欧美| 欧美成人在线影院| 欧美日韩一区在线| 欧美自拍丝袜亚洲| 欧美福利视频网站| 欧美在线免费看| 免费观看成人www动漫视频| 99xxxx成人网| 新67194成人永久网站| 亚洲美女av电影| 亚洲欧洲99久久| 亚洲人成网站影音先锋播放| 中文日韩在线视频| 亚洲激情第一区| 亚洲综合国产| 99国产精品自拍| 久久精品三级| 午夜精品久久99蜜桃的功能介绍| 久久久99免费视频| 亚洲免费在线观看| 欧美黄色日本| 欧美大学生性色视频| 国产亚洲一级高清| 在线一区欧美| 99视频一区| 另类春色校园亚洲| 久久精品在线视频| 国产精品v欧美精品∨日韩| 亚洲成色www久久网站| 国产三级精品在线不卡| 一区二区三区四区五区精品| 亚洲人成久久| 美玉足脚交一区二区三区图片| 久久福利毛片| 国产欧美日韩不卡免费| 中文亚洲免费| 亚洲尤物在线| 欧美日韩一区二区三区在线视频 | 国产精品欧美久久久久无广告| 亚洲国产精品黑人久久久| 一区在线免费| 另类天堂av| 亚洲激情午夜| 日韩午夜黄色| 欧美日韩在线观看一区二区| 亚洲美女一区| 亚洲欧美99| 国产精品欧美久久| 亚洲天堂成人| 欧美一区二区三区喷汁尤物| 欧美视频一二三区| 一区二区欧美在线观看| 亚洲免费影视第一页| 国产精品视频一| 欧美一区二区在线| 美女精品在线观看| 亚洲美女在线观看| 欧美日韩免费看| 亚洲制服av| 免播放器亚洲一区| av成人激情| 国产麻豆综合| 久久综合中文色婷婷| 亚洲精品国产精品国自产观看浪潮| 久久精品视频免费播放| 久久亚洲一区二区| 亚洲国产成人精品久久久国产成人一区| 久久精品免视看| 亚洲激情啪啪| 欧美在线视频免费| 亚洲第一中文字幕在线观看| 老司机午夜精品视频| 亚洲精品视频免费在线观看| 亚洲亚洲精品三区日韩精品在线视频| 欧美三级第一页| 欧美一区在线直播| 亚洲国产视频a| 欧美一级视频精品观看| 在线看欧美视频| 欧美日韩国产a| 欧美亚洲系列| 亚洲精品女人| 性欧美超级视频| 亚洲精品乱码久久久久久久久 | 久久久www成人免费精品| 亚洲高清一区二区三区| 欧美性猛交99久久久久99按摩| 久久精彩视频| 夜夜狂射影院欧美极品| 美脚丝袜一区二区三区在线观看| 一本色道久久综合一区| 韩国欧美一区| 国产精品久久久久av免费| 久久先锋影音| 午夜视频一区二区| av成人激情| 亚洲国产精品久久人人爱蜜臀| 欧美中文在线观看| 在线中文字幕一区| 亚洲精品乱码| 亚洲国产婷婷综合在线精品 | 亚洲蜜桃精久久久久久久| 国产乱理伦片在线观看夜一区| 欧美高清在线视频| 久久综合色天天久久综合图片| 午夜一区二区三视频在线观看| 日韩亚洲欧美中文三级|