dbTalk Databases Forums  

Key without data

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Key without data in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dgiagio@gmail.com
 
Posts: n/a

Default 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


Reply With Quote
  #2  
Old   
Florian Weimer
 
Posts: n/a

Default 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).


Reply With Quote
Reply




Thread Tools
Display Modes

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.