[NOVICE] PostgreSQL BTree Index - Mailing list pgsql-novice

From Wei Shan
Subject [NOVICE] PostgreSQL BTree Index
Date
Msg-id CAFe9ZTpg1vUbU8vUJEqwTZr9XC8KhyyYTf0T=gLnTKd4x8Fwog@mail.gmail.com
Whole thread Raw
List pgsql-novice
Hi all,

How and when does PostgreSQL BTree node balancing? Does it hold a full tree lock? I'm assuming there will be an edge case in performance degradation where the right tree is very much longer than the left.

The split algorithm merely splits a node into 2 with the page is full, however I don't think it will resolve the problem of unbalanced Btree.

Thanks!

pgsql-novice by date:

Previous
From: Efraín Déctor
Date:
Subject: Re: [NOVICE] Server Restart Won't Load Certificate
Next
From: Michael Anderson
Date:
Subject: [NOVICE] [WAL Recovery: stuck recovering same log file forever]