Re: Tracking disk writes? (again)

Поиск
Список
Период
Сортировка
От Erik Jones
Тема Re: Tracking disk writes? (again)
Дата
Msg-id 3CCD4626-974A-40B7-9824-8D0194F87156@myemma.com
обсуждение исходный текст
Ответ на Re: Tracking disk writes? (again)  (Ron Johnson <ron.l.johnson@cox.net>)
Ответы Re: Tracking disk writes? (again)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general

On Mar 12, 2007, at 1:15 PM, Ron Johnson wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/12/07 12:16, Erik Jones wrote:

On Mar 12, 2007, at 11:46 AM, Harald Armin Massa wrote:

Erik,

for solaris I think dtrace can be of help:


PostgreSQL 8.2 introduced dtrace-ability.

From what I read it is specifically created to do this kind of
measurement.

Hmm... That would be a particulary heavy weight solution to what I was
hoping for.  Basically, I'm looking to poll the db or "something" to get
either the total number of block or page writes done by the db either
ever or since my last reading.  That way I can graph disk writes over
time and compare to the graphs I've already got for transactions
committed, transactios rolled back, disk blocks read from disk, and disk
blocks found in cache.

Like a system montitor that tracks reads, writes, transactions, etc?

Well, disk reads, cache hits, transactions commited, transactions rolled back, index size and usage, etc. are all able to be tracked vi the pg catalogue tables and views.  But, I haven't seen anything that will give me numbers on actual disk writes done by the database.  

erik jones <erik@myemma.com>
sofware developer
615-296-0838
emma(r)



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

Предыдущее
От: Erik Jones
Дата:
Сообщение: Re: Tracking disk writes? (again)
Следующее
От: Neal Clark
Дата:
Сообщение: Re: DBD::Pg/perl question, kind of...