[bind10-dev] Blog comment from BDB developer
Danny Mayer
mayer at gis.net
Sun Jul 18 04:35:42 UTC 2010
On 7/13/2010 2:34 AM, Evan Hunt wrote:
>
>> You have no idea how bad that would be from a DB performance point of
>> view. You *really* don't want to do this.
>
> For the record, it was a joke. :)
>
>> I've never heard of something like that in Java and I do quite a lot of
>> Java programming with databases these days. I doubt that this is true.
>
> The method is called getSearchKeyRange(); it finds either the requested key
> or the nearest greater one within a range of values. From that, you can
> get a cursor and step back one, to find the nearest lower value.
>
> Unfortunately, as noted, it only seems to be in the Java version.
>
As far as I can figure out this method is only available for db's like
sleepycat and BDB. It's not a general method for databases. Presumably
those are the only ones that support it which may be why you don't find
it elsewhere.
Danny
More information about the bind10-dev
mailing list