Re: Slow response to my query

From: Bzzzz <lazyvirus(at)gmx(dot)com>
To: Goke Aruna <goksie(at)gmail(dot)com>
Cc: pgsql-novice(at)lists(dot)postgresql(dot)org
Subject: Re: Slow response to my query
Date: 2019-11-28 04:42:13
Message-ID: 20191128054213.0ab0badc@msi.defcon1.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Thu, 28 Nov 2019 05:35:44 +0100
Goke Aruna <goksie(at)gmail(dot)com> wrote:

Hi,

> I have a HP DL380 server g8 with 32GB RAM and 48 *2.5Ghz CPU. Running
> on CentOS Linux 7.4.
>
> I have a postgresql 12 database. One of my tables has 42 columns and
> has about 500million records.
> However, any attempt to select even 1 column from the table take hours
> at least 1.5hours to respond.

Did you test your installation with pgbench?

> Kindly help on documentation on how to optimize it to return the
> response in milliseconds.

Do you have any indexes?

What is your test query?

Jean-Yves

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Goke Aruna 2019-11-28 09:38:22 Re: Slow response to my query
Previous Message Goke Aruna 2019-11-28 04:35:44 Slow response to my query