EXPLAIN (COSTS false) SELECT * FROM s1.t1;
LOG: pg_hint_plan:
used hint:
-not used hint:
Parallel(t1 10 soft)
+not used hint:
duplication hint:
error hint:
EXPLAIN (COSTS false) SELECT * FROM s1.t1;
LOG: pg_hint_plan:
used hint:
-not used hint:
Parallel(t1 10 soft)
+not used hint:
duplication hint:
error hint:
EXPLAIN (COSTS false) SELECT * FROM s1.t1;
LOG: pg_hint_plan:
used hint:
-not used hint:
Parallel(t1 10 hard)
+not used hint:
duplication hint:
error hint:
EXPLAIN (COSTS false) SELECT * FROM p1;
LOG: pg_hint_plan:
used hint:
-not used hint:
Parallel(p1 10 soft)
+not used hint:
duplication hint:
error hint:
EXPLAIN (COSTS false) SELECT * FROM p1;
LOG: pg_hint_plan:
used hint:
-not used hint:
Parallel(p1 10 hard)
+not used hint:
duplication hint:
error hint:
EXPLAIN (COSTS false) SELECT * FROM p1_c1 join p2_c1 on p1_c1.id = p2_c1.id;
LOG: pg_hint_plan:
used hint:
-not used hint:
Parallel(p1_c1 10 hard)
+not used hint:
duplication hint:
error hint:
EXPLAIN (COSTS false) SELECT * FROM p1_c1 join p2_c1 on p1_c1.id = p2_c1.id;
LOG: pg_hint_plan:
used hint:
-not used hint:
Parallel(p2_c1 10 hard)
+not used hint:
duplication hint:
error hint:
EXPLAIN (COSTS false) SELECT * FROM p1_c1 join p2_c1 on p1_c1.id = p2_c1.id;
LOG: pg_hint_plan:
used hint:
-not used hint:
Parallel(p1_c1 10 hard)
Parallel(p2_c1 10 hard)
+not used hint:
duplication hint:
error hint:
EXPLAIN (COSTS false) SELECT * FROM p1 join p2 on p1.id = p2.id;
LOG: pg_hint_plan:
used hint:
-not used hint:
Parallel(p1 10 soft)
+not used hint:
duplication hint:
error hint:
EXPLAIN (COSTS false) SELECT * FROM p1 join p2 on p1.id = p2.id;
LOG: pg_hint_plan:
used hint:
-not used hint:
Parallel(p2 10 hard)
+not used hint:
duplication hint:
error hint:
EXPLAIN (COSTS false) SELECT * FROM p1 join p2 on p1.id = p2.id;
LOG: pg_hint_plan:
used hint:
-not used hint:
Parallel(p1 5 hard)
Parallel(p2 10 hard)
+not used hint:
duplication hint:
error hint:
EXPLAIN (COSTS false) SELECT * FROM p1;
LOG: pg_hint_plan:
used hint:
-not used hint:
Parallel(p1 0 hard)
+not used hint:
duplication hint:
error hint:
setup_parallel_plan_enfocement(ParallelHint *hint, HintState *state)
{
if (hint)
+ {
+ hint->base.state = HINT_STATE_USED;
set_config_int32_option("max_parallel_workers_per_gather",
hint->nworkers, state->context);
+ }
else
set_config_int32_option("max_parallel_workers_per_gather",
state->init_nworkers, state->context);