Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9F58F1337B9B for ; Fri, 12 Nov 2010 11:53:47 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 95424-01 for ; Fri, 12 Nov 2010 15:53:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-fx0-f46.google.com (mail-fx0-f46.google.com [209.85.161.46]) by mail.postgresql.org (Postfix) with ESMTP id 5B0EA1337B68 for ; Fri, 12 Nov 2010 11:53:39 -0400 (AST) Received: by fxm6 with SMTP id 6so209205fxm.19 for ; Fri, 12 Nov 2010 07:53:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=VSW9D4KrxOu70hTd2nOskKPP1MywP3D9HyyiknAHxrE=; b=qWqK3iUwh9lC5LboXiUS9MXwEKloEzyGKXGzyF/WC/2MDmrUdm0+z58Zxs8l12QOEJ GQJkhJeBIzGHg7+gusbSiTj5KQt6xpDMdwtofHc5CJYDIp4pkTRCbVWvHmfGqShdR+oS shLq049Is3ZSLfi5tJu7dW+AfrxgCXPncNLEQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=l4afkMlQy0AD+GB0ytg6D9+1S+5jwH62foQD4uyqkO4iV7sEJy0cNg2EB8ZNbSy8sh S8HuoHEMzwtBGR63+TfRzDXZUReKL7tB1PaUTrYxp5nNJLmuC/OY0xu8hpmn1GOZZUoU 2rOnFNu5ImtvTOia8xW7zKjvX8sWUU1onbdNM= Received: by 10.223.97.73 with SMTP id k9mr1669701fan.120.1289577219260; Fri, 12 Nov 2010 07:53:39 -0800 (PST) Received: from [10.1.1.57] (skuns.zoral.com.ua [91.193.166.194]) by mx.google.com with ESMTPS id 14sm69059fas.20.2010.11.12.07.53.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 12 Nov 2010 07:53:37 -0800 (PST) Message-ID: <4CDD62FF.4020009@gmail.com> Date: Fri, 12 Nov 2010 17:53:35 +0200 From: Vitalii Tymchyshyn User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10 MIME-Version: 1.0 To: Kyriacos Kyriacou CC: pgsql-performance@postgresql.org Subject: Re: MVCC performance issue References: <8BCBF9DB739F034B87FE7C7D30EAE55C279F054F@hqex2k.francoudi.com> In-Reply-To: <8BCBF9DB739F034B87FE7C7D30EAE55C279F054F@hqex2k.francoudi.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201011/194 X-Sequence-Number: 41218 12.11.10 15:47, Kyriacos Kyriacou написав(ла): > PROBLEM DECRIPTION > ------------------ > As an example, consider updating the "live" balance > of a customer for each phone call where the entire customer record has > to be duplicated again and again upon each call just for modifying a > numeric value! > Have you considered splitting customer record into two tables with mostly read-only data and with data that is updated often? Such 1-1 relationship can make a huge difference to performance in your case. You can even try to simulate old schema by using an updateable view. Best regards, Vitalii Tymchyshyn