Re: contrib/rtree_gist into core system?

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: contrib/rtree_gist into core system?
Дата
Msg-id 873br21e4r.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: contrib/rtree_gist into core system?  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers
Teodor Sigaev <teodor@sigaev.ru> writes:

> 1. In your meaning, btree has bad split algorithm too. Look at _bt_compare, if
> first keys on page are unique the the later keys will not be compared ;)

I'm confused now. I was under the impression that gist didn't look at
subsequent columns if the first column was identical.

Maybe I got it backwards and it's insert that fails to look at subsequent
columns but page split handles it ok? So if you insert lots of tuples with
identical first columns the page will be split intelligently but then
subsequent inserts will be distributed essentially randomly between the two
resulting pages. 

-- 
greg



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: [PATCHES] Users/Groups -> Roles
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Role syntax (or, SQL99 versus sanity)