Skip to content

Commit

Permalink
revised cost calculation of GpuJoin
Browse files Browse the repository at this point in the history
issue related to heterodb#602
  • Loading branch information
kaigai committed Feb 27, 2024
1 parent c312bba commit 909f4ba
Show file tree
Hide file tree
Showing 7 changed files with 312 additions and 298 deletions.
6 changes: 3 additions & 3 deletions src/executor.c
Original file line number Diff line number Diff line change
Expand Up @@ -2293,7 +2293,7 @@ pgstromExplainTaskState(CustomScanState *node,
{
appendStringInfo(&buf, " [rows: %.0f -> %.0f]",
pp_info->scan_tuples,
pp_info->scan_rows);
pp_info->scan_nrows);
}
else
{
Expand All @@ -2303,7 +2303,7 @@ pgstromExplainTaskState(CustomScanState *node,
prev_ntuples = pg_atomic_read_u64(&ps_state->source_ntuples_raw);
appendStringInfo(&buf, " [plan: %.0f -> %.0f, exec: %lu -> %lu]",
pp_info->scan_tuples,
pp_info->scan_rows,
pp_info->scan_nrows,
prev_ntuples,
stat_ntuples);
}
Expand All @@ -2312,7 +2312,7 @@ pgstromExplainTaskState(CustomScanState *node,
}

/* xPU JOIN */
ntuples = pp_info->scan_rows;
ntuples = pp_info->scan_nrows;
for (int i=0; i < pp_info->num_rels; i++)
{
pgstromPlanInnerInfo *pp_inner = &pp_info->inners[i];
Expand Down
Loading

0 comments on commit 909f4ba

Please sign in to comment.