Re: Issues of slow running queries when dealing with Big Data

From: Michael Lewis <mlewis(at)entrata(dot)com>
To: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
Cc: Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Issues of slow running queries when dealing with Big Data
Date: 2020-07-28 21:43:16
Message-ID: CAHOFxGrZehS5ivsKU_HCSx67Cm4tU72CPqrOd7j6XYpL6GdOVQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
> Many thanks. Is this way correct? I am learning what is meant by 'top
> posting'.
>

Yes.

On the subject of your settings, I don't see anything for work_mem,
random_page_cost and other commonly tuned parameters. That would be a good
start. What sort of machine specs are there for Postgres instance? Cpu,
ram, disk type (spinning disk, ssd, etc)? Are any other applications
running on this machine?

Do you have an example query and explain analyze output? Are you aware of
https://explain.depesz.com/ ?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shaozhong SHI 2020-07-28 23:00:18 Re: Issues of slow running queries when dealing with Big Data
Previous Message Andres Freund 2020-07-28 21:28:06 Re: bad JIT decision