Re: Less-silly selectivity for JSONB matching operators

Поиск
Список
Период
Сортировка
От Alexey Bashtanov
Тема Re: Less-silly selectivity for JSONB matching operators
Дата
Msg-id a692a4d7-cc08-fe6a-dac0-625e292bf64d@imap.cc
обсуждение исходный текст
Ответ на Re: Less-silly selectivity for JSONB matching operators  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Quickly tested like this:

create table t(a jsonb);
insert into t select jsonb_object( array[(random() * 10)::int::text], 
'{" "}') from generate_series(1, 100000);
insert into t select jsonb_object( array[(random() * 10)::int::text], 
array[(random() * 1000)::int::text]) from generate_series(1, 100000);
explain analyze select * from t where a ? '1';
analyze t;
explain analyze select * from t where a ? '1';

Best, Alex



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

Предыдущее
От: Alexey Bashtanov
Дата:
Сообщение: Re: Less-silly selectivity for JSONB matching operators
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Less-silly selectivity for JSONB matching operators