From: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
---|---|
To: | Nikola Ivanov <xlpizza(at)gmail(dot)com> |
Cc: | Nik <XLPizza(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Postgres using 100% CPU |
Date: | 2006-02-15 20:35:35 |
Message-ID: | b42b73150602151235j57bbcb75uc885dcc5b759ed08@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 2/15/06, Nikola Ivanov <xlpizza(at)gmail(dot)com> wrote:
> I found the pid of the postgres process that was consuming all the CPU. I
> turned the stats back on (and reloaded the conf file), but when I query
> pg_stat_activity I get nothing back. No records.
did you restart server? I think stats collector setting is only set
on server start. You may want to consider using pg_ctl to kill that
pid. I also think about leaving command strings stats on for a while
depending on your transaction volume. There is some overhead but the
information it gives can be highly useful.
Merlin
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-02-15 20:43:04 | Re: Oracle purchases Sleepycat - is this the "other shoe" for MySQL AB? |
Previous Message | TJ O'Donnell | 2006-02-15 20:34:39 | Re: I see this as the end of BDB in MySQL without a doubt. |