Re: Performance (was: The New Slashdot Setup (includes MySql server))

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: Performance (was: The New Slashdot Setup (includes MySql server))
Дата
Msg-id 39252180.92C646F6@tpf.co.jp
обсуждение исходный текст
Ответ на Re: The New Slashdot Setup (includes MySql server)  (The Hermit Hacker <scrappy@hub.org>)
Ответы Re: Performance (was: The New Slashdot Setup (includes MySql server))  ("Matthias Urlichs" <smurf@noris.net>)
Список pgsql-hackers
Matthias Urlichs wrote:

> Hi,
>
> Chris:
> > Matthias Urlichs wrote:
> >
> > > Nonono, the 1000 read() calls are triggered by a simple INSERT or UPDATE
> > > call. They actually scan the pg_index table of the benchmark database.
> >
> > Does this only happen on the first call to INSERT/UPDATE after
> > connecting to the database, or does it happen with all subsequent calls
> > too?
> >
> All of them. Whatever the server is looking up here, it's _not_ cached.
>

Maybe shared buffer isn't so large as to keep all the(4.1M) pg_index pages.
So it would read pages from disk every time,
Unfortunately pg_index has no index to scan the index entries of a relation now.

However why is pg_index so large ?

Regards.

Hiroshi Inoue
Inoue@tpf.co.jp




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

Предыдущее
От: Karel Zak
Дата:
Сообщение: malloc() in Dllist
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Re: [SQL] Foreign keys breaks tables permissions