Re: On-disk bitmap index implementation

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: On-disk bitmap index implementation
Дата
Msg-id 45925A00.1040403@enterprisedb.com
обсуждение исходный текст
Ответ на On-disk bitmap index implementation  (Gavin Sherry <swm@linuxworld.com.au>)
Ответы Re: On-disk bitmap index implementation  (Gavin Sherry <swm@linuxworld.com.au>)
Список pgsql-patches
Gavin Sherry wrote:
> There are still some things Jie and I have not gotten to yet:
> ...
> o Test WAL replay more thoroughly.

Found one WAL related bug:

postgres=# CREATE TABLE test (i int);
CREATE TABLE
postgres=# INSERT INTO test SELECT a FROM generate_series(1,10) a;
INSERT 0 10
postgres=# CREATE INDEX mdx ON test USING bitmap(i);
CREATE INDEX
postgres=# INSERT INTO test VALUES (11);
INSERT 0 1
postgres=# \q

killall -9 postgres, and restart. Redo fails with:

PANIC:  bm_insert_redo: LOV item is not inserted in pos 2(requested 12)
CONTEXT:  xlog redo insert a new LOV item: rel 1663/10817/16388

I haven't dug deeper yet.

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: [HACKERS] Patch(es) to expose n_live_tuples and
Следующее
От: Gavin Sherry
Дата:
Сообщение: Re: On-disk bitmap index implementation