pgbench - allow to specify scale as a size

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема pgbench - allow to specify scale as a size
Дата
Msg-id alpine.DEB.2.20.1802171013110.20813@lancre
обсуждение исходный текст
Ответы Re: pgbench - allow to specify scale as a size  (Erik Rijkers <er@xs4all.nl>)
Re: pgbench - allow to specify scale as a size  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
After Karel Moppel piece on pgbench scale/size conversion, it occured to 
me that having this as an option would be nice.

https://www.cybertec-postgresql.com/en/a-formula-to-calculate-pgbench-scaling-factor-for-target-db-size/

Here is a attempt at extending --scale so that it can be given a size.

   pgbench -i --scale=124G ...

The approximated database size is also shown in the end-of-run summary.

-- 
Fabien.
Вложения

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

Предыдущее
От: Arthur Zakirov
Дата:
Сообщение: Re: [HACKERS] Bug in to_timestamp().
Следующее
От: David Rowley
Дата:
Сообщение: Re: [HACKERS] path toward faster partition pruning