Sequence cache (can it cause lock when.....)

it is set to 0?
We have a sequence that is used as a key in a table. If many users try to select next val from it at once and the cache is 0, can this cause the application to lock?
(I know this sounds far fitch but the only question not ask is a stupid question)

I would also ask why you were setting a sequence to
NOCACHE if there is the potential for many users to
access it simultaneously. Frequently used sequences
ought to have appropriately sized caches.
Folks that set sequences to NOCACHE are frequently
trying to prevent gaps in their sequences. While
setting a sequence to NOCACHE will tend to decrease
the probability of gaps, it will not eliminate them.
If your application absolutely requires a gap-free
e sequence, you cannot use Oracle sequences and you
have to deal with the (significant) performance
penalty of serializing all transactions on the next
sequence value.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
It was not the idea of the dba here, but the application programmers (we should be shot for allowing them to tell us this). They did not believe us when we told them that the sequences would not roll back... I reset the cache to a number other than 0...
Thanks all for the feedback

Similar Messages

  • STS: Why data can't be locked when status is sent to approval.

    Hi All,
    I'd like to ask about STS, I have a problem on it. I'm working in IP.
    Why data can't be locked though the status is already in "send to approval" ?
    I've setup data slice under the corresponding cube based on exit class: CL_UPS_LOCK_DATASLICE.
    Is it because I've yet to assign R_STS_PT authorization to the planner ? So when I'm opening the data using planner user id, data is still not locked yet.
    Could you kindly help me to resolve this problem please ?
    Thanks a lot all,
    Have a good day,
    Best regards,
    Daniel N.

    Hi Daniel,
    Thanks for the response, much appreciated, a bit of good fortune that I ran into someone in April 2010 who is having the same problem as me on the obscure STS!
    I have some queries about your response;
    1) You say to create planning a function within a sequence to copy the status., did you mean to copy the version?
    2) So the basic principle is, when a user submits data for approval, they use the STS monitor's 'Approval' button, this then triggers the planning sequence to copy data which they just planned to a certain version, this version is hard coded into the data slice, is this correct?
    3) What happens then when the higher level manager approves the data, is this then unlocked by copying to another version?
    If you could please break it down for me.
    Appreciate your time & help.
    Regards
    SS
    Hi Sulman,
    You can create function and planning sequence to copy the status.
    Then you create dataslice based on particular status to block data from data entry.
    You can embed the planning sequence to STS using t-code: BPS_TC.
    Thanks a lot .
    Best regards,
    Daniel N.

  • PIAFUSER PIDIRUSER & PIISUSER are getting locked  , when cache is refreshed

    Hi XI Gurus,
    My scenario goes like this.. Sonic MQ <- XI <- SAP CRM.The messages sent from CRM are reaching XI but not are not making to Sonic, and the error message in SXMB_MONI of XI is <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>401</SAP:P1>
      <SAP:P2>Unauthorized</SAP:P2>
    I know this problem deals with the aunthentication.The users PIAFUSER PIDIRUSER & PIISUSER are getting locked when ever Iam trying to refresh cache in ID.When I unlock them and again refresh the cache they are again getting locked.when I unlock the users and restart the message it gives me an error of cache probelm .The mesage is stuck at call adapter phase in SXMB_MONI.Iam really confused of what to do.. please help me..

    And when the locks are gone it gives me the following error
    I have checked my receiver side every thing is fine.
    <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=;TP=;FS=CRSCLNT100;TS=Sonic_BusService;AN=EMADispositionIN;ANS=urn:mentorg.com:ema:disposition;</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />

  • When i open new tab my all bookmarks and add on's remove automatically, what can do for locking this???

    when i open new tab my all bookmarks and add on's remove automatically, what can do for locking this???

    Do you mean that toolbars get hidden when you open a new tab?
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    *Use a compressed image type like PNG or JPG to save the screenshot
    *Make sure that you do not exceed the maximum size of 1 MB
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Mac desktop. 10.6.8. Text edit. Not locked. Read and write. Still, documents are locking when they are moved from desktop to another folder on the server. Techies can't figure it out here. What am I not doing?

    Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.

    Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.

  • HT4623 i bought an ipod touch got itunes downloaded on my computer but can't get it to connect to ipod because it is locked it was locked when i bought it how can i get it un locked

    i bought an ipod touch and i got itunes downloaded on my computer but can't get it to connect to ipod because it is locked it was locked when i bought it how can i get it unlocked?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • Can I transfer my hand made album sequence (sort order) defined in element when I turn a local album into a mobile album used with IPAD. Or do I have to change the dates artificially?

    Can I transfer my hand made album sequence (sort order) defined in elemenst when I turn a local album into a mobile album used with IPAD. Or do I have to change the dates artificially?

    Andrew, I know I am extremely late to the party but I too use Grid View.  I had the same problem that you had but have found this to work for me.  I used it and it is still holding as my default sorting even after switching between the Artist page and Grid View.
    Once you are inside of the Artist page continue to click on the Album column until it shows Album by Artist/Year.
    That will give you each album sorted by the year instead of it randomly sorting it for you each time you leave an Artist's page and then back again.
    Hope this helps.

  • I'd love to buy Lightroom but I can't cause I'm now living in Australia but I create my account when I was living in Belgium.

    I'd love to buy Lightroom but I can't cause I'm now living in Australia but I create my account when I was living in Belgium so it says that I can't buy with this account cause I'm not in Belgium. How can I change my country??

    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons..
    If no joy...
    Reset all settings
    Settings > General > Reset > Reset all Settings.
    This will return all iDevice settings to factory defaults... you will not lose any data.... But you will have to re-enter all of the device settings.

  • My Iphone Is Locked, When I Try Sync With Itunes ,The App Ask Me For The Owner Account which Is Erased Somebody Can Help Me?

    My Iphone Is Locked, When I Try Sync With Itunes ,The App Ask Me For The Owner Account which Is Erased Somebody Can Help Me?
    I Want To Sync My Music But I Cant, Can Somebody Help Me ? Thanks

    Look, Idk If Is Blocked Or Something But When I Restored The Phone I Mean Factory, First Says That The phone Need A Sim Card,then An Icloud Account  And Then This " This Phone Was Registered With An Apple Account,So I Know The Email and The Password, when i Try To Log In Its Says Password or EMail Incorrect so I Asked My Friend,Because I Didn't Buy it From An Apple Store Or Somethin Like That, So MY Friend Told Me That He Erased The Account or He desactivated I Need Help Seriously :s

  • I can not edit documents when I receive them they are locked although just prior to sending them to

    I can not edit documents when I receive them they are locked although just prior to sending them to my self I edited the document

    This sounds like you are trying to edit an XFA form (created perhaps by LiveCycle Designer). These forms are not editable by the mobile Reader. You are welcome to share your form with us at [email protected] and I can confirm or give you a better answer (there are some less common reasons that the fields are locked like encryption, signatures, document passwords or disabled filling rights).

  • I installed the latest version of flash player and it said installed successfully and i can use it just fine, but when I checked system requirements it didnt seem to match. it needed 2.33 ghz and I have 2.13ghz. can this cause problems to my computer? i h

    I installed the latest version of flash player and it said installed successfully and i can use it just fine, but when I checked system requirements it didnt seem to match. it needed 2.33 ghz and I have 2.13ghz. can this cause problems to my computer? i have an intel i3 proccessor, windows 7, internet explorer.

    Since all Intel i3 processors have at least 2 cores, your specs are well above the requirements; see http://ark.intel.com/products/family/75025#@All
    I have some computers with far slower processors, and Flash Player 14 works perfectly well on them too.

  • I just received a iPod Touch 5th generation for xmas and it acts like it is locked, when you slide the slider it says unlock button and nothing happens.  Can't slide the power off either.  It tells you the time, unlock button, power off button but nothing

    I just received a iPod Touch 5th generation for xmas and it acts like it is locked, when you slide the slider it says unlock button and nothing happens.  Can't slide the power off either.  It tells you the time, unlock button, power off button but nothing happens.  Voice just tells you the unlock button, time, poweroff button.
    Please help also itunes says I need to enter on iPod the passcode to reset to factory.  I can't get it open to enter passcode, slider doesn't work.  It is one day old and this happen xmas afternoon.  PLEASE Help someone

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

  • HT4623 why my ipphone can not be activated when I updated to IS06? My iphone is 3gs and original locked but now it's offical unlocked before i updated to ISO6

    why my iphone can not be activated when I updated to IS06?
    My iphone is 3gs 8g, and original locked but now it's offical unlocked before i updated to ISO6.
    iphone information:
    iphone 3gs
    Model:MC640LL
    SN:84xxxxEDG
    <Edited By Host>

    That means your phone is now a brick. Congratulations.
    That's a risk you take when you decide to hack the phone.
    You can't get any help here. Discussing hacked and jailbroken devices is forbidden by the terms of service.
    Maybe you can find something on google that will help you.

  • Primary Key - non sequenced - can this cause problems??

    We are seeing some strange explain plans for some queries in our 10.2.0.3 database. It just seems to me that Oracle is not using the index(es) that we expect it to use. In our discussions it was brought up that the data in the Primary Key fields in our tables are not sequential at all. I am wondering if this can be causing some issues with Oracle and it's explain plans.
    Can the fact that our PK fields are not sequential be causing some issues with Oracle and the optimizer?

    Things to consider:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/ex_plan.htm#sthref1858
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/optimops.htm#sthref1254
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/optimops.htm#i82005
    Message was edited by:
    dbtoo
    system stats - http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/stats.htm#i41496

  • JWS can't find the cache file for the application when trying to upgrade

    It happens since some of our users have updated their Java version to 1.6.0_01-b06 (all of us using W2K).
    The first time they click on their usual desktop JWS shortcuts, all is working perfectly; the JWS 1.5 cache style shortcut is replaced by a new 1.6 cache style shortcut, the app is dowloaded again into its new cache location.
    Troubles arise when the application is updated on the server side; the new jars are downloaded but the app, when launched via the shortcut, fails to start:
    java.io.FileNotFoundException: c:\javaws\cache\6.0\10\4c37250a-47568a31 (Le fichier sp�cifi� est introuvable = File not found)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    This matches, as well as the title of this post (what a coincidence ...), the following bug:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6446676
    which is declared to be "Closed and fixed", whereas it seems to be still alive. ..
    It is a very annoying bug, because:
    1) our client apps are able to work on Java 1.6 (although we still enforce the usage of a 1.5 jvm to run them), but as a workaround, due to this bug on the JWS part of 1.6, we have disabled all updates from JRE 1.5 to JRE 1.6.
    2) it defeats one of the major strength of JWS we have "sold" to ours users: transparent and user friendly updates.
    A final word: we deliver our Java apps using tomcat 5.5. Just to be sure we have experimented the same behavior using Apache.

    Referenced as an open bug:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6549428

Maybe you are looking for

  • Error while upgrade 12.1.1 to 12.13

    Hi, I am getting blow error while upgrade 12.1.1 to 12.1.3 (patch 9239090) in linux 32 bit (OEL5),also i started patch from the beginning onwards but still i am getting same errror... Please some one help me to move forward .... Now i need to fix thi

  • New mac set up problems with time machine

    Bought a new 21 inch mac yesterday and going through set up I tried to use my time machine disk at the appropriate point  (when it asked me) to copy the data. Now the mac refuses to move on, after it rebooted I get the apple sign and the swirling thi

  • How to Deal with a Large Form

    Hello all. I have created a very large form using LiveCycle, which utilizes quite a bit of scripting. Unfortunately, as more and more data is added, the form becomes slower and slower, to the point where a user spends more time waiting than actually

  • Impact of movement type 412 E on MAP

    Hi Usage of movement type 412 E is causing huge change in MAP . Is there any reciprocaory movement to curb this MAP rise ? Regards, Lalit

  • Posting run terminated AFAB

    Hi All, When I post dep. with AFAB for the period 3 the error follows: LAST POSTING RUN TERMINATED(Restart in period 2011 002) When I restart post dep in AFAB Background job is in finished status with no list, but it say's "document posted in restart