Re: benchmarking proposed config

Поиск
Список
Период
Сортировка
От Jakub Olczyk
Тема Re: benchmarking proposed config
Дата
Msg-id 20200221105514.084cb730@el-t490
обсуждение исходный текст
Ответ на benchmarking proposed config  (Scott Ribe <scott_ribe@killerbytes.com>)
Ответы Re: benchmarking proposed config
Список pgsql-admin
Hi Scott,

On Thu, 20 Feb 2020 09:12:09 -0700
Scott Ribe <scott_ribe@killerbytes.com> wrote:

> Does anyone have suggestions for a utility that would easily let us
> mirror all queries to a "shadow" PG cluster, so that we can compare
> performance of our current production config against a new proposed
> config with our actual production traffic?

I am not sure if this would be an acceptable solution for you but there
is an open source utility called pgreplay[1]. Here is the description:

> pgreplay reads a PostgreSQL log file (*not* a WAL file), extracts the
> SQL statements and executes them in the same order and relative time
> against a PostgreSQL database cluster. 

This of course means that you'd need to have a fairly "chatty" log
configuration, but maybe it could work for your needs?


Cheers,
jwo


[1]: https://github.com/laurenz/pgreplay



В списке pgsql-admin по дате отправления:

Предыдущее
От: Scott Ribe
Дата:
Сообщение: benchmarking proposed config
Следующее
От: Scott Ribe
Дата:
Сообщение: Re: benchmarking proposed config