Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xa39O-0004jR-5n for pgsql-performance@arkaria.postgresql.org; Fri, 03 Oct 2014 13:44:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xa39N-0000fW-MS for pgsql-performance@arkaria.postgresql.org; Fri, 03 Oct 2014 13:44:01 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xa39M-0000fQ-QT for pgsql-performance@postgresql.org; Fri, 03 Oct 2014 13:44:00 +0000 Received: from mail.trovaprezzi.it ([2.228.21.217]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xa39J-0004TA-M0 for pgsql-performance@postgresql.org; Fri, 03 Oct 2014 13:43:59 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.trovaprezzi.it (Postfix) with ESMTP id E87EAE8399; Fri, 3 Oct 2014 15:43:53 +0200 (CEST) Received: from mail.trovaprezzi.it ([127.0.0.1]) by localhost (zimbra.7pixel.local [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id kM2oX23kDfEL; Fri, 3 Oct 2014 15:43:49 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.trovaprezzi.it (Postfix) with ESMTP id 7DFBEE839A; Fri, 3 Oct 2014 15:43:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.7pixel.local Received: from mail.trovaprezzi.it ([127.0.0.1]) by localhost (zimbra.7pixel.local [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id y4L-rM8zhXvv; Fri, 3 Oct 2014 15:43:49 +0200 (CEST) Received: from zimbra.7pixel.local (zimbra.7pixel.local [192.168.0.127]) by mail.trovaprezzi.it (Postfix) with ESMTP id 6069DE8399; Fri, 3 Oct 2014 15:43:49 +0200 (CEST) Date: Fri, 3 Oct 2014 15:43:49 +0200 (CEST) From: Roberto Grandi To: ktm@rice.edu Cc: pgsql-performance@postgresql.org Message-ID: <489451174.6283029.1412343829265.JavaMail.zimbra@trovaprezzi.it> In-Reply-To: <20141003130003.GN11672@aart.rice.edu> References: <1705399839.6266050.1412326345164.JavaMail.zimbra@trovaprezzi.it> <1722782443.6266128.1412326504755.JavaMail.zimbra@trovaprezzi.it> <20141003130003.GN11672@aart.rice.edu> Subject: Re: Planning for Scalability MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [91.204.80.113] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF32 (Win)/8.0.6_GA_5922) Thread-Topic: Planning for Scalability Thread-Index: ZrnMeU6n/52fKPt9k/nKfD+TRBU0GA== X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Dear All thanks for your precious help. I'll come back to the list once analyzed our= system. Roberto ----- Messaggio originale ----- Da: ktm@rice.edu A: "Roberto Grandi" Cc: pgsql-performance@postgresql.org Inviato: Venerd=C3=AC, 3 ottobre 2014 15:00:03 Oggetto: Re: [PERFORM] Planning for Scalability On Fri, Oct 03, 2014 at 10:55:04AM +0200, Roberto Grandi wrote: > Dear Pg people, >=20 > I would ask for your help considering this scaling issue. We are planning= to move from 3Millions of events/day instance of postgres (8 CPU, 65 gb ra= m) to 5 millions of items/day. > What do you suggest in order to plan this switch? Add separate server? In= crease RAM? Use SSD? >=20 > Any real help will be really precious and appreciated. > Roberto >=20 Hi Roberto, This change is within a factor of 2 of your existing load. I would start wi= th analyzing the load on your existing system to determine where your bottlene= cks are. 5M/day is 57/sec evenly distributed or 174/sec in an 8 hour period. Th= is does not seems like a lot, but you have given us no details on your actual workload. Regards, Ken --=20 Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance