Re: About Query Performaces Problem

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Hüseyin Ellezer <ellezerh(at)gmail(dot)com>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Pgsql Performance <pgsql-performance(at)lists(dot)postgresql(dot)org>
Subject: Re: About Query Performaces Problem
Date: 2022-01-12 08:35:23
Message-ID: 20220112083523.keua6yrv3bzdz4jf@jrouhaud
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi,

On Wed, Jan 12, 2022 at 11:23:33AM +0300, Hüseyin Ellezer wrote:
> I mean, despite the execution times shown here PostgreSQL 10 is working
> faster compared to PostgreSQL 14.

Please don't top-post here, see https://wiki.postgresql.org/wiki/Mailing_Lists
for more details.

> Is this speed performance about the
> cached or disk data? How can we see where the data comes from?

We have no way to know unless you show us some data about queries actually
being slower on your new environment. It could even be something else, like
the new server having slower network.

You should refer to https://wiki.postgresql.org/wiki/Slow_Query_Questions to
provide more details, especially the EXPLAIN (ANALYZE, BUFFERS) section which
will show how much of the data comes from postgres internal cache. There's
unfortunately no option to distinguish OS cache access from disk access using
EXPLAIN.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message T T 2022-01-13 01:47:49 PGBench connection issue with -C option only
Previous Message Pavel Stehule 2022-01-12 08:31:20 Re: About Query Performaces Problem