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 > Re: Cursor read...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 1750 of 1805
Post > Topic >>

Re: Cursor read fail at exactly 40,000 record point

by michael.cahill@[EMAIL PROTECTED] May 22, 2007 at 09:56 PM

Hi Gerard,

> One particular database has around 200,000 records and regularly
> creates a cursor, positions at starting points and reads records until
> the records go out of scope.
>
> In one particular instance the application reads a set of records that
> amount to over 50,000 records. Usually all is OK, but every few days
> the read starts returning only exactly 40,000 records for the same
> set. This continues to occur until the application is restarted and
> the environment renewed. When the application is restarted the correct
> number of records is returned.

I don't understand why this would be happening.  Can you give a few
more details:

* what type of database are you using (btree, hash, etc.)?
* is the database configured to sup****t duplicates?
* how do you read the records (just cursor gets with DB_SET followed
by some number of DB_NEXT calls, or something more exotic)?
* how is the end of set determined (key goes out of scope, DB_NOTFOUND
at the end of the database, or some other condition)?

Regards,
Michael Cahill, Oracle.
 




 5 Posts in Topic:
Cursor read fail at exactly 40,000 record point
"Gerard J. Nicol&quo  2007-05-22 14:32:38 
Re: Cursor read fail at exactly 40,000 record point
michael.cahill@[EMAIL PRO  2007-05-22 21:56:36 
Re: Cursor read fail at exactly 40,000 record point
Philip Guenther <guent  2007-05-22 22:38:35 
Re: Cursor read fail at exactly 40,000 record point
"Gerard J. Nicol&quo  2007-05-23 02:24:32 
Re: Cursor read fail at exactly 40,000 record point
michael.cahill@[EMAIL PRO  2007-05-24 05:01:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Fri Oct 10 12:54:02 CDT 2008.