From user-return-8640-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Mon Feb 01 17:22:26 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 10541 invoked from network); 1 Feb 2010 17:22:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2010 17:22:26 -0000 Received: (qmail 92797 invoked by uid 500); 1 Feb 2010 17:22:24 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 92726 invoked by uid 500); 1 Feb 2010 17:22:24 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 92716 invoked by uid 99); 1 Feb 2010 17:22:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 17:22:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of philrand@gmail.com designates 209.85.217.213 as permitted sender) Received: from [209.85.217.213] (HELO mail-gx0-f213.google.com) (209.85.217.213) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 17:22:16 +0000 Received: by gxk5 with SMTP id 5so5181196gxk.15 for ; Mon, 01 Feb 2010 09:21:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=SKvjaXOsCPDDKLX1+Yn4LCY354XkemO70yeyl9QXC1I=; b=p7ibR07LmDLLgiM4TvYdk/GdKW15Z/GY/Ur5eXe81XgYE8KXO8Hx5EmcU2jwmpL8Rc C1hYuLIm84T9kOmKw/RlWwG21n6DCkmClWiPjdR2BqLedScr28yMC1kc5hyx28l1FQXe XvLQPr+ywzaOjTbXmQojgTpUKvssrvbx96PCo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding; b=TGn3SNdzqCcbpd2h2wvTueQh5XZ9kfygcIgfsrtYyy8ipwVj5B0FUuNB2jaWd0x69D mnoOvV6Oj9dEPVGo2Wf6rwaKoS/HwZ+7w4jO9D7gwB/h9IOyFTkytKPLQAEpojmDMIf6 SebnHsxn8rFsasE99Yf+SYmGgYjUx3ptNp8IY= MIME-Version: 1.0 Received: by 10.143.20.41 with SMTP id x41mr3187143wfi.42.1265044915105; Mon, 01 Feb 2010 09:21:55 -0800 (PST) Reply-To: philrand@gmail.com In-Reply-To: <4B67083D.6050507@woop.es> References: <4B6700EB.7030906@woop.es> <4a29064f1002010832h4b20aa66xe0ddeb5bc7133104@mail.gmail.com> <4B67083D.6050507@woop.es> From: Phil Rand Date: Mon, 1 Feb 2010 09:21:35 -0800 Message-ID: <5784c1b11002010921h1078b745o5d2c3b2014866323@mail.gmail.com> Subject: Re: Best way to store 2^32 IPs in CouchDB To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Of course it depends on what you are trying to do, which you haven't told us. The easiest way to reduce your storage needs is to not store data you don't need to. For example, if I wanted to map IP back to hostname, I wouldn't use CouchDB at all, since we already have the DNS. On Mon, Feb 1, 2010 at 8:58 AM, Santi Saez wrote: > El 01/02/10 17:32, Elf escribi=F3: >> >> Did you plan to handle IPv6 in future versions of your program? :) > > It would be another great test.. but using CouchDB, perhaps I will not ha= ve > enough disk space ;-P > > Now seriously: any idea to reduce disk space in this test to store 2^32 > documents? thanks! > > Regards, > > -- > Santi Saez > http://woop.es > --=20 Phil Rand philrand@gmail.com philrand@pobox.com