Re: hash index improving v3

Поиск
Список
Период
Сортировка
От Alex Hunsaker
Тема Re: hash index improving v3
Дата
Msg-id 34d269d40809091945n2cebde54qe974aeba00986564@mail.gmail.com
обсуждение исходный текст
Ответ на Re: hash index improving v3  ("Alex Hunsaker" <badalex@gmail.com>)
Список pgsql-patches
On Tue, Sep 9, 2008 at 7:23 PM, Alex Hunsaker <badalex@gmail.com> wrote:
> create table test_hash(num int8);
> insert into test_hash (num) select generate_series(1, 2000000);
> create index test_hash_num_idx on test_hash (num);
>
> pgbench -c1 -n -t10000 -f bench_index.sql
> cvs head: tps = 3161.500511
> v5:           tps = 7248.808839

Whoa... Ignore those numbers!

It would bee nice to actually test with a hash index... and my cvs
head atm had cassert on.. sorry about that.

create table test_hash(num int8);
insert into test_hash (num) select generate_series(1, 2000000);
create index test_hash_num_idx on test_hash using hash (num);

pgbench -c1 -n -t100000 -f bench_index.sql
cvs head: tps = 7345.69432
v5:           tps = 7526.290462

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

Предыдущее
От: "Alex Hunsaker"
Дата:
Сообщение: Re: hash index improving v3
Следующее
От: "Alex Hunsaker"
Дата:
Сообщение: Re: hash index improving v3