Re: Mistake in freespace/README?

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: Mistake in freespace/README?
Дата
Msg-id CAJ7c6TNtvJhU3LNFW2fVB=7zNOzLD=AvA7FJuSz__YSHV4=o+g@mail.gmail.com
обсуждение исходный текст
Ответ на Mistake in freespace/README?  (Aleksander Alekseev <aleksander@timescale.com>)
Список pgsql-hackers
Hi,

> Hopefully I didn't miss or misunderstood anything.

And for sure I did. Particularly the fact that the tree inside the FSM
page is not a perfect binary tree:

"""
       0
   1       2
 3   4   5   6
7 8 9 A B
"""

So there are 13 levels and approximately 4K slots per FSM page after all:

```
>>> 8*1024-24-4 - sum([pow(2,n) for n in range(0,12) ])
4069
```

-- 
Best regards,
Aleksander Alekseev



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

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Mistake in freespace/README?
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: The order of queues in row lock is changed (not FIFO)