online estimate percent place holder
This commit is contained in:
parent
74b7683448
commit
070445223b
@ -141,7 +141,8 @@ ObPhysicalPlan::ObPhysicalPlan(MemoryContext &mem_context /* = CURRENT_CONTEXT *
|
||||
mview_ids_(&allocator_),
|
||||
enable_inc_direct_load_(false),
|
||||
enable_replace_(false),
|
||||
insert_overwrite_(false)
|
||||
insert_overwrite_(false),
|
||||
online_sample_percent_(1.)
|
||||
{
|
||||
}
|
||||
|
||||
@ -242,6 +243,7 @@ void ObPhysicalPlan::reset()
|
||||
enable_inc_direct_load_ = false;
|
||||
enable_replace_ = false;
|
||||
insert_overwrite_ = false;
|
||||
online_sample_percent_ = 1.;
|
||||
}
|
||||
void ObPhysicalPlan::destroy()
|
||||
{
|
||||
@ -815,7 +817,8 @@ OB_SERIALIZE_MEMBER(ObPhysicalPlan,
|
||||
enable_inc_direct_load_,
|
||||
enable_replace_,
|
||||
immediate_refresh_external_table_ids_,
|
||||
insert_overwrite_);
|
||||
insert_overwrite_,
|
||||
online_sample_percent_);
|
||||
|
||||
int ObPhysicalPlan::set_table_locations(const ObTablePartitionInfoArray &infos,
|
||||
ObSchemaGetterGuard &schema_guard)
|
||||
|
@ -379,6 +379,8 @@ public:
|
||||
{
|
||||
enable_replace_ = enable_replace;
|
||||
}
|
||||
inline double get_online_sample_percent() const { return online_sample_percent_; }
|
||||
inline void set_online_sample_percent(double v) { online_sample_percent_ = v; }
|
||||
|
||||
public:
|
||||
int inc_concurrent_num();
|
||||
@ -705,6 +707,7 @@ private:
|
||||
bool enable_inc_direct_load_; // for incremental direct load
|
||||
bool enable_replace_; // for incremental direct load
|
||||
bool insert_overwrite_; // for insert overwrite
|
||||
double online_sample_percent_; // for incremental direct load
|
||||
};
|
||||
|
||||
inline void ObPhysicalPlan::set_affected_last_insert_id(bool affected_last_insert_id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user