Re: [HACKERS] Sequential scan speed, mmap, disk i/o

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Sequential scan speed, mmap, disk i/o
Дата
Msg-id 199805141454.KAA09189@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Sequential scan speed, mmap, disk i/o  (dg@illustra.com (David Gould))
Ответы Re: [HACKERS] Sequential scan speed, mmap, disk i/o  (dg@illustra.com (David Gould))
Список pgsql-hackers
> Very interesting. Is it possible to get the schema, the query, and a
> a sample of the data or a generator program for the data? I am quite surprised
> to see us do so well, I would have guess that the per row overhead would
> have us down far below wc.

Sure.

    create table test (x1 int, x2 int, x3 char(10), x4 varchar(50));
    insert into test values (3, 8, 'asdf','asdf');

    insert into test select * from test;  <- continue until test is large

    select * from test where x1 = 23423; <- this is what I timed


--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Sequential scan speed, mmap, disk i/o
Следующее
От: Michal Mosiewicz
Дата:
Сообщение: Re: [HACKERS] Sequential scan speed, mmap, disk i/o