Re: Speeding up JSON + TSQUERY + GIN

From: "Sven R(dot) Kunze" <srkunze(at)mail(dot)de>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Speeding up JSON + TSQUERY + GIN
Date: 2017-03-01 14:02:15
Message-ID: b10df25c-c796-2cf0-60c0-040c31bc99a9@mail.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 28.02.2017 17:49, Jeff Janes wrote:
> Oh. In my hands, it works very well. I get 70 seconds to do the
> {age: 20} query from pure cold caches, versus 1.4 seconds from cold
> caches which was followed by pg_prewarm('docs','prefetch').
>
> How much RAM do you have? Maybe you don't have enough to hold the
> table in RAM. What kind of IO system? And what OS?

On my test system:

RAM: 4GB
IO: SSD (random_page_cost = 1.0)
OS: Ubuntu 16.04

Regards,
Sven

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Jeff Janes 2017-03-01 17:04:13 Re: Speeding up JSON + TSQUERY + GIN
Previous Message Jeff Janes 2017-02-28 16:49:42 Re: Speeding up JSON + TSQUERY + GIN