Re: Open items - Mailing list pgsql-hackers

From Satoshi Nagayasu
Subject Re: Open items
Date
Msg-id 42C32B56.4000508@nttdata.co.jp
Whole thread Raw
In response to Re: Open items  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Open items
List pgsql-hackers
Bruce,

I have another patch for the TODO item.

From TODO item:
> Add ability to monitor the use of temporary sort files

As I mentioned before, I created a sort statistics patch.

http://archives.postgresql.org/pgsql-hackers/2004-09/msg00380.php

Now my patch can work with 7.4.6 and it creates new system view,
called pg_stat_sorts.

sort=# select * from pg_stat_sorts ; datname  | heap_all | index_all | heap_tape | index_tape | max_size
-----------+----------+-----------+-----------+------------+----------sort      |       11 |         0 |         3 |
     0 | 11141120template1 |        2 |         0 |         0 |          0 |      792template0 |        0 |         0 |
       0 |          0 |        0
 
(3 rows)

Is this enough for this TODO?
Any comments?
-- 
NAGAYASU Satoshi <nagayasus@nttdata.co.jp>


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] Dbsize backend integration
Next
From: Josh Berkus
Date:
Subject: Re: Checkpoint cost, looks like it is WAL/CRC