Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id DA22E1337A5D for ; Tue, 26 Apr 2011 02:30:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 87723-01 for ; Tue, 26 Apr 2011 05:30:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qw0-f46.google.com (mail-qw0-f46.google.com [209.85.216.46]) by mail.postgresql.org (Postfix) with ESMTP id 18DBC133740B for ; Tue, 26 Apr 2011 02:30:14 -0300 (ADT) Received: by qwk3 with SMTP id 3so117596qwk.19 for ; Mon, 25 Apr 2011 22:30:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:references:in-reply-to:mime-version :content-transfer-encoding:content-type:message-id:cc:x-mailer:from :subject:date:to; bh=AWw77jZl3h/AVGeIcNL8S+/k8nLQLLyp3uYeAb5vb4I=; b=wpt9+OW6LiTVALxLhAOs+dpgcTuRtraTEsLj64hdpNQuA0vyO4PwoNkscxt/dB7RL6 v2/1LLRM5aWZSvumLvu1YyX5sechoBFHlJUjWhVjQATFNlGF3YGZnBWwQMTqhEjcKY5Q 870SYcrZY/cIpyfV69Jg8P1qtYwv2uBUPrLCY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; b=VvkHjmBKeI51eM45r/pMHbYgK31T0DkZ6t02p6CkWGAupI1W5LjNGRRTiwh6Wbbblf jNaBeVrADAKbyUk3+TBdZpMbmb0GFaFj4Pve6KSEwIEgmJ6otLa9OSX6zf8y6OWjJQOw 7UebUHAQulsShNo7NcDnHGPRc2gDf9II4a5rY= Received: by 10.224.27.20 with SMTP id g20mr248194qac.15.1303795813861; Mon, 25 Apr 2011 22:30:13 -0700 (PDT) Received: from [192.168.2.5] (pool-71-188-33-7.cmdnnj.east.verizon.net [71.188.33.7]) by mx.google.com with ESMTPS id k2sm4587496qcu.43.2011.04.25.22.30.12 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 25 Apr 2011 22:30:12 -0700 (PDT) References: <20110412171855.GA14292@tux> <4DA496FA.3070908@fuzzy.cz> <8F22D592-23C1-4A3C-94A5-48363332ADD3@darkstatic.com> <4DA4BFA2.5060601@fuzzy.cz> <4DA4D40A.4010200@fuzzy.cz> <4DA56DA8020000250003C783@gw.wicourts.gov> <4DA6216E.9020907@fuzzy.cz> <4DA63125.5070106@fuzzy.cz> In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8A293) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: Cc: Tomas Vondra , "pgsql-performance@postgresql.org" X-Mailer: iPhone Mail (8A293) From: Robert Haas Subject: Re: Performance Date: Tue, 26 Apr 2011 01:30:58 -0400 To: Claudio Freire X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.897 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, MIME_QP_LONG_LINE=0.001, RFC_ABUSE_POST=0.001 X-Spam-Level: X-Archive-Number: 201104/348 X-Sequence-Number: 43410 On Apr 14, 2011, at 2:49 AM, Claudio Freire wrote: > This particular factor is not about an abstract and opaque "Workload" > the server can't know about. It's about cache hit rate, and the server > can indeed measure that. The server can and does measure hit rates for the PG buffer pool, but to my k= nowledge there is no clear-cut way for PG to know whether read() is satisfie= d from the OS cache or a drive cache or the platter. ...Robert