Re: hash index improving v3
| От | Alex Hunsaker |
|---|---|
| Тема | Re: hash index improving v3 |
| Дата | |
| Msg-id | 34d269d40809050912u33f2afc8mb90e316bc465136e@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: hash index improving v3 ("Alex Hunsaker" <badalex@gmail.com>) |
| Ответы |
Re: hash index improving v3
|
| Список | pgsql-patches |
On Thu, Sep 4, 2008 at 9:48 PM, Alex Hunsaker <badalex@gmail.com> wrote:
> (obviously on a 64 bit machine)
> int main(void)
> {
> unsigned long y = 0;
> unsigned cnt = 0;
>
> printf("insert into test_hash (num) values ");
>
> //while(cnt != LONG_MAX/UINT_MAX)
> while(cnt < 10000000)
> {
> y += UINT_MAX;
>
> printf("(%ld), ", y);
>
> cnt++;
> }
>
> printf("(0);\n");
>
> }
Argh sorry I must have been smoking something yesterday thats supposed
to be y+= UINT_MAX + 1 so the benchmarking I did was worthless...
running again with the right values....
В списке pgsql-patches по дате отправления: