Re: Open items

From: Satoshi Nagayasu <nagayasus(at)nttdata(dot)co(dot)jp>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: josh(at)agliodbs(dot)com, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Open items
Date: 2005-06-30 03:29:42
Message-ID: 42C36726.2060100@nttdata.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> Josh Berkus <josh(at)agliodbs(dot)com> writes:
>
>>Satoshi,
>>
>>>sort=# select * from pg_stat_sorts ;
>>>� datname �| heap_all | index_all | heap_tape | index_tape | max_size
>
>
>>Good for me, if you explain the column names?
>
>
> I was wondering about that too ... temporary sort files haven't got
> indexes ...

Sorry. It's my misunderstanding. index_tape will be zero forever...

My patch counts inittapes(), tuplesort_begin_heap() and tuplesort_begin_index(),
and collect them, and sum them through the stat collector.

I'm ready to rewrite if it is required.

Thanks.
--
NAGAYASU Satoshi <nagayasus(at)nttdata(dot)co(dot)jp>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-06-30 03:33:02 Re: Checkpoint cost, looks like it is WAL/CRC
Previous Message Josh Berkus 2005-06-30 03:27:50 Re: Checkpoint cost, looks like it is WAL/CRC

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-06-30 03:44:58 Re: Dump comments on large objects in text mode
Previous Message Christopher Kings-Lynne 2005-06-30 03:21:50 Re: Dump comments on large objects in text mode