Re: CLUSTER and indisclustered

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: CLUSTER and indisclustered
Дата
Msg-id 1028695589.2133.11.camel@rh72.home.ee
обсуждение исходный текст
Ответ на Re: CLUSTER and indisclustered  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: CLUSTER and indisclustered
Список pgsql-hackers
On Wed, 2002-08-07 at 10:12, Tom Lane wrote:
> Curt Sampson <cjs@cynic.net> writes:
> > On Wed, 7 Aug 2002, Tom Lane wrote:
> >> Also, the main downside of this approach is that the bitmap could
> >> get large --- but you could have some logic that causes you to fall
> >> back to plain sequential scan if you get too many index hits.
> 
> > Well, what I was thinking of, should the list of TIDs to fetch get too
> > long, was just to break it down in to chunks.
> 
> But then you lose the possibility of combining multiple indexes through
> bitmap AND/OR steps, which seems quite interesting to me.  If you've
> visited only a part of each index then you can't apply that concept.

When the tuples are small relative to pagesize, you may get some
"compression" by saving just pages and not the actual tids in the the
bitmap.

-------------
Hannu


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

Предыдущее
От: selkovjr@xnet.com
Дата:
Сообщение: Re: HASH: Out of overflow pages. Out of luck
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: Open 7.3 items