Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Berkely DB > Concurrency con...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 1733 of 1800
Post > Topic >>

Concurrency control sequence

by "Yoshio" <geanyoshio@[EMAIL PROTECTED] > Apr 13, 2007 at 10:54 AM

Hi guys! This my first question here.

My database need a concurrency control and I am using locks.
In tests I am using 100 Threads to insert anything in database. For
each insert I do:
-lock_id
-lock_get
-txn_begin
-db.put
-txn.commit
-lock_put

This sequence for each insert is correct?
To make checkpoint or syncs I need locks and transactions too?

I am using Python (Bindings for BerkeleyDB[1]), but I believe that
operation is not different in other languages.

[1] - http://pybsddb.sourceforge.net




 3 Posts in Topic:
Concurrency control sequence
"Yoshio" <ge  2007-04-13 10:54:49 
Re: Concurrency control sequence
Florian Weimer <fw@[EM  2007-04-13 21:29:07 
Re: Concurrency control sequence
"Yoshio" <ge  2007-04-13 20:56:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Jul 4 18:40:57 CDT 2008.