Re: EXPLAIN BUFFERS

Поиск
Список
Период
Сортировка
От Takahiro Itagaki
Тема Re: EXPLAIN BUFFERS
Дата
Msg-id 20091208134656.484D.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответ на Re: EXPLAIN BUFFERS  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> wrote:

> On Mon, Dec 7, 2009 at 11:09 PM, Greg Smith <greg@2ndquadrant.com> wrote:
> > (1) Blocks Shared: (hit=2 read=1641 written=0) Local: (hit=0 read=0
> > written=0) Temp: (read=1443 written=1443)

> I could live with the equals signs, but the use of parentheses seems
> weird and inconsistent with normal english usage (which permits
> parentheses as a means of making parenthetical comments).  (You can
> also put an entire sentence in parentheses.)  But you can't: (do
> this).

+1 for (1) personally, if we could think it is not in English but just
a symbol. I have another idea to make it alike with ANALYZE output.

(4) Blocks (shared hit=2 read=1641 ...) (local hit=0 ...) (temp read=0 ...)

Which is the best? I think it's a matter of preference. (0) 109 characters - Shared Blocks: hit 2 read 1641 wrote 0,
...(1) 105 characters - Blocks Shared: (hit=2 ... (2)  96 characters - Blocks Shared:hit=2 ... (3)  82 characters -
BlocksShared:(hit=2 ... (4)  82 characters - Blocks (shared hit=2 ...
 


BTW, I found text is a *bad* format because it requires much discussion ;)
We have a little choice in XML, JSON and YAML formats.

Regards,
---
Takahiro Itagaki
NTT Open Source Software Center




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

Предыдущее
От: 黄晓骋
Дата:
Сообщение: questions about concurrency control in Postgresql
Следующее
От: Greg Smith
Дата:
Сообщение: Re: EXPLAIN BUFFERS