From user-return-18648-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed Nov 2 10:21:49 2011 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 572429183 for ; Wed, 2 Nov 2011 10:21:49 +0000 (UTC) Received: (qmail 11678 invoked by uid 500); 2 Nov 2011 10:21:46 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 11637 invoked by uid 500); 2 Nov 2011 10:21:46 -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 11629 invoked by uid 99); 2 Nov 2011 10:21:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 10:21:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of andres.orencio@gmail.com designates 209.85.215.180 as permitted sender) Received: from [209.85.215.180] (HELO mail-ey0-f180.google.com) (209.85.215.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 10:21:39 +0000 Received: by eyg5 with SMTP id 5so8678602eyg.11 for ; Wed, 02 Nov 2011 03:21:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=Pt9+X57h2saEW1x+TGbYRfNc96Jtf8xe1lEk4RX+3qc=; b=gbB/iTgLSZWd+37O7BK640+UogpdZhe4HjRGqxdjdo/m4+eYaK/9mlkLgquxg9Ta5K TRZsWGnU6heWLZBC2HUpx2ZMJtm9erPKKbl/iat5YJw++/BXQSWivS2TwHgeaPmeEdmM pLtV+FVy+/OVQgzlxIVYc0qqTQGDEqJ8nz2J8= Received: by 10.14.16.143 with SMTP id h15mr220634eeh.47.1320229279132; Wed, 02 Nov 2011 03:21:19 -0700 (PDT) MIME-Version: 1.0 Sender: andres.orencio@gmail.com Received: by 10.14.95.140 with HTTP; Wed, 2 Nov 2011 03:20:38 -0700 (PDT) From: =?ISO-8859-1?Q?couchdb_=2D_Andr=E9s_Orencio_=2D_lodopidolo?= Date: Wed, 2 Nov 2011 11:20:38 +0100 X-Google-Sender-Auth: pAqmRi4dEBKC-h8PDQ_xIp8Xciw Message-ID: Subject: Best way to model historical data To: couchdb user list Content-Type: multipart/alternative; boundary=0016e6585fe2346d0704b0bdd555 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6585fe2346d0704b0bdd555 Content-Type: text/plain; charset=ISO-8859-1 Hello. I'm new in couchdb. I have some questions but I'm going to put them in separate threads. For this, I want ask you which is the better way to store documents and its historical states. For example, I have products documents and categories documents. Products has one or more categories. This "relation" may change in the time, and product characteristics can change to. I want to store all document changes (categories too). Which is the better way to do this? Thanks you. --0016e6585fe2346d0704b0bdd555--