Re: How to mesure transaction rate in Postgres
От | hubert depesz lubaczewski |
---|---|
Тема | Re: How to mesure transaction rate in Postgres |
Дата | |
Msg-id | 9e4684ce0605242333o6b4e4c9drd111594655c323d5@mail.gmail.com обсуждение исходный текст |
Ответ на | How to mesure transaction rate in Postgres ("Meyer Marco" <Marco.Meyer@IntradoEMEA.com>) |
Ответы |
Re: How to mesure transaction rate in Postgres
|
Список | pgsql-admin |
On 5/23/06, Meyer Marco <Marco.Meyer@intradoemea.com> wrote:
this is definitelly not nice approach, but it works.
connect to database, and issue this command:
begin; create table not_previously_existsing(id int4); select xmin from pg_class where relname = 'not_previously_existsing'; rollback;
returned value is id of the transaction that created the table.
repeat this command every so often (mrtg does that every 5 minutes), and you can see how it grows.
depesz
--
http://www.depesz.com/ - nowy, lepszy depesz
I've been asked for the transaction rate we have on an installed Postgres server. Where and how can I get this information. I could not find anything in the documentation. I have root access to the system.
this is definitelly not nice approach, but it works.
connect to database, and issue this command:
begin; create table not_previously_existsing(id int4); select xmin from pg_class where relname = 'not_previously_existsing'; rollback;
returned value is id of the transaction that created the table.
repeat this command every so often (mrtg does that every 5 minutes), and you can see how it grows.
depesz
--
http://www.depesz.com/ - nowy, lepszy depesz
В списке pgsql-admin по дате отправления: