[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Re: The State of Native XML databases

Ronald Bourret rpbourret at rpbourret.com
Tue Aug 21 07:49:10 PDT 2007


  Re: The State of Native XML databases
Does anybody know how many native XML databases actually support 
node-level locking? My impression is that most support document-level 
locking.

-- Ron

Jeff Dexter wrote:

> To be fair, document level locking granularity affects more than the "one
> big document" use case, and it affects more than just throughput. XQuery
> updates can and do span multiple documents in a collection within a single
> update query and transaction, and if the best you have is document-level
> locking then you run the very real risk of colliding or deadlocking with the
> subset of documents another parallel update has chosen.
> 
> True, node-level locking doesn't necessarily solve this problem, as updates
> can still contend for the same node subset, but it hopefully (drastically)
> mitigates the incidence of such contention. As you point out, less time
> waiting on locks means more throughput, but it can also mean the application
> spending less cycles figuring out what to do when it can't acquire those
> locks.



Purchase Stylus Studio Online Today!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.