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

Prayer

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

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>
            欧美+日本+国产+在线a∨观看| 欧美高清不卡在线| 国产无一区二区| 国产精品欧美日韩| 国产精品一区视频| 日韩亚洲一区二区| 亚洲人精品午夜| 亚洲福利视频网站| 亚洲欧洲免费视频| 亚洲乱码国产乱码精品精天堂 | 一区二区av在线| 一本一道久久综合狠狠老精东影业| 99精品福利视频| 欧美一级久久久| 免费欧美视频| 99v久久综合狠狠综合久久| 亚洲一区黄色| 麻豆freexxxx性91精品| 欧美日韩在线不卡一区| 国产视频一区二区在线观看 | 亚洲天堂成人在线观看| 午夜在线精品偷拍| 欧美大片91| 国产日韩在线播放| 亚洲毛片在线| 久久精品中文字幕一区| 亚洲人体大胆视频| 欧美在线视频一区| 欧美日韩亚洲系列| 亚洲国产一区二区三区在线播 | 国产精品家教| 亚洲经典自拍| 久久久久久久久久久一区 | 亚洲福利视频网站| 亚洲欧美清纯在线制服| 欧美激情一区二区三级高清视频 | 99成人免费视频| 久久久久久夜| 亚洲在线成人精品| 欧美日韩网站| 亚洲日本成人女熟在线观看| 欧美日韩999| 欧美日韩不卡视频| 亚洲国产毛片完整版 | 99精品视频免费观看视频| 久久国产主播| 一区二区三区波多野结衣在线观看| 久久久精品tv| 国产日韩欧美高清免费| 亚洲一区二区在线免费观看| 最近中文字幕日韩精品| 看片网站欧美日韩| 国产一区激情| 久久久久久久久久码影片| 亚洲欧美日韩国产一区| 国产精品人人做人人爽| 亚洲欧美综合v| 亚洲免费在线视频一区 二区| 国产精品多人| 欧美一区二区三区男人的天堂| 中文精品一区二区三区| 欧美高清不卡| 亚洲国产裸拍裸体视频在线观看乱了| 美腿丝袜亚洲色图| 久久国产精品99国产| 国内精品视频在线观看| 欧美影院久久久| 午夜日韩激情| 国内精品美女在线观看| 久久国产乱子精品免费女 | 久久久久久自在自线| 国产色爱av资源综合区| 欧美在线免费观看| 久久9热精品视频| 欧美一区二区三区免费视频| 亚洲天堂av图片| 国产精品激情电影| 久久久久久夜| 免费成人av在线看| av不卡在线| 一本到高清视频免费精品| 国产精品视频免费观看| 久久久久久香蕉网| 欧美成人网在线| 亚洲综合色噜噜狠狠| 久久99在线观看| 亚洲免费观看高清完整版在线观看| 亚洲免费久久| 韩国v欧美v日本v亚洲v| 亚洲国产一区二区精品专区| 国产精品超碰97尤物18| 麻豆精品在线视频| 欧美视频在线观看一区| 久久综合色婷婷| 欧美视频一区二区三区在线观看| 久久综合色一综合色88| 欧美午夜精品久久久| 久久久蜜桃一区二区人| 欧美日韩成人一区| 久久夜色精品国产噜噜av| 欧美日韩亚洲国产一区| 久久综合电影| 国产精品户外野外| 亚洲福利在线看| 国产区欧美区日韩区| 亚洲精品免费在线观看| 久久网站热最新地址| 亚洲一区自拍| 老鸭窝毛片一区二区三区| 亚洲欧美日韩在线一区| 久久综合狠狠| 欧美一区国产二区| 欧美区在线观看| 免费欧美网站| 国内在线观看一区二区三区| 亚洲午夜久久久久久尤物 | 久久久久国产精品麻豆ai换脸| 欧美乱妇高清无乱码| 免播放器亚洲| 国产一区在线免费观看| 亚洲天堂成人在线观看| 宅男噜噜噜66一区二区| 久热精品视频在线观看一区| 久久久久九九视频| 国产精品女主播| 夜夜嗨av一区二区三区四区| 亚洲精品乱码久久久久久日本蜜臀 | 欧美日韩18| 欧美华人在线视频| 黄色一区二区三区四区| 欧美影院成人| 久久精品视频在线免费观看| 国产欧美日韩视频在线观看| 一区二区激情| 亚洲欧美成aⅴ人在线观看| 欧美视频日韩| 亚洲一区二区三区乱码aⅴ蜜桃女 亚洲一区二区三区乱码aⅴ | 亚洲欧洲一区二区在线播放| 久久久久久久综合色一本| 久久久精品一区| 激情久久久久久久久久久久久久久久 | 欧美在线看片| 国产亚洲一本大道中文在线| 午夜精品福利一区二区蜜股av| 欧美一二三区精品| 国产午夜精品视频免费不卡69堂| 性久久久久久久| 亚洲欧美久久久久一区二区三区| 亚洲视频高清| 欧美视频网站| 午夜精品一区二区在线观看| 久久成人精品无人区| 韩日欧美一区| 久久综合久久综合这里只有精品| 蜜臀av性久久久久蜜臀aⅴ| 亚洲第一福利社区| 欧美精品1区2区3区| 夜夜精品视频| 久久国产精品久久精品国产| 国产亚洲欧美aaaa| 久久综合久久综合久久| 欧美激情bt| 久久蜜桃香蕉精品一区二区三区| 欧美一级网站| 国语对白精品一区二区| 欧美jjzz| 亚洲视频在线免费观看| 欧美在线亚洲| 亚洲人成人99网站| 国产精品亚洲网站| 久久亚洲国产精品日日av夜夜| 亚洲人在线视频| 久久国产精品高清| 日韩亚洲视频在线| 国产亚洲在线观看| 欧美激情aⅴ一区二区三区| 亚洲中午字幕| 欧美国产日本在线| 欧美伊人久久| 99在线精品观看| 精品91在线| 欧美性片在线观看| 久久久久久噜噜噜久久久精品| 亚洲精品美女久久久久| 快播亚洲色图| 先锋a资源在线看亚洲| 日韩性生活视频| 韩国亚洲精品| 国产精品一区免费视频| 欧美日韩在线不卡| 欧美成人黑人xx视频免费观看| 小嫩嫩精品导航| 99在线精品免费视频九九视| 欧美电影打屁股sp| 久久久久免费| 欧美中文在线字幕| 欧美一区二区视频97| 亚洲一区在线看| 亚洲一区二区在线| 亚洲一区二区三区高清|