Search Postgresql Archives

Re: B-tree fan-out

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




In postgres, everything is done in pages, so how ever many keys fit in
a page. Bigs keys mean less. For integers you can fit an awful lot of
keys.

OK, interesting. Does that mean, that when a node containing only small values (e.g. integers) is split, then it gets an awful lot of child nodes?

In B-trees all non-leaf nodes have a bunch of pointers to its child
nodes. What is the size of such a pointer?
I imagine it's a page number, probably just a 32-bit integer.
OK, thanks a lot. Do you know if other database systems implement b-trees this way too? I.e. one page per node.

Thanks!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux