X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 7A5E4D1B4E3 for ; Mon, 13 Oct 2003 13:39:14 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 03836-02 for ; Mon, 13 Oct 2003 10:38:29 -0300 (ADT) Received: from correo (correo.qoslabs.com [157.238.87.78]) by svr1.postgresql.org (Postfix) with ESMTP id 29736D1B50D for ; Mon, 13 Oct 2003 10:38:25 -0300 (ADT) Received: from ingridma (customer-148-233-235-189.uninet.net.mx [148.233.235.189]) by correo-01.qoslabs.com (iPlanet Messaging Server 5.2 HotFix 1.09 (built Jan 7 2003)) with ESMTP id <0HMP000OD77UZZ@correo-01.qoslabs.com> for pgsql-performance@postgresql.org; Mon, 13 Oct 2003 09:38:27 -0400 (EDT) Date: Mon, 13 Oct 2003 08:38:25 -0600 From: ingrim Subject: unsuscribe mailing list In-reply-to: <16263.8497.95525.673249@yertle.int.kciLink.com> To: pgsql-performance@postgresql.org Message-id: <002601c39197$ac832170$7d64a8c0@ingridma> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Outlook, Build 10.0.3416 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/419 X-Sequence-Number: 4167 -----Original Message----- From: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Vivek Khera Sent: Viernes, 10 de Octubre de 2003 03:14 p.m. To: Josh Berkus Cc: pgsql-performance@postgresql.org Subject: Re: [PERFORM] go for a script! / ex: PostgreSQL vs. MySQL >>>>> "JB" == Josh Berkus writes: JB> Vivek, NB> shared_buffers = 1/16th of total memory NB> effective_cache_size = 80% of the supposed kernel cache. >> >> Please take into account the blocksize compiled into PG, too... JB> We can;t change the blocksize in a script that only does the .conf JB> file. Or are you suggesting something else? when you compute optimal shared buffers and effective cache size, these are in terms of blocksize. so if I have 16k block size, you can't compute based on default 8k blocksize. at worst, it would have to be a parameter you pass to the tuning script. ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings