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

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>
            美女主播精品视频一二三四| 黑人巨大精品欧美一区二区 | 久久精品成人欧美大片古装| 99精品视频一区二区三区| 欧美成va人片在线观看| 欧美专区日韩视频| 欧美在线观看一区二区三区| 亚洲欧美日韩视频二区| 久久久久久久久久久久久9999| 欧美中文字幕| 欧美成人在线网站| 亚洲伦理久久| 欧美在线一二三| 欧美激情黄色片| 国产精品免费看片| 亚洲国产日韩一区| 先锋资源久久| 亚洲精品国产日韩| 一区二区激情小说| 免费成人毛片| 精品999久久久| 久久精品国亚洲| 亚洲美女av在线播放| 久久丁香综合五月国产三级网站| 欧美精品久久久久久久免费观看 | 一区二区高清在线| 欧美一区二区在线| 一区二区三区久久久| 欧美成人免费观看| 激情亚洲网站| 美国成人直播| 亚洲国产色一区| 欧美激情国产日韩精品一区18| 亚洲欧美激情一区| 国产欧美日韩| 久久精品综合一区| 欧美亚洲一区在线| 国产亚洲精品久久久久婷婷瑜伽 | 欧美日韩国产综合在线| 91久久久久久| 一本色道久久99精品综合| 欧美日韩福利| 亚洲欧美在线免费| 久久激情中文| 99re6热只有精品免费观看| 日韩亚洲在线观看| 国产一区清纯| 欧美高清自拍一区| 欧美日韩精品一区二区| 午夜精品久久久久久久男人的天堂 | 久久精品国产第一区二区三区| 亚洲人成网站在线观看播放| 亚洲国产日韩欧美综合久久| 欧美激情国产高清| 久久久91精品国产| 欧美日韩一区二区免费在线观看| 午夜精品福利电影| 欧美日本精品| 久久午夜视频| 国产日韩欧美中文在线播放| 亚洲精品视频中文字幕| 伊人久久亚洲影院| 亚洲一区影音先锋| 在线综合+亚洲+欧美中文字幕| 午夜日韩在线| 久久国产精品免费一区| 欧美日韩在线不卡| 99视频在线精品国自产拍免费观看| 国产综合久久久久久鬼色| 国产亚洲免费的视频看| 99热在线精品观看| 一区二区三欧美| 欧美激情视频在线播放| 欧美激情第1页| 一个色综合导航| 欧美三级乱码| 亚洲欧美区自拍先锋| 亚洲专区免费| 国产欧美一区二区三区国产幕精品 | 国产毛片一区| 亚洲一区尤物| 欧美激情视频给我| 亚洲区欧美区| 国产精品久久77777| 香蕉久久一区二区不卡无毒影院 | 欧美日韩一区二区免费在线观看| 亚洲激情婷婷| 欧美中文字幕在线视频| 亚洲国产精品成人| 国产精品福利在线| 久久久久国产精品麻豆ai换脸 | 在线看一区二区| 欧美福利专区| 久久九九99视频| 亚洲区一区二区三区| 久久综合中文| 午夜久久久久久| 正在播放日韩| 亚洲日韩中文字幕在线播放| 国产精品日韩一区| 亚洲一区二区黄| 亚洲国产精品高清久久久| 国产精品在线看| 国产精品久久一级| 国产精品九九| 国产精品一区二区三区免费观看 | 欧美华人在线视频| 久久久久久久久久看片| 久久精品二区三区| 欧美一区二区三区免费在线看| 亚洲午夜三级在线| 在线视频中文亚洲| 亚洲中字在线| 久久激情一区| 久久人人九九| 亚洲国产日韩欧美在线图片| 欧美黑人一区二区三区| 99精品欧美一区| 亚洲一本大道在线| 欧美在线关看| 欧美欧美在线| 亚洲午夜久久久久久久久电影院 | 国内精品久久久久久久影视蜜臀 | 在线亚洲欧美| 亚洲综合色婷婷| 免费久久99精品国产| 欧美日韩1234| 国产一区二区三区久久悠悠色av | 国产欧美日韩视频一区二区三区| 国产精品乱码妇女bbbb| 亚洲成色777777在线观看影院| 日韩视频永久免费| 久久久国产亚洲精品| 亚洲激情在线播放| 欧美一区二区三区播放老司机| 欧美激情综合五月色丁香| 国产欧美日韩精品专区| 日韩视频在线一区二区| 美女精品国产| 久久国产66| 国内久久视频| 久久成人免费| 欧美一级片一区| 欧美亚州一区二区三区| 日韩视频一区二区在线观看| 蜜桃视频一区| 另类春色校园亚洲| 亚洲精品久久久久久久久久久久| 久久久久久91香蕉国产| 亚洲一区二区精品在线观看| 欧美日韩网站| 久久精品二区| 久久视频一区| 一二三区精品| 亚洲影院高清在线| 国产精品永久在线| 另类图片综合电影| 欧美在线欧美在线| 欧美在线影院| 亚洲精品一区二区三区不| 亚洲国产精品第一区二区| 免费不卡在线视频| 亚洲欧美视频在线观看| 黄色成人小视频| 亚洲六月丁香色婷婷综合久久| 欧美日韩一二三四五区| 欧美在线免费一级片| 久久久久久网址| 亚洲性感美女99在线| 久久久爽爽爽美女图片| 一区二区三区欧美日韩| 亚洲欧美日韩天堂一区二区| 影音先锋亚洲精品| 亚洲视频狠狠| 日韩一级大片| 蜜桃久久av一区| 麻豆精品网站| 国产一区在线播放| 日韩一级精品视频在线观看| 国产一区二区三区最好精华液| 欧美国产丝袜视频| 亚洲第一区在线观看| 欧美有码在线观看视频| 午夜国产精品影院在线观看| 欧美大色视频| 欧美大片免费观看| 亚洲精品1234| 欧美成人午夜免费视在线看片| 蜜桃久久av一区| 永久免费视频成人| 久久久噜噜噜| 亚洲黄色成人久久久| 91久久精品一区二区三区| 欧美裸体一区二区三区| 亚洲最快最全在线视频| 午夜精品久久久久久久白皮肤| 国产精品久久久对白| 香蕉亚洲视频| 亚洲电影av在线| 亚洲在线视频观看|