Re: SQL/JSON: JSON_TABLE

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: SQL/JSON: JSON_TABLE
Дата
Msg-id
20220406165930.675nhhmudfehrfh6@alap3.anarazel.de
Ответ на
Re: SQL/JSON: JSON_TABLE (Andrew Dunstan)
Список
Дерево обсуждения
SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Dmitry Dolgov <9erthalion6@gmail.com>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Robert Haas <robertmhaas@gmail.com>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Alvaro Herrera <alvherre@2ndquadrant.com>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL/JSON: JSON_TABLE Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL/JSON: JSON_TABLE Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL/JSON: JSON_TABLE Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL/JSON: JSON_TABLE Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON: JSON_TABLE Justin Pryzby <pryzby@telsasoft.com>
Re: SQL/JSON: JSON_TABLE Pavel Stehule <pavel.stehule@gmail.com>
Hi,

On 2022-04-06 11:50:11 -0400, Andrew Dunstan wrote:
> It does work, but Tom prefers not to have the test at all, so I'll just
> rip it out.

If I understand correctly the reason a large table is needed is to test
parallelism, right? Wouldn't the better fix be to just tweak the parallelism
settings for that table? See select_parallel.sql:

-- encourage use of parallel plans
set parallel_setup_cost=0;
set parallel_tuple_cost=0;
set min_parallel_table_scan_size=0;
set max_parallel_workers_per_gather=4;

might be worth also setting
set parallel_leader_participation = off;

to avoid the leader processing everything before workers have even started up.

Greetings,

Andres Freund


В списке pgsql-hackers по дате отправления
От: Andres Freund
Дата:
Сообщение: Re: [PATCH] pg_stat_toast
От: Andres Freund
Дата:
FAQ