Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id F362C126090B; Wed, 27 Jun 2012 04:34:37 -0300 (ADT) Received: from moutng.kundenserver.de ([212.227.126.187]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Sjmll-0007mR-RP; Wed, 27 Jun 2012 07:34:37 +0000 Received: from [192.168.11.145] (62.175.246.114.static.riosat.com [62.175.246.114]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0Mex5B-1SUiiQ1P8D-00OeHT; Wed, 27 Jun 2012 09:34:19 +0200 Subject: Re: [performance] fast reads on a busy server From: Hannu Krosing To: Willy-Bas Loos Cc: pgsql-cluster-hackers@postgresql.org, pgsql-performance@postgresql.org In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Wed, 27 Jun 2012 09:34:16 +0200 Message-ID: <1340782456.12666.45.camel@hvost> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:q0tRuIgsz+bv96ZVrfM3c/1F9wnTc/uToU87cRSTO17 Xnz0pxVzc4etrX9Tj/9e046GwcdYKNw/IFXE1pv7mWza/Dk5Zd jT+p6HlDWQ/MQ1SCHCGAyhtjOox/yDCLsAyiUWsrsDz20GYaU4 tepeM74Hf6sGiHYe7khNgcVuZSk4RGdVArDKk2O5Uq1mxhHh1c Q2UhI7PJsQQ095tNq5seU2V3BUWZpKqFbQWg+y3QgVQIq8Ecp2 1JkWW8X8/+KivqvmhgTzuwzN+K+rPywepzMuJSAZootlzI/vzh R9W2YoeFhcQmh+jVyKU4R29dhBO2eKNLmgSGsMour383Ycpp0p UTo8TSCsrubiHsbOGKSGFRKT3U/gFohJ55DEnG0ae X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201206/2 X-Sequence-Number: 278 On Wed, 2012-06-27 at 00:16 +0200, Willy-Bas Loos wrote: > Hi, > > I've read this: > http://wiki.postgresql.org/wiki/Prioritizing_databases_by_separating_into_multiple_clusters > > But it doesn't really say anything about memory. > If i can fit an extra cluster into it's shared buffer, it should have > fast reads, right? > Even if i don't have seperate spindles and the disks are busy. Check if you are CPU-bound. On a database which fits fully you may already be. > This is on a Debain server, postgres 8.4 And if possible, upgrade to latest pg (9.1). On some operations this already may give you a considerable performance boost > Cheers, > > WBL > -- > "Quality comes from focus and clarity of purpose" -- Mark Shuttleworth > -- ------- Hannu Krosing PostgreSQL Unlimited Scalability and Performance Consultant 2ndQuadrant Nordic PG Admin Book: http://www.2ndQuadrant.com/books/