From owner-freebsd-jail@FreeBSD.ORG Wed Oct 23 16:26:18 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7E58E6CC; Wed, 23 Oct 2013 16:26:18 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 137462B0D; Wed, 23 Oct 2013 16:26:17 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id r9NGPjLF004026 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 23 Oct 2013 18:25:47 +0200 Date: Wed, 23 Oct 2013 18:25:45 +0200 From: Albert Shih To: pgsql-admin@postgresql.org, freebsd-fs@freebsd.org, freebsd-jail@freebsd.org Subject: ZFS-FreeBSD + postgresql performance Message-ID: <20131023162545.GA19794@pcjas.obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 5267F889.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 5267F889.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 16:26:18 -0000 Hi I would like to known if someone here have in production a FreeBSD server with postgresql and the FS for the data of postgresql is a ZFS pool. I'm going to buy some server with 96Go of Ram and a jbod of 12 disks (4To each) The purpose is to have everything on this zfs pool (except the system who still on classic raid). So to have many jail (~20-30) running apache/mysql/etc. one postgresql server with all data on the zfs. each jail use his own zfs partition. So I can use zfs send/received to have a mirror of everything in a other server. My question is about the performance, I known ZFS eat all memory he can have (or almost), so what append when we run database like postgresql and jail ? (it's also the reason of 96 Go ram). Sorry for cross-posting but it's about 3 differents things.... Regards. JAS -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: mer 23 oct 2013 18:17:24 CEST