|
|
Choosing A Webhost: |
AW: Are there any perfomance issues associated with using a single sequence: msg#00204db.maxdb
Hellgren, Johan wrote > > Hello list, > > We are currently developing a large e-commerce site using SAPDB > 7.4.3.27. We do expect to see a large number of inserts into the > database, and are therefore considering how to assign key values for the > inserted rows. Using a sequence is what we presently consider doing, as > it has served us well in past, smaller implementations. > The implicit used primary key, called syskey CHAR (8) BYTE, which can be selected when specifying SYSKEY in the select-list afterwards does not serve your needs? > I see in the documentation that sequences can be created with maximum > values up to 38 digits, but I have been unable to find any mention of > any issues associated with using a single sequence for very high > transaction volumes. I'd thus like to ask the list if there are any > recommendations for the maximum number of transactions (nextval selects) > per second (or other volume-based metric) a single sequence can support > without having locking or other performance issues. Why do you want to do NEXTVAL-selects? Do you use the NEXTVAL-value in more than one row? If not, then use <sequence_name>.NEXTVAL in the insert itself to shorten the way and avoid superfluous communication between application/client and server. On the other hand: when using sequences very heavily, it is a good idea to use the CACHE-option when creating the sequence. http://dev.mysql.com/doc/maxdb/en/6d/117c29d14811d2a97400a0c9449261/fram eset.htm The cache will be good for performance, but will cause the loss of some numbers in case of shutdown of the server. > Also, are there any > changes in sequence performance in MaxDB 7.5 (and 7.6) compared to SAPDB > 7.4? > No Elke SAP Labs Berlin > Thanks in advance for your insight! > /Johan Hellgren > > -- > MaxDB Discussion Mailing List > For list archives: http://lists.mysql.com/maxdb > To unsubscribe: http://lists.mysql.com/maxdb?unsub=elke.zabach@xxxxxxx -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | How to import logs from operational instance to stand by instance ?, Savadatti, Vinay (STSD) |
|---|---|
| Next by Date: | Some Question, liu xiaotao |
| Previous by Thread: | How to import logs from operational instance to stand by instance ?, Savadatti, Vinay (STSD) |
| Next by Thread: | Some Question, liu xiaotao |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|