Re: Postgresql TPS Bottleneck
От | Mladen Gogala |
---|---|
Тема | Re: Postgresql TPS Bottleneck |
Дата | |
Msg-id | 44e64451-73a0-b8de-4d88-25d642c62f6d@gmail.com обсуждение исходный текст |
Ответ на | Postgresql TPS Bottleneck (<wakandavision@outlook.com>) |
Список | pgsql-performance |
On 3/31/22 07:50, wakandavision@outlook.com wrote:
Hi everyone,I am a bachelor's student and writing my thesis about the scaling andperformance of an application. The application is using postgresql as adatabase but we can't scale any further currently as it seems postgresis hitting the limit.With the application, as well as with pgbench, we don't get more than(max) 70k TPS on postgres. But the servers' resources are not utilizedcompletely (more below).
I would try monitoring using "perf top" and "atop -d" to see what is going on on the system. Also, try using sar to figure out what's going on. Are you paging, waiting for I/O or having some other kind of bottleneck. Once you figure where is your system spending time, you can address the problem. In addition to that, analyze the log files with pgbadger to find out which queries are time consuming and try optimizing them.
-- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com
В списке pgsql-performance по дате отправления: