pgsql: Improve performance of find_all_inheritors()

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема pgsql: Improve performance of find_all_inheritors()
Дата
Msg-id E1csXBn-0008T5-D9@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve performance of find_all_inheritors()

Previous coding uses three nested loops which obviously were a pain for
large number of table's children. Patch replaces inner loop with
a hashmap.

Author: Aleksander Alekseev
Reviewed-by: me

https://commitfest.postgresql.org/13/1058/

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/827d6f977940952ebef4bd21fb0f97be4e20c0c4

Modified Files
--------------
src/backend/catalog/pg_inherits.c | 58 +++++++++++++++++++++++++++++----------
1 file changed, 44 insertions(+), 14 deletions(-)


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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Allow vacuums to report oldestxmin
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fix thinko in estimate_num_groups