From: | Melvin Davidson <melvin6925(at)gmail(dot)com> |
---|---|
To: | nikhil raj <nikhilraj474(at)gmail(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>, pgsql-sql(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: High CPU usage in postgres servers |
Date: | 2017-12-25 23:12:05 |
Message-ID: | CANu8Fixp25AuTpa_S30f=536HkUGjb-SgLz_sg5y8Mj9=NE9Vg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general pgsql-sql |
On Mon, Dec 25, 2017 at 1:28 PM, nikhil raj <nikhilraj474(at)gmail(dot)com> wrote:
>
>
>
> Hi guys ,
> when check the task manager I see these many postgres.exe are running. How
> to identify which pid is running for which process please any one can help
> me out.
> or Why these many postgres.exe are running on the server
>
> [image: Inline image 1]
>
> Thanks ,
> Nikhil
>
It appears your O/S is Windows, but you have not included which version of
PostgreSQL.
Since the structure of pg_stat_activity has changed between 9.4 and 9.5
the best I can advise is to
SELECT * FROM pg_stat_activity;
Otherwise, I would give you a query tailored to your version of PostgreSQL.
--
*Melvin Davidson*
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2017-12-26 00:19:01 | Re: High CPU usage in postgres servers |
Previous Message | nikhil raj | 2017-12-25 18:28:59 | High CPU usage in postgres servers |
From | Date | Subject | |
---|---|---|---|
Next Message | Rakesh Kumar | 2017-12-26 00:11:23 | Re: [OT] subscribtion with no-mail option? |
Previous Message | Edson Carlos Ericksson Richter | 2017-12-25 21:32:50 | Re: Stand by server (9.6.6) with corrupt file |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2017-12-26 00:19:01 | Re: High CPU usage in postgres servers |
Previous Message | nikhil raj | 2017-12-25 18:32:29 | Fwd: High CPU usage in postgres servers |