From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.161]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id q03DnoQZ004096 for ; Tue, 3 Jan 2012 08:49:50 -0500 (EST) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQv0cW+St/nW/avgusCdvwXOZ/NA7x/bslxlDPy6G726REW7piU2JIqNTwRM= X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de ([2001:6f8:13f0:0:5e26:aff:fe1e:99a9]) by smtp.strato.de (cohen mo35) (RZmta 27.2 AUTH) with (DHE-RSA-AES128-SHA encrypted) ESMTPA id a03243o03DcWh4 for ; Tue, 3 Jan 2012 14:49:39 +0100 (MET) Received: by britannica.bec.de (sSMTP sendmail emulation); Tue, 03 Jan 2012 14:49:38 +0100 Date: Tue, 3 Jan 2012 14:49:38 +0100 From: Joerg Sonnenberger To: tech@mdocml.bsd.lv Subject: Re: half-atomically rebuild databases Message-ID: <20120103134938.GA3132@britannica.bec.de> Mail-Followup-To: tech@mdocml.bsd.lv References: <20120101154538.GA5307@iris.usta.de> <20120101155508.GA4516@britannica.bec.de> <20120101162958.GB5307@iris.usta.de> <20120103124535.GA6689@britannica.bec.de> <4F02FDA4.6070003@bsd.lv> <20120103131927.GA7903@britannica.bec.de> <4F030660.9040704@bsd.lv> X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F030660.9040704@bsd.lv> User-Agent: Mutt/1.5.21 (2010-09-15) On Tue, Jan 03, 2012 at 02:45:04PM +0100, Kristaps Dzonsons wrote: > Duplication. By having the keyword database point to the index > database entries, I avoided having duplicate index data > everywhere---and this data can be huge since it includes titles, > descriptions, and so on. Considering that the number of keywords is > expected to grow as we add more values (full-text search?), this is > quite important. Since libdb has only one table per file... You can easily have more than one key space in a db(3) file by prefixing the key with a tag. That's e.g. what the services(5) database does. Joerg -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv