Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 66BEA9FA2F7 for ; Fri, 7 Sep 2007 09:56:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 82439-09 for ; Fri, 7 Sep 2007 09:56:17 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.236]) by postgresql.org (Postfix) with ESMTP id 504B89FA2E7 for ; Fri, 7 Sep 2007 09:56:17 -0300 (ADT) Received: by nz-out-0506.google.com with SMTP id l8so286940nzf for ; Fri, 07 Sep 2007 05:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=JVfYT0Bd29KMxZxJ6zlzoN6Wto7X46fe6o72EdcVSao=; b=JCLAkh3bbRu3i/MKWXTPgWU3u36RAHxAGdVG1dTlqc+PVH+0pedPmOhWPyg2jyTviaM/hAbtn5Csycz4EoD8X608noARlCwuMpb3jkeCaC7G2ymMsL60KdA1DTuJ8TJ+ahIIfkGR2D0Z8Ek2DAeWNSZ1yITkafLGXfRAIEZEUmc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tfr0ICo1Fod0sJjCscPbQMN4fJwDSOuKb1sOCd8H9VGZ/pM6lkRMY3zUQNGv42UMH6DND9P586mAB54JxHGHsCSWREZQLXS2vZpV2a9i8wSkjKRDvTPYdGwqiFese1U81YrgWfwWAv+zf5CRK3AZwwPwIMSZN2meAP0TV7KHf3A= Received: by 10.114.106.1 with SMTP id e1mr860872wac.1189169775503; Fri, 07 Sep 2007 05:56:15 -0700 (PDT) Received: by 10.115.33.5 with HTTP; Fri, 7 Sep 2007 05:56:15 -0700 (PDT) Message-ID: Date: Fri, 7 Sep 2007 08:56:15 -0400 From: "Merlin Moncure" To: mfatticcioni@mbigroup.it Subject: Re: DRBD and Postgres: how to improve the perfomance? Cc: pgsql-performance@postgresql.org In-Reply-To: <46E11BE4.6060500@mbigroup.it> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46E11BE4.6060500@mbigroup.it> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/125 X-Sequence-Number: 26670 On 9/7/07, Maila Fatticcioni wrote: > Obviously, working with the database in DRBD, we had two writes instead > of only one but we are a bit disappointed about the low results. We > would like to know if there is any way to improve the performance in > order to have a 3/4 rate instead of the 1/2 one. Have you considered warm standby PITR? It achieves essentially the same thing with very little overhead on the master. The only downside relative to DRDB is you have to think about the small gap between WAL file rotations. From what I understand, there is some new stuff (check out skype skytools) that may help minimize this problem. merlin