Re: select performance. - Mailing list pgsql-admin

From Fabio Pardi
Subject Re: select performance.
Date
Msg-id 989ff33b-445d-8812-fd8e-f78aeea85d94@portavita.eu
Whole thread Raw
In response to select performance.  (Dhandapani Shanmugam <postgresql95@gmail.com>)
Responses Re: select performance.  (Dhandapani Shanmugam <postgresql95@gmail.com>)
List pgsql-admin
Hi Dhandapani,

first of all, I do not think is a good idea to measure the response time
from the frontend. Run the query on the database and time it.

Also an EXPLAIN ANALYZE of the query will give you hints on what is
going on. Please post that too.

Additionally, you could tell us a bit more about your tables structure,
the data in it, the machine it runs on, your OS, your Postgres version
and how Postgres is configured.

This said, if your data resides in memory, data retrieval will indeed be
faster, but is not a 5 minutes job, using a silver bullet. It requires
analysis.

Let us know more, and we can probably tell you more.

regards,

fabio pardi



On 08/10/2018 10:12 AM, Dhandapani Shanmugam wrote:
> Hi All,
> 
> My application does select with were condition using IN function on only
> one table and I see slow response from front end. Please clarify me, do
> we have options like memory tables or is it possible to pin entire table
> in memory or do we have any option to improve only select statement.
> 
> -Dhandapani


pgsql-admin by date:

Previous
From: Dhandapani Shanmugam
Date:
Subject: select performance.
Next
From: Dhandapani Shanmugam
Date:
Subject: Re: select performance.