Re: KVP table vs. hstore - hstore performance (Was: Postgres NoSQL emulation)

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: KVP table vs. hstore - hstore performance (Was: Postgres NoSQL emulation)
Дата
Msg-id 4DD06EF3.7030003@postnewspapers.com.au
обсуждение исходный текст
Ответ на KVP table vs. hstore - hstore performance (Was: Postgres NoSQL emulation)  (Stefan Keller <sfkeller@gmail.com>)
Список pgsql-performance
On 14/05/11 18:10, Stefan Keller wrote:
> Hi,
>
> I am conducting a benchmark to compare KVP table vs. hstore and got
> bad hstore performance results when the no. of records is greater than
> about 500'000.
>
> CREATE TABLE kvp ( id SERIAL PRIMARY KEY, key text NOT NULL, value text );
> -- with index on key
> CREATE TABLE myhstore ( id SERIAL PRIMARY KEY, obj hstore NOT NULL );
> -- with GIST index on obj
>
> Does anyone have experience with that?

What are your queries?

What does EXPLAIN ANALYZE report on those queries?

Did you ANALYZE your tables after populating them?

--
Craig Ringer

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

Предыдущее
От: Dan Birken
Дата:
Сообщение: Re: slow loop inserts?
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: reducing random_page_cost from 4 to 2 to force index scan