Re: Slowness
| От | Laurenz Albe |
|---|---|
| Тема | Re: Slowness |
| Дата | |
| Msg-id | 1ce81f428a5e42bc263f7fece688b084a46f28af.camel@cybertec.at обсуждение |
| Ответ на | Re: Slowness (Raj <rajeshkumar.dba09@gmail.com>) |
| Ответы |
Re: Slowness
|
| Список | pgsql-admin |
On Mon, 2026-04-13 at 23:13 +0530, Raj wrote: > If I start with normal health check top, free -h, patronictl list, and all status > of components such as etcd, haproxy etcd pgnouncer , then stat user tables, > pgstatactivity, pgstatstatements and error log. Apart from this, what dba should do? I'm not sure what a "normal health check" is. I thought your problem was that the some statements are too slow. That is not directly connected to the health of the database. To deal with slow statements, you first have to find them. Tools are log_min_duration_statement and pg_stat_statements. Then you have to make the statements faster. The tool here is EXPLAIN (ANALYZE, BUFFERS). But you need some experience to be able to read execution plans, figure out where the problem is and fix that problem. Yours, Laurenz Albe
В списке pgsql-admin по дате отправления: