Skip to content

Commit 2441be7

Browse files
pashandor789Pavel Ivanov
andauthored
[CBO] MaxDPHypDPTableSize threshold raised (#18102)
Co-authored-by: Pavel Ivanov <pudge1000-7@qavm-9f0570a4.qemu>
1 parent c47a041 commit 2441be7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ydb/library/yql/dq/opt/dq_opt_join_cost_based.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,10 @@ TExprBase DqOptimizeEquiJoinWithCosts(
544544
YQL_CLOG(TRACE, CoreDq) << str.str();
545545
}
546546

547-
joinTree = opt.JoinSearch(joinTree, hints);
547+
{
548+
YQL_PROFILE_SCOPE(TRACE, "CBO");
549+
joinTree = opt.JoinSearch(joinTree, hints);
550+
}
548551

549552
if (NYql::NLog::YqlLogger().NeedToLog(NYql::NLog::EComponent::CoreDq, NYql::NLog::ELevel::TRACE)) {
550553
std::stringstream str;

ydb/library/yql/providers/dq/common/yql_dq_settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ struct TDqSettings {
5858
static constexpr ETaskRunnerStats TaskRunnerStats = ETaskRunnerStats::Basic;
5959
static constexpr ESpillingEngine SpillingEngine = ESpillingEngine::Disable;
6060
static constexpr ui32 CostBasedOptimizationLevel = 4;
61-
static constexpr ui32 MaxDPHypDPTableSize = 40000U;
61+
static constexpr ui32 MaxDPHypDPTableSize = 95'000U;
6262
static constexpr ui64 MaxAttachmentsSize = 2_GB;
6363
static constexpr bool SplitStageOnDqReplicate = true;
6464
static constexpr ui64 EnableSpillingNodes = 0;

0 commit comments

Comments
 (0)