Way to find out of there are pending updates

Is there a way in Oracle 8.1.6 to find out if there are any uncomitted inserts, updates, or deletes on the current transaction?
I do not need to know what they are, only if there are any at all.
WHY?
I have a piece of architecture in my client that runs on a timer and will sometimes perform updates. I want to skip the timer code if there are any pending updates so that the timer's updates do not get intermixed with updates from the main application.
I tried putting the updates into a package function that used an autonomous transaction, but when it got into production the DBAs complained that the database was generating strange errors that they were told are dangerous, and I had to turn off this functionality.
Thanks for your help,
Chris Elvart
SBC Public Communications

Chris, there is not any method to see if row are locked before you try to access then so on an 8.1.6 version you could change your routine to use a select for update. If the cursor returns one of the requested rows is waiting on a commit. You can trap the error that indicates a row is in use, rollback, sleep, and then try again.
The problem with this is a select for update must retrieve all the rows before you can process any of them so unless the target set is small this may not be practical. Also you can commit only at the end.
You could select all the target rows in a cursor then perform a select for update on each row. With error trapping this would allow you to skip pending rows.
Just some ideas for you to consider.
HTH -- Mark D Powell --

Similar Messages

  • How do I find out when there are pending update for ipad2 model A1396

    Hello,
    How and where would I go within my ipad2 model A1396 to find out if it's pending system automatic updates.

    How to update your iPhone, iPad, or iPod touch

  • Is there a way to find out if there are songs in my library that do not belong to a playlist?

    Is there a way to find out if there are songs in my library that do not belong to a playlist?

    http://dougscripts.com/itunes/scripts/ss.php?sp=notinanyplaylist  and related links in this one

  • HT4623 My Ipad will not connect to iTunes or to the App store.  I get an error message when I try to find out if there are any updates.  What to do?

    My iPad will not connect to iTunes, the app store, or the update, although it will go on the internet.  What to do? 

    And what does the error message say?

  • Is there a way to find out where iMessages are being sent from? I've received messages from an unknown email that are offensive and considered to be harassment.

    Is there a way to find out where iMessages are coming from? I've contacted security personnel at my school and I'm brig harassed. I just want it to stop.

    '''Here is an update to my former response.'''
    Here is a safe way to look at an email which you think is suspicious:
    * right click on the message and select 'Save As'
    * the file name will be the email subject followed by an extension of .eml
    * store it in a folder you can find easily, such as your Documents
    * using your file explorer, right click on the file name and open it with Notepad or a similar text editor (NOT Thunderbird!)
    * even though the format is not easy to read, you should be able to see who sent it to you, and also read the message text.
    Since you are looking at the message in a text editor, there is no chance a link can activate something bad. I have used this method many times, and have found several spoofs of email names of my friends.

  • Is there a way to find out how many ESS driven updates to data over a perio

    Is there a way to find out how many ESS driven updates to data over a period of time have been done.

    Assuming that all end users are accessing the back end via Portal, we figured out the answer.

  • How to find out if there are repeated characters in a string

    hey guys
    well i kinda have a little problem figuring out how to find out
    if there are repeated characters in a string.
    if anyone can help, would appreciate it.
    thanks
    milos

    Try using the StringTokenizer class. if u already know which character to trace. this could do the job.
    eg. String str = "here and there its everywhere";
    StringTokenizer st = new StringTokenizer(str, "e");
    int rep = st.countTokens();

  • HT5244 Is there any way to find out after(!) running die Update, if i have been infected?

    Is there any way to find out after(!) running die Update, if i have been infected?

    Run any one of these tools: http://reviews.cnet.com/8301-13727_7-57413811-263/flashback-malware-removal-tool -roundup/
    Or you can check manually: http://reviews.cnet.com/8301-13727_7-57410096-263/how-to-remove-the-flashback-ma lware-from-os-x/

  • Is there a way to find out which transactions are called by first transacti

    I'm trying to find out if there is a way to find out for ex:
    You go to PFCG and put in transaction CO15
    What other transactions is CO15 going to need or call.
    Thanks
    Joe

    In your test or QA environment, use ST01 to start a trace for authorization checks.  Execute CO15 as you normally would using options on the screen to enter the production order confirmation.  Once complete, stop the trace and review the log.  the log will include all authority checks that occurred.
    Another response was to use the USOBT table.  You can call these tables directly using SU24.  the check maintain entries are validate when an authority check is executed.

  • How can I find out if there are any masters (not referenced) in my library?

    Hi!
    I've been using Aperture for a while (most masters are on different hard drives, but maybe some are in my library by mistake when I imported them), now want to consolidate all my photo-masters on a separate "photo" hard drive and leave in my Aperture Library only the previews and the adjustments.
    I have some projects in my library, and my library is 12 GB. Is there a quick way to find out if any of my masters are in the library so I can "take them out" and put them on my separate HD?
    If there was a way to sort by "badge" and see the ones not referenced that would be nice.
    In the future I will be more careful when importing to make sure my photos are always in the right place and referenced.
    Thanks for any help!

    Easy. Add Rule "File Status" = "Managed".
    Make a Smart Album, store it in your top level Smart Albums folder (I put all my Library administration Albums there), and check it before doing a full back-up, or regularly. I keep recent shots on my MBP internal drive so I can work on them wherever I am. After a month or so I relocate the Masters to my big external drive.
    Note that Managed Masters/Versions are likely already differentiated by badge. Referenced images have a "link arrow" badge. Managed images do not.

  • Anyone know of a way to find out if files are missing in my iTunes proactively?

    I know that the circle with the ! shows up if a file is missing, but is there a way to run a diagnostic to find out if files are missing vs. just trying to play each and every song?  I have over 6000 songs and want to verify they are all there.  Any help would be appreciated.

    One way to identify the broken links in your library is to create this set of playlists:
    Lost & Found playlists
    Create a playlist called Found, select everything in Music and drag it into the Found playlist. Create a smart playlist called Lost matching All the rules Playlist is Music and Playlist is not Found. Your lost tracks will be in this playlist.
    Or use iTunes Folder Watch and enable its option to check for dead tracks on startup.
    tt2

  • Is there a way to find out the server is pending for a reboot by SCCM? any reg value or something to find it?

    There are some servers which are tagged as No restart servers(which cannot be rebooted regularly) due to some critical apps are running on them.
    Is there any reg value or some thing where we can find the server is pending for a reboot from SCCM? currently the SCCM services are stopped on them to prevent any unwanted reboot. 
    But if can find this info it will be very helpful
    ----Please vote if this is helpful----- -----Knowledge is Power-------- Ajo Abraham [MCP] [MCTS]

    You can also create collection for reboot pending machines based on its lastenforcementmessageID.
    SELECT SMS_R_SYSTEM.ResourceID, SMS_R_SYSTEM.ResourceType, SMS_R_SYSTEM.Name,
    SMS_R_SYSTEM.SMSUniqueIdentifier, SMS_R_SYSTEM.ResourceDomainORWorkgroup,
    SMS_R_SYSTEM.Client FROM sms_r_system inner join SMS_UpdateComplianceStatus
    ON SMS_UpdateComplianceStatus.machineid=sms_r_system.resourceid
    WHERE SMS_UpdateComplianceStatus.LastEnforcementMessageID = 9
    Eswar Koneti | Configmgr blog:
    www.eskonr.com | Linkedin: Eswar Koneti
    | Twitter: Eskonr

  • Is there a way to find out if there were any user actions in windows?

    I have an application in LV6.1 and i want it to go in an 'idle-state' if there was no user action in windows.
    for example: after 10min. (like a screensaver that activates after a certain time.)

    LabVIEW 6.1 has a new structure for user driven events. The event structure has a timeout case which can be set for 600,000ms (10min). When the event fires the timeout , the code in the frame will execute. This s where you would put the screen saver code. You will need to also create a second event case that will trigger on mouse cliking on the application. This case will do nothing other than reseting the timeout case. This event structure should be placed in a while loop and probably in parallel to your present code. Be sure to read the online LV help and warnings about the event structure. Thirty minutes of reading will save you hours of headache.

  • Is there a way of finding out what lists in sharepoint are being looked up for document templates etc

    Hi,
    I am currently in the middle of setting up SharePoint sites and have come across many lists that have not been updated for a while. I am wondering is there a way of finding out what lists are being used and what lists aren't being used for example I would
    like to find out if a list is being used for a look up.
    Josh
    J Burns

    I don't think there any such option available OOTB, however you can use PowerShell to get such information e.g.
    $web = Get-SPWeb http://localhost
    $f = $web.Lists["Contact"].Fields["Customer"]
    $f.ListsFieldUsedIn()
    $web.Dispose()
    Check this link: http://sharepoint.stackexchange.com/questions/45574/is-a-list-being-used-as-a-lookup-for-some-web-part-in-the-site-collection
    Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
    INSQLSERVER.COM
    Mohammad Nizamuddin

  • 11.1.2- Need to find out what reports are being executed by a user

    Hi,
    We have financial reports executed from workspace.In essbase session , only the user id is displayed and the Request type- mdxreport is displayed. We also tried searching the log for Financial report didnt find anything relevant.
    Is there a way to find out what reports are being executed by the user.
    Thanks in advance.
    Regards,
    Saumya

    STAT will give you the information for a limited period of time and is limited to the server which you are logged onto yourself. Beyond 24 hours it is of even less use even if you change the selection screen values.
    If you want it for a period way back into the past, then you need to use ST03N.
    There are at least 2 dependencies and 1 confusion:
    1 dependency) The length of period is determined by the size (length) of the file. You can change this in ST03N (default 50MB) via the menu settings.
    2 dependency) The stat collector jobs need to be scheduled to write the information to ST03N (once per hour is a legal requirement in some non-banana republic countries).
    1 confusion) There is an obscure function which converts a report submit to a transaction name (there is not much difference anyway) and an even more obsure one which filters what ST03N will record and therefore whether you can read it. You can (un)filter these things away if you search the SAP Marketplace for the term "MONI".
    What is of particular value from this control is that you can even detect a submission of an abap which only existed temporarily.
    Also note that having this information is potentially very powerfull with respect to the users (some of them are human too), so you should expose and use it responsibly.
    You should also ensure that only responsible users / auditors have access to S_TOOLS_EX.

Maybe you are looking for

  • ITunes Match Sync Erases ID3 Tags

    I have had no problems with the iTunes Match syncing between the iTunes that was on my PC (version, I don't know, but it was older than 11.4) and my iPhone and iPad. But today I upgraded iTunes to the latest and greatest version (11.4), and now every

  • My IMac 24" intel will not start in safe mode.

    Did a Shift - Command-V and the black screen showing all the startup steps appeared and it all looked good except: AFL Alart Sockwed cant update and INIT Reboot transmit failed. All else looks good. I have tried this 3 times and never go past that po

  • How to Make DFF in Query Mode only ...

    Hi Gurus, I have some Doubts in DFF, Say I have Two Segments Segment A: Driving Liciense Segment B: Passport Information My Requirment is how to make Segment B as Query mode only .. Any one pls help me on this ... with regards User600722

  • Spry menu bar in template

    Hi, I'm new to dreamwever, but since it is really user friendly I already achived a lot. But I have a problem with the spry menu bar. What I want is the following. I have a template on which I want to place my spry menu on. That's what's already is w

  • Parent getting deleted when it's required child is deleted from BCC

    I'm extending the product catalog to attach another object, say additional info and this is a mandatory field during product declaration and hence this property is been marked with required=true But whenever the child item i.e, additional info is del