Re: Best way to load test a postgresql server
От | Shaul Dar |
---|---|
Тема | Re: Best way to load test a postgresql server |
Дата | |
Msg-id | 234efe30906090550t1794b9aevfefc6a1cee1cc142@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Best way to load test a postgresql server (Greg Smith <gsmith@gregsmith.com>) |
Ответы |
Re: Best way to load test a postgresql server
|
Список | pgsql-performance |
On Thu, Jun 4, 2009 at 2:01 AM, Greg Smith <gsmith@gregsmith.com> wrote:
ׂGreg,
Have you actually run pgbench against your own schema? Can you point me to an example? I also had the same impression reading the documentation. But when I tried it with the proper flags to use my own DB and query file I got an error that it couldn't find one of the tables mentioned in the built-in test! I concluded that I cannot use any schema, I could only supply my own DB but with the same set of tables pgbench expects. Maybe I missed something or made a mistake?
Thanks,
-- Shaul
pgbench will run against any schema and queries, the built-in set are just the easiest to use. I just released a bunch of slides and a package I named pgbench-tools that show some of the possibilities here, links to everything are at: http://notemagnet.blogspot.com/2009/05/bottom-up-postgresql-benchmarking-and.htmlIf you want to load test your own specific DB then I am unaware of any such tools.
ׂGreg,
Have you actually run pgbench against your own schema? Can you point me to an example? I also had the same impression reading the documentation. But when I tried it with the proper flags to use my own DB and query file I got an error that it couldn't find one of the tables mentioned in the built-in test! I concluded that I cannot use any schema, I could only supply my own DB but with the same set of tables pgbench expects. Maybe I missed something or made a mistake?
Thanks,
-- Shaul
В списке pgsql-performance по дате отправления: