FAQ
Members List
Calendar
Mark Forums Read
Key without data
dbTalk Databases Forums
Databases
comp.databases.berkeley-db
Key without data
comp.databases.berkeley-db
comp.databases.berkeley-db
Discuss
Key without data
in the
comp.databases.berkeley-db
forum.
Thread Tools
Display Modes
#
1
dgiagio@gmail.com
Posts: n/a
Key without data -
02-01-2006 , 05:23 PM
Hi,
I'm planning to use bdb on a program that will check if a given key
exists on the database. The key don't need to have data. In fact, it
don't have.
Is it possible to do this or i have to use at least a small amount (1
byte, maybe?) of dummy data ? Not using data will affect performance?
Thank you.
DG
dgiagio@gmail.com
#
2
Florian Weimer
Posts: n/a
Re: Key without data -
02-02-2006 , 06:08 AM
Quote:
Is it possible to do this or i have to use at least a small amount (1
byte, maybe?) of dummy data ?
Dummy data is not necessary. Just use an empty DBT (with size zero).
Florian Weimer
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Contact Us
-
dbTalk Databases Forums
-
Archive
-
Top