DB- put blocking when database opened with DB_READ_UNCOMMITTED

Hi,
Please excuse me if I am missing something obvious, but is there any reason why a DB->put would block just because a database file is opened with the DB_READ_UNCOMMITTED?
I am using Berkeley DB 5.1.19 and I have been having some cursors block so I have added the DB_READ_UNCOMMITTED flag to my database file opens.
With the flag on the first time I try and put a record it just blocks indefinitely. When I remove the flag the put goes through no problem.
Gerard

I have been doing some testing on this and have found the following.
(1) I open the database with a DB_READ_UNCOMMITTED flag
(2) I create a cursor with the DB_READ_UNCOMMITTED flag and read the file
(3) I close the cursor with no problems (RC=0)
(4) I try a put operation and it blocks
(5) I run db_deadlock from the command line and the put returns DB_LOCK_DEADLOCK
If I change the cursor to be opened with DB_READ_COMMITTED I get the same situation.
If I comment out the DB_READ_UNCOMMITTED from the database open put does not block (as DB_READ_UNCOMMITTED is not honored for cursor if DB_READ_UNCOMMITTED is not specified for cursor).
If I remove the DB_READ_UNCOMMITTED or DB_READ_COMMITTED from the cursor the put also does not block.
From my reading the use of DB_READ_UNCOMMITTED should reduce the chance of a deadlock not guarantee a deadlock. Is this a bug or am I missing something.
BTW, the doco for cursor open says that DB_BULK is an option but there is no DB_BULK defined in db.h.
Any help greatly appreciated.
Gerard

Similar Messages

  • HT5312 Your security questions do not match what I put in when I opened the account, why can't I get security questions that have my answers?

    Your security questions do not match what I put in when I opened the account, why can't I get security questions that have my answers?

    From a Kappy  post
    The Three Best Alternatives for Security Questions and Rescue Mail
       1. Use Apple's Express Lane.
    Go to https://expresslane.apple.com ; click 'See all products and services' at the
    bottom of the page. In the next page click 'More Products and Services, then
    'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Forgotten Apple
    ID security questions' and click 'Continue'. Please be patient waiting for the return
    phone call. It will come in time depending on how heavily the servers are being hit.
    2.  Call Apple Support in your country: Customer Service: Contact Apple support.
    3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • Modification Date changes when updating Open With?!?!

    Forgive me if this is mentioned elsewhere. I have been searching these forums and not seen this problem.
    If I do a 'Get Info' on a file in the Finder and change the application it opens with, the Modification Date changes to 'now'. Why in the world would this happen? This is not how 10.3.x worked, and certainly doesn't make any sense since I am not actually modifying the file. I am simply changing the OS's metadata about which app to use. This info isn't even stored in the file itself, as evidenced by burning such an document to a CD or moving it through a network server then opening it on a machine with different default apps for certain extensions.
    Is this just another wacky step backwards in the world of the Apple OS X Finder, or am I missing a way to avoid this?
    PowerMac G5 2.5DP   Mac OS X (10.4.3)  

    This is not how 10.3.x worked, and certainly doesn't make any sense since I am not actually modifying the file.
    Actually, I am using "Panther" now, and can confirm that changing the application to be used to open an individual file through "Get Info" does in fact change the modification date.
    When the "Change all" button is used, the modification date of other files of that type won't be affected by this change since that modification is presumably made somewhere in the "Launch Services" database to set the "default" application to be used for that file type. Perhaps this is what you were thinking of.
    However, for that first file (or any file changed individually), the file is in fact modified, and the "Open with" information is stored with the file, in its "resource fork". Usually, a 'usro' resource (specifying the application) and an 'icns' resource (for the app's custom icon for that file type) are added. You can try this yourself - drag any image from Safari.app to the "Desktop" and open the info window for that image - such images usually don't have a "resource fork". Make note of the file's size, then change the "Open with" application. You should immediately see an increase in the file's size (to account for the addition of the "resource fork") accompanied by an update of the file's modification date to reflect this modification.

  • SharePoint Foundation 2010 - Your client does not support opening this list with windows explorer when clicking Open with Explorer

    when I tried to open document library in Windows explorer view by click 'Open with Explorer', it popped up “Your client does not support opening list with windows explorer”
    OS: Windows Server 2008 Enterprise x64
    IE: 9.0 32bit
    webcient service is runing
    HKLM\System\CurrentControlSet\services\WebClient\Parameters and changed the BasicAuthLevel to 2 instead of 1.
    Anybody knows how?
    Thanks.

    Did you add your site to trusted site list?
    http://sharepoint.stackexchange.com/questions/15098/your-client-does-not-support-opening-this-list-with-windows-explorer
    --Cheers

  • Get rid of annoying Recommended Applications list when doing Open With

    Whenever you try to specify a file to open with another application, by way of ctrl clicking it, it pops up the file dialog, but most of the files are greyed out until you change the drop down at the top from "recommended applications" to "all applications." This is INCREDIBLY annoying, and I either need to know how to add applications to the recommended list, or to make it default to All applications.
    An example of this problem, is when opening a video file. It's a .avi so it opens with QuickTime via flip4mac by default, which is fine. Now I really want to open it with EyeTV, which definitely supports .avi's, and I prefer watching them with EyeTV. But when I right click it to open with eyetv this one time, in the open with menu it lists every other freaking video playing app I have besides EyeTV. VLC, mplayer, Audacity, real player, even my HP printer software for some reason. But to get to EyeTV I have to go through like 5 extra steps.
    Thanks.

    Each application tells LaunchServices the file types that it can use, which is used to enable the various applications in the "Recommended Applications" or "Open With" lists. If an application can't handle a particular file type, or if the application isn't set up correctly, then it won't show up in these lists because the system doesn't know that the application can handle it. File Types can be added to an application's Info.plist file (inside the application package), in the CFBundleDocumentTypes dictionary by using the Property List Editor application (or equivalent). You can make an application unusable by messing with this file, so you do need to know a little about what you are doing (and always make a backup copy). There are several articles on Apple's developer site, such as Property Key List Reference, and Document Types.

  • TIF thumbnails initially populate, but turn 80% black when I "Open With PS"

    I'm scanning photographs with a relatively-new Epson 10000XL scanner. I save the scans as ~300MB TIFs, copy the entire folder, then crop the copies with Photoshop CS5 12.0.3 on a Win XP 2.2GHz Pentium Dual Core CPU with 3.25GB RAM. The crop goes fine and the the save seems to go fine. Filesize of all cropped files is consistent. A few days later, I notice the image is 80-90% black, with only the top strip OK. This happens to about 15% of the images I've scanned. The original scans are always OK, so I think I can rule out the scanner. The cropped image thumbnails look good in Bridge, but when I right click and "Open with PS", the thumbnail turns 80% black and an 80% black TIF shows up in Photoshop...baffling. Sometimes half the image is black, but usually it is mostly black. Always, it is the bottom area of the image that is black. I can rescan and recrop the image, but a 15% rescan rate at 6-7 min/scan is killing me. What the devil is causing this? Is this a hardware issue, and if so, is it a RAM deficiency? Defective RAM? Defective hard drive? Conflicting software? Whimpy graphics card? Something else?

    Replies to Curt and Omke:
    In original post you said you were running Win XP, so it that home computer and work is Win7?
    Work PC = Win XP, Photoshop CS5, Dual-core processor and 4 GB RAM. Home PC = Win7, Photoshop 5.0, Quad-core processor and 4GB RAM. Both are 32-bit OS. I cropped and saved 20 of these TIFs on the home Win7 machine, and had no problems with black images at any time. I tested those same TIFs on a work machine that is identical to my Win XP work machine, and had lots of problems with them turning black. This suggests that the OS, video card and/or CPU are causing trouble on the work machine, not necessarily the RAM. It doens't seem to be a problem unique to my PC, but rather to all the PCs that are just like my PC (our organization buys in bulk, and we all have identical PC setups).
    Most likely it is the RAM.  With a 64 bit machine you are really handicapping yourself with 4 gigs.  You also need a good deal of space on the scratch disk, so make sure you have ample free space.
    I have 62GB out of 150GB free on C drive, but it’s fragmented. Will try defragmenting to see if that helps. I think, with my 32-bit Win XP, I am limited to 4GB, right? Does a 64-bit system have that much improvement over 32-bit?
    Graphics card is the other likely suspect.
    On the work PC that is causing me trouble, graphics card= ATI Radeon HD 3450.
    In Bridge go to advanced preferneces and check "use software rendering".  That will help if graphics card is underpowered.
    That will help with what, exactly? Will that help avoid corrupted files? It seems like the problem lies in Photoshop, not necessarily with Bridge.
    In photoshop go the edit/kpreferences/file handling and make sure Open GL is not checked.
    It was checked. I unchecked it, but still had images turning black on me when I cropped and saved them.
    Your files are still OK, they only show not good in Bridge? or are they all damaged?
    ~15% of cropped scan tifs open mostly black in PS and Windows Explorer, and open mostly black in Bridge full-screen preview also. The other 85% look OK in all programs. The 15% initially look OK as thumbnails in Bridge, but after ~30 min, or if I try to open them in PS or full-screen preview, they turn mostly black. It would appear to me that those 15% of cropped scan files are corrupt, and perhaps only look OK in Bridge initially because Bridge is accessing some embedded low-resolution preview, then later updating the preview using the actual image file, but I’m not sure on that last point.
    You state to have PS 12.0.3 in, while I'm on a Mac I have 12.0.4 installed s the latest so first try a software update.
    That’s a pretty involved process with our IT dept. I don’t have Admin privileges to do that, but I’ll raise the issue.
    Also check your PS performance settings. If you have only 4 GB RAM installed and you did point PS to more then the default and having some other applications open you will become soon short of RAM. (Bridge pointed to that already)
    This is a point of confusion for me. PC specs list 3.25GB RAM, but in PS prefs, “Available RAM: 1691MB, of which 71% (1201 MB) is allowed for PS use. I would think PS would at least recognize all the PC RAM as available, but this is also the general trend on my home PC where PS doesn't recognize all the RAm that Windows does...must be a distinction between total RAM and available RAM.
    In Bridge Prefs the default setting for maximum file size to build HQ preview is 1GB. Could you check if this is also your case?
    Yes, that is the case.
    And I also agree with Curt that if you have multiple files open with that size your machine specs should be above average, and you should have at least 10 % free space on your HD.
    I’m running at about 50% free HD space, though fragemented. I would like to make some sort of recommendation to IT about a system upgrade, and it seems like a better processor is a key factor, followed by the OS and graphics card. Without going to a 64-bit system, I believe I'm maxed out on RAM, but correct me if I'm wrong. Our organization prefers everyone to be on the same OS, which is why we're all still on WinXP.

  • Error when database open

    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/oracle/HPP/sapdata1/system_1/system.data1'
    thanks;

    Hi,
    Please follow below steps
    1.If your oracle version is 10g then go to the location "/oracle/<DBSID>/saptrace/background" and do tail for alert<DBSID>.log
    2.Open another session and try to open database with resetlogs.
    3. Switch to alert log session and check the result and paste it here.
    Note : If your oracle version in 11g, you need to go to location "/oracle/<DBSID>/saptrace/diag/rdbms/<dbsid>/<DBSID>/trace" to check alert log.
    Regards,
    Venkata S Pagolu

  • Leopard crash when selecting open with

    When I try to open a file from Finder using Open With..., the Finder window crashes all the way back to my desktop. I was able to get this to work once, it has failed on all subsequent attempts.

    Move the com.apple.finder.plist file out of /Users/username/Library/Preferences/ to the Desktop, OPTION-click the Finder's Dock icon, select Relaunch, and see if it works. If so, then you'll have to reset your Finder preferences. If not, create a new admin user account, log into it, and see if the problem's gone. Report back.

  • Print preview and print doesn't show the correct out put result when i connnected with EPSON LX-300+II

    I hava an html webpage with css & print css. The print preview and print doesn't give correct output there is alignment problem when i connected with EPSONLX-300+II. But iam connected with hp laserjet they show the correct output with firefox. Please fix the problem as soon.....

    I have same problem as you, but later I know how to deal with it.
    1. change your print default preferences to
    print quality into (120x144 dpi, or other which suites you)
    mine goes well to 120x144 dpi
    2. Before print enter File->Page setup, set true to option shrink to page width
    in order to fit your page into your desired paper
    (firefox will resize your content to suit the paper you choose).
    If you dont want this you can disable this option.
    3. Still in Page Setup, if checkbox "Print background (color & images)" is unchecked then
    white text will be printed black.
    Set this checked if you want to print white text as it is color.
    I hope it answers your question.
    Steve
    http://www.dailymobilegames.com

  • EMP data in first block when logged on with userid

    Hi,
    Let's say; I have a master/detail (EMP/DEPT) form (form A) and the master contains EMP data like surname, date of birth, telephone number and so on.
    When I start up my main menu, an authorization screen wil be shown to enter the username and password. After the authorization I will navigate to form A.
    I would like to have the functionality that when I logged on with my own userid my data will be automatically entered in the master-block of form A.
    How can I implement this? Do you have any examples?
    Regards,
    Ronny.

    Sounds fairly basic. When_new_item_instance trigger needs to execute a query (probably using do_key(execute_query), and you need a default where clause equating user to a column of usernames which you need to have in your emp table.

  • Macbook pro 15 shows random colored blocks when I open FaceTime

    I'm having display anomoly issues when certain applications are open.
    - faceTime
    - photoshop CC

    Hey bobbydombrowski,
    Thanks for the question. I understand you are having issues with the video behavior on your internal display. The following article may help to resolve the issue:
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/HT1573
    Thanks,
    Matt M.

  • Instance scrash whenever database open with resetlogs

    I have a Oracle 10.1.0.4 on Linux 2.6.9-34.ELsmp. Whenever I open database with resetlogs (after database cloning or recover database with backup control file), instance crash with 7445 error. Can anybody give a help? Thanks in advance.
    Errors in file /oracle/admin/q004/bdump/q004_smon_8075.trc:
    ORA-07445: exception encountered: core dump [ksqdeli()+95] [SIGSEGV] [Address not mapped to object] [0x000000008] [] []
    ORA-25153: Temporary Tablespace is Empty
    Threshold validation cannot be done before catproc is loaded.
    Thu Apr 13 14:10:48 2006
    Errors in file /oracle/admin/q004/bdump/q004_pmon_8065.trc:
    ORA-00474: SMON process terminated with error
    Thu Apr 13 14:10:48 2006
    PMON: terminating instance due to error 474
    Instance terminated by PMON, pid = 8065

    Hi,
    Did you have any backups running on the database?
    Or did you take a backup of datafiles and control files before trying to create a control file?
    It seems that as the database shutdown was not a normal shutdown, all the files are not "synchronized".
    If you have a backup of the files after the crash, then you can try starting the instance without the control file which is out of sync(user1/genisys/sys/cntrlINS02.dbf).
    Is it a production DB?
    Regards,
    Badri.

  • My Mozilla Firefox blocks when I open facebook and becomes not responding, what is problem?

    After some time I can click on continue script or stop script, but whatever I click that box shows me again.
    And when I again start Firefox, I have option back last session but in list of tabs doesn't exist facebook.

    Thank you, you had right.

  • How do I delete pages that keep coming up when I open with first letter? Stop Loading Page icon not activated - does not respond

    How do I delete pages I don't want loaded anymore from coming up? The 'stop loading pages' icon does not respond

    If you update to Firefox 3.5.x or 3.6.x then you have more options for the location bar behavior.
    See [[Smart Location Bar]]
    For Firefox 3.0.x See http://forums.mozillazine.org/viewtopic.php?f=38&t=685365 - Customising the Firefox 3 Location Bar
    Old Location Bar: https://addons.mozilla.org/firefox/addon/7637

  • Certain things have changed on firefox but work with explorer,ie copy and paste have to use edit didn;t before , certain website i can only use explorer, when i open with firefox i can not burn a cd but can when open with explorer This has just changed ?

    as above firefox has stoped working on some things ?

    I tried what you suggested on the tools site....made all the changes...didn't help. Then I just uninstalled the whole firefox that i had used forever....and re-installed all over again....tried it, same error msgs....tried the tool site again on that, and still same error msgs. why don't you folks have a phone number i can call and talk to an actual person to walk me thru this problem? am an old 70 yr old lady who has always depended on firefox.

Maybe you are looking for

  • Can we email more than one photo at once from the iPad?

    It is easy to email a photo from the iPad, one photo at a time, but is it possible to send multiple photos attached to one email from the iPad?

  • Query reg Variable Substitution with enhanced interface mapping

    Hi All,   The scenario is IDoc to file using enhanced interface determination (message split based on some conditions) and the output file name should be based on a field value in the  IDoc. So, I've tried using Variable Substitution Option in the re

  • Problem starting application server after intalling SAP NetWeaver 7.0 ABAP

    Hi, guys I installed  SAP NetWeaver 7.0 ABAP on my laptop 3 days ago and it worked well. But today, I encountered a problem when starting the application server with message "start operation timed out". pls help me to solve the problem. thanks

  • Lync 2013 breaking Outlook send/receive

    We have Office 2010 64bit and Lync 2013 64bit When we install Lync, users Outlook stops syncing.  They have to manually click Send/Receive a few times to get it to work, or rebooting the computer a few times to get Outlook working again. Are there an

  • 4s Trouble Using Philips O'Neil Stretch Controls

    I've used my Philips O'Neil headphones since iPad 2 was introduced and when I tried using the same headset on my iPhone 4s / Verizon model the remote no longer worked. Is anyone else having this issue? I reebooted the phone checked the connections an