Fastest Backup & Restore for perf testing

Поиск
Список
Период
Сортировка
От Wes Vaske (wvaske)
Тема Fastest Backup & Restore for perf testing
Дата
Msg-id 31701C89A44B714FB8D242F806E7286C5AEC68FE@NTXBOIMBX01.micron.com
обсуждение исходный текст
Ответы Re: Fastest Backup & Restore for perf testing  (Andrew Dunstan <andrew@dunslane.net>)
Re: Fastest Backup & Restore for perf testing  (Steve Atkins <steve@blighty.com>)
Список pgsql-performance

Hi,

 

I’m running performance tests against a PostgreSQL database (9.4) with various hardware configurations and a couple different benchmarks (TPC-C & TPC-H).

 

I’m currently using pg_dump and pg_restore to refresh my dataset between runs but this process seems slower than it could be.

 

Is it possible to do a tar/untar of the entire /var/lib/pgsql tree as a backup & restore method?

 

If not, is there another way to restore a dataset more quickly? The database is dedicated to the test dataset so trashing & rebuilding the entire application/OS/anything is no issue for me—there’s no data for me to lose.

 

Thanks!

 

Wes Vaske | Senior Storage Solutions Engineer

Micron Technology

101 West Louis Henna Blvd, Suite 210 | Austin, TX 78728

 

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

Предыдущее
От: Tory M Blue
Дата:
Сообщение: ERROR: missing chunk number 0 for toast value 1821556134 in pg_toast_17881
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Fastest Backup & Restore for perf testing