Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUaxV-0006dZ-KB for pgsql-performance@arkaria.postgresql.org; Mon, 10 Jul 2017 15:50:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dUaxV-0002NX-5M for pgsql-performance@arkaria.postgresql.org; Mon, 10 Jul 2017 15:50:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dUava-0007KX-2d for pgsql-performance@postgresql.org; Mon, 10 Jul 2017 15:48:50 +0000 Received: from mail-qt0-x22b.google.com ([2607:f8b0:400d:c0d::22b]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dUavX-0000cq-05 for pgsql-performance@postgresql.org; Mon, 10 Jul 2017 15:48:48 +0000 Received: by mail-qt0-x22b.google.com with SMTP id r30so76287548qtc.0 for ; Mon, 10 Jul 2017 08:48:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gAwp23Y8/k3rplXALdGHOP+7/1zPZf6Ax93PjFKL7IQ=; b=izwXpmSJ+pMu6EGRNE2o2HZwdRstoQuMXKaqKkMTT1dsT51KX4CotC/TWcF7bVdk3u xACs/Q0IXuFc3PgBa9yV+9icvmx7D9JbbhCv4X1/lEB1DfFwYdmb3T63eSCXcEE0iQTI kV7px1CqvKil7LMd8LKL1u6tcdYvBdG4v9wxzqAD3THY0K6+4q1mR953xKU9AOLGVOq1 YTeoERYVvwA6mZBtij1sCiuBFq89mcPFdy4OB7tYl3AnrY07Vjd0kTy3R/NCKu56Y4fd setWCtFB0gT4I8CqtaY2OdHvaGm8rsltv9fq3MAHfdqT9PUlvOVrcBpd+g4WU3e0XWNb WG+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gAwp23Y8/k3rplXALdGHOP+7/1zPZf6Ax93PjFKL7IQ=; b=iHFYVCiy/E++LqA7f/S0DAv6NLDoJjzfCAVOCh3HOgeaCnchTmvU5OqlOMPhDNV0q6 4trDN5tg4zG4siXm5Yjs8bK5pr1rPBKgrsnAae8hu6f5mseUngvZz/D86SSV3sPgTrTy h3xI+ax99cRATAESRewwbcbflRXOQc0fJlq1Bp3r92Gfrp7/dpntqRlECSfj6qrC4DKa l29R8IcgeV56tV1wd5MsEdgFx/+T6Ci1B+ajUQ1D4md7YHFMkboSe0H2WG1fEzwud6FK LEKiRUZbRe1Rte3CRJgPj7+G2Q0AK87sNK4/+EVJYwo/qTCLALEaDBN7d/5XPtH7PCSY 1qkQ== X-Gm-Message-State: AIVw111DMho6eEYLw4fC+uqOx0DqPuhvREcDXEXSavzcNtt+zZmiJyWk M5tJDq7VOPleoIw/En6fnAmPsnrBSA== X-Received: by 10.237.39.135 with SMTP id a7mr4974743qtd.164.1499701726204; Mon, 10 Jul 2017 08:48:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.157.11 with HTTP; Mon, 10 Jul 2017 08:48:25 -0700 (PDT) In-Reply-To: References: From: Charles Nadeau Date: Mon, 10 Jul 2017 17:48:25 +0200 Message-ID: Subject: Re: Very poor read performance, query independent To: Andreas Kretschmer Cc: pgsql-performance@postgresql.org Content-Type: multipart/alternative; boundary="f403045ef906a8d80f0553f8848f" 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 --f403045ef906a8d80f0553f8848f Content-Type: text/plain; charset="UTF-8" Andreas, Because the ratio between the Sequential IOPS and Random IOPS is about 29. Taking into account that part of the data is in RAM, I obtained an "effective" ratio of about 22. Thanks! Charles On Mon, Jul 10, 2017 at 5:35 PM, Andreas Kretschmer wrote: > > > Am 10.07.2017 um 16:03 schrieb Charles Nadeau: > >> random_page_cost | 22 >> > > > why such a high value for random_page_cost? > > Regards, Andreas > > -- > 2ndQuadrant - The PostgreSQL Support Company. > www.2ndQuadrant.com > > > > -- > Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-performance > -- Charles Nadeau Ph.D. http://charlesnadeau.blogspot.com/ --f403045ef906a8d80f0553f8848f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Andreas,

Because the ratio between the = Sequential IOPS and Random IOPS is about 29. Taking into account that part = of the data is in RAM, I obtained an "effective" ratio of about 2= 2.
Thanks!

Charles

On Mon, Jul 10, 2017 at 5:3= 5 PM, Andreas Kretschmer <andreas@a-kretschmer.de> wro= te:


Am 10.07.2017 um 16:03 schrieb Charles Nadeau:
random_page_cost | 22


why such a high value for random_page_cost?

Regards, Andreas

--
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com



--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pe= rformance



--
--f403045ef906a8d80f0553f8848f--