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

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>
            狠狠色狠狠色综合人人| 亚洲国产精品va在线看黑人| 国产精品亚洲综合| 欧美人妖另类| 欧美精品18+| 欧美极品aⅴ影院| 欧美网站大全在线观看| 国产精品免费小视频| 国产精品视频免费观看| 国产麻豆一精品一av一免费| 国产模特精品视频久久久久| 国产曰批免费观看久久久| 国产在线精品成人一区二区三区| 国外成人免费视频| 亚洲国产高清aⅴ视频| 亚洲人www| 亚洲欧美在线观看| 久久久久久午夜| 欧美激情影院| 亚洲视频图片小说| 欧美亚洲免费电影| 欧美激情成人在线| 国产精品欧美风情| 亚洲国产精品一区二区三区| 亚洲午夜一区二区三区| 久久成人一区| 亚洲精品日韩在线观看| 99热免费精品| 亚洲国产精品成人va在线观看| 亚洲福利视频网| 亚洲一级影院| 久热这里只精品99re8久| 91久久精品国产91久久性色tv| av成人天堂| 久久久久久亚洲精品不卡4k岛国| 欧美激情一区二区久久久| 国产欧美日韩一区二区三区在线观看| 亚洲成人在线| 久久激情网站| 亚洲午夜精品在线| 欧美gay视频激情| 国产亚洲亚洲| 亚洲欧美日韩区 | 亚洲午夜一区二区| 欧美成人黄色小视频| 亚洲欧美国产va在线影院| 欧美激情第二页| 影音先锋中文字幕一区二区| 亚洲欧美精品在线| 亚洲美女色禁图| 欧美成人有码| 亚洲国产精品电影| 久久综合电影| 午夜精品亚洲| 国产欧美精品一区| 亚洲欧美变态国产另类| 亚洲免费电影在线观看| 免费高清在线视频一区·| 黄色国产精品| 久久综合久久美利坚合众国| 香蕉亚洲视频| 国产日韩高清一区二区三区在线| 亚洲欧美激情诱惑| 一区二区三区四区五区精品| 欧美人成在线| 国产精品99久久久久久久久久久久| 欧美激情第五页| 女仆av观看一区| 亚洲精品免费一二三区| 亚洲国产99| 欧美日韩国产三级| 亚洲一区免费视频| 宅男噜噜噜66一区二区 | 欧美电影免费观看大全| 最新成人av在线| 亚洲国产岛国毛片在线| 欧美精品91| 亚洲视频观看| 国产一区二区三区日韩欧美| 亚洲伦理在线| 久久久久久久激情视频| 欧美日韩国产探花| 亚洲一区二区成人在线观看| 一区二区精品国产| 国产精品一区亚洲| 久久人人97超碰人人澡爱香蕉| 久久久999| 亚洲开发第一视频在线播放| 亚洲美女av黄| 国产视频欧美| 欧美激情视频一区二区三区在线播放| 久久深夜福利免费观看| 日韩视频免费观看| 亚洲一区二区在线免费观看| 韩日精品在线| 亚洲免费观看高清完整版在线观看熊| 国产精品久久国产三级国电话系列 | 久久综合伊人77777蜜臀| 久久伊人一区二区| 一区二区欧美亚洲| 性欧美长视频| 日韩网站免费观看| 午夜在线a亚洲v天堂网2018| 亚洲国产裸拍裸体视频在线观看乱了中文| 亚洲人久久久| 国产综合色一区二区三区| 亚洲国产欧美不卡在线观看| 国产精品伦子伦免费视频| 免费成人在线观看视频| 欧美午夜国产| 亚洲电影有码| 国产自产精品| 中文一区二区在线观看| 亚洲国产mv| 欧美亚洲在线视频| 宅男精品视频| 欧美二区视频| 久久综合色综合88| 国产精品爽黄69| 亚洲人精品午夜在线观看| 尤物九九久久国产精品的特点| 国产麻豆日韩| 欧美区在线播放| 亚洲桃花岛网站| 久久综合五月天婷婷伊人| 亚洲最快最全在线视频| 亚洲成人影音| 欧美aaaaaaaa牛牛影院| 免费在线欧美视频| 亚洲精品123区| 久久久www成人免费精品| 一本久道久久综合中文字幕| 久热这里只精品99re8久| 亚洲欧美日韩国产| 欧美激情一区二区三区蜜桃视频 | 亚洲伦理一区| 一区二区三区精品国产| 亚洲欧美区自拍先锋| 欧美剧在线免费观看网站| 免费h精品视频在线播放| 国产亚洲精品高潮| 一区二区欧美日韩| 亚洲伦理在线| 欧美黄网免费在线观看| 欧美成人一区二区三区在线观看| 国产乱肥老妇国产一区二 | 亚洲国产精品成人精品| 久久精品女人天堂| 久久久免费精品视频| 国产亚洲午夜| 久久一区二区三区四区五区| 久久中文字幕一区| 精品成人免费| 久久噜噜亚洲综合| 欧美高清视频免费观看| 亚洲福利视频一区| 欧美国产精品劲爆| 日韩午夜免费| 亚洲免费影视| 国产亚洲欧美中文| 久久免费精品视频| 久久久999| 在线播放豆国产99亚洲| 久久精品一区二区三区四区| 蜜乳av另类精品一区二区| 激情综合色综合久久| 久久综合伊人77777| 亚洲国产精品成人综合色在线婷婷| 亚洲国产日韩欧美在线动漫| 欧美国产在线电影| 亚洲图片欧美一区| 久久九九精品99国产精品| 在线不卡免费欧美| 欧美精品午夜视频| 午夜日韩福利| 91久久精品日日躁夜夜躁国产| 亚洲影院免费| 精品动漫一区| 欧美涩涩网站| 久久一二三四| 亚洲天堂第二页| 亚洲第一在线| 久久超碰97中文字幕| 亚洲精品少妇网址| 国产日韩欧美中文在线播放| 久久免费精品日本久久中文字幕| 99精品视频一区二区三区| 久久尤物视频| 亚洲自拍偷拍视频| 亚洲国产精品高清久久久| 国产精品稀缺呦系列在线| 欧美18av| 久久久99爱| 亚洲欧美日韩天堂一区二区| 亚洲激情午夜| 蜜臀av在线播放一区二区三区| 午夜精品久久久久久99热软件| 日韩视频一区二区| 1024成人| 国内精品久久久久久久果冻传媒|