TiDB v8.5 Documentationgc_delete_range_done | | global_variables | | stats_buckets | | stats_extended | | stats_feedback | | stats_fm_sketch | | stats_histograms | | stats_history | | stats_meta | | stats_meta_history | | stats_table_locked TOPNs. • WITH NUM CMSKETCH DEPTH specifies the depth of the CM Sketch. • WITH NUM CMSKETCH WIDTH specifies the width of the CM Sketch. • WITH NUM SAMPLES specifies the number of samples. 2097 • WITH correspond to two different algo- rithms of collecting samples. See Histograms, Top-N and CMSketch (Count-Min Sketch) for detailed explanations. For SAMPLES/SAMPLERATE, see Improve collection performance. For0 码力 | 6730 页 | 111.36 MB | 10 月前3
TiDB v8.2 Documentationgc_delete_range_done | | global_variables | | stats_buckets | | stats_extended | | stats_feedback | | stats_fm_sketch | | stats_histograms | | stats_history | | stats_meta | | stats_meta_history | | stats_table_locked TOPNs. • WITH NUM CMSKETCH DEPTH specifies the depth of the CM Sketch. • WITH NUM CMSKETCH WIDTH specifies the width of the CM Sketch. • WITH NUM SAMPLES specifies the number of samples. 1673 • WITH correspond to two different algo- rithms of collecting samples. See Histograms, Top-N and CMSketch (Count-Min Sketch) for detailed explanations. For SAMPLES/SAMPLERATE, see Improve collection performance. For0 码力 | 6549 页 | 108.77 MB | 10 月前3
TiDB v8.3 Documentationgc_delete_range_done | | global_variables | | stats_buckets | | stats_extended | | stats_feedback | | stats_fm_sketch | | stats_histograms | | stats_history | | stats_meta | | stats_meta_history | | stats_table_locked TOPNs. • WITH NUM CMSKETCH DEPTH specifies the depth of the CM Sketch. • WITH NUM CMSKETCH WIDTH specifies the width of the CM Sketch. • WITH NUM SAMPLES specifies the number of samples. 1681 • WITH correspond to two different algo- rithms of collecting samples. See Histograms, Top-N and CMSketch (Count-Min Sketch) for detailed explanations. For SAMPLES/SAMPLERATE, see Improve collection performance. For0 码力 | 6606 页 | 109.48 MB | 10 月前3
TiDB v8.4 Documentationgc_delete_range_done | | global_variables | | stats_buckets | | stats_extended | | stats_feedback | | stats_fm_sketch | | stats_histograms | | stats_history | | stats_meta | | stats_meta_history | | stats_table_locked TOPNs. • WITH NUM CMSKETCH DEPTH specifies the depth of the CM Sketch. • WITH NUM CMSKETCH WIDTH specifies the width of the CM Sketch. • WITH NUM SAMPLES specifies the number of samples. 1794 • WITH correspond to two different algo- rithms of collecting samples. See Histograms, Top-N and CMSketch (Count-Min Sketch) for detailed explanations. For SAMPLES/SAMPLERATE, see Improve collection performance. For0 码力 | 6705 页 | 110.86 MB | 10 月前3
TiDB v8.1 Documentationgc_delete_range_done | | global_variables | | stats_buckets | | stats_extended | | stats_feedback | | stats_fm_sketch | | stats_histograms | | stats_history | | stats_meta | | stats_meta_history | | stats_table_locked TOPNs. • WITH NUM CMSKETCH DEPTH specifies the depth of the CM Sketch. • WITH NUM CMSKETCH WIDTH specifies the width of the CM Sketch. • WITH NUM SAMPLES specifies the number of samples. 1669 • WITH correspond to two different algo- rithms of collecting samples. See Histograms, Top-N and CMSketch (Count-Min Sketch) for detailed explanations. For SAMPLES/SAMPLERATE, see Improve collection performance. For0 码力 | 6479 页 | 108.61 MB | 10 月前3
TiDB中文技术文档优化器会根据统计信息来选择最优的执行计划。统计信息收集了表级别和列级别的信息,表的统计信息包括总 行数,以及修改的行数。列的统计信息包括不同值的数量,NULL 的数量,直方图,以及该列的 Count-Min Sketch 信息。 你可以通过执行 ANALYZE 语句来收集统计信息。 语法: 1. ANALYZE TABLE TableNameList 2. > 该语句会收集 TableNameList 可通过配置文件修改,其默认值是 0,即不开启此功能。 在查询语句执行时,TiDB 会以 feedback-probability 的概率收集反馈信息,并将其用于更新直方图和 Count- Min Sketch。 feedback-probability 可通过配置文件修改,其默认值是 0。 执行 ANALYZE 语句的时候,你可以通过一些参数来调整并发度,以控制对系统的影响。 目前 ANALYZE 器和执行器做了很多改进。 SQL 优化器 精简统计信息数据结构,减小内存占用 加快进程启动时加载统计信息速度 支持统计信息动态更新 [experimental] 优化代价模型,对代价估算更精准 使用 Count-Min Sketch 更精确地估算点查的代价 支持分析更复杂的条件,尽可能充分的使用索引 支持通过 STRAIGHT_JOIN 语法手动指定 Join 顺序 GROUP BY 子句为空时使用 Stream0 码力 | 444 页 | 4.89 MB | 6 月前3
TiDB v8.4 中文手册对现有表进行分区 Y Y Y Y Y N N N N N N N 2.3.8 统计信息 统计信息 8.4 8.3 8.2 8.1 7.5 7.1 6.5 6.1 5.4 5.3 5.2 5.1 CM-Sketch 默认关闭 默认关闭 默认关闭 默认关闭 默认关闭 默认关闭 默认关闭 默认关闭 默认关闭 默认关闭 Y Y 直方图 Y Y Y Y Y Y Y Y Y Y Y Y 扩展统计信息 E E E gc_delete_range_done | | global_variables | | stats_buckets | | stats_extended | | stats_feedback | | stats_fm_sketch | | stats_histograms | | stats_history | | stats_meta | | stats_meta_history | | stats_table_locked 用于指定生成直方图的桶数量上限。 • WITH NUM TOPN 用于指定生成的 TOPN 数量的上限。 • WITH NUM CMSKETCH DEPTH 用于指定 CM Sketch 的长。 • WITH NUM CMSKETCH WIDTH 用于指定 CM Sketch 的宽。 • WITH NUM SAMPLES 用于指定采样的数目。 • WITH FLOAT_NUM SAMPLERATE 用于指定采样率。0 码力 | 5072 页 | 104.05 MB | 10 月前3
TiDB v8.2 中文手册N 对现有表进行分区 Y Y Y N N N N N N N 2.3.8 统计信息 51 统计信息 8.2 8.1 7.5 7.1 6.5 6.1 5.4 5.3 5.2 5.1 CM-Sketch 默认关闭 默认关闭 默认关闭 默认关闭 默认关闭 默认关闭 默认关闭 默认关闭 Y Y 直方图 Y Y Y Y Y Y Y Y Y Y 扩展统计信息 E E E E E E E E E E gc_delete_range_done | | global_variables | | stats_buckets | | stats_extended | | stats_feedback | | stats_fm_sketch | | stats_histograms | | stats_history | | stats_meta | | stats_meta_history | | stats_table_locked 用于指定生成直方图的桶数量上限。 • WITH NUM TOPN 用于指定生成的 TOPN 数量的上限。 • WITH NUM CMSKETCH DEPTH 用于指定 CM Sketch 的长。 • WITH NUM CMSKETCH WIDTH 用于指定 CM Sketch 的宽。 • WITH NUM SAMPLES 用于指定采样的数目。 • WITH FLOAT_NUM SAMPLERATE 用于指定采样率。0 码力 | 4987 页 | 102.91 MB | 10 月前3
TiDB v8.5 中文手册对现有表进行分区 Y Y Y Y Y N N N N N N N 2.3.8 统计信息 统计信息 8.4 8.3 8.2 8.1 7.5 7.1 6.5 6.1 5.4 5.3 5.2 5.1 CM-Sketch 默认关闭 默认关闭 默认关闭 默认关闭 默认关闭 默认关闭 默认关闭 默认关闭 默认关闭 默认关闭 Y Y 直方图 Y Y Y Y Y Y Y Y Y Y Y Y 扩展统计信息 E E E gc_delete_range_done | | global_variables | | stats_buckets | | stats_extended | | stats_feedback | | stats_fm_sketch | | stats_histograms | | stats_history | | stats_meta | | stats_meta_history | | stats_table_locked 用于指定生成直方图的桶数量上限。 • WITH NUM TOPN 用于指定生成的 TOPN 数量的上限。 • WITH NUM CMSKETCH DEPTH 用于指定 CM Sketch 的长。 • WITH NUM CMSKETCH WIDTH 用于指定 CM Sketch 的宽。 • WITH NUM SAMPLES 用于指定采样的数目。 • WITH FLOAT_NUM SAMPLERATE 用于指定采样率。0 码力 | 5095 页 | 104.54 MB | 10 月前3
Applicative: The Forgotten Functional PatternPRODUCT FOR TUPLES Sketch of a recursive algorithm: Sketch of a recursive algorithm: 90CARTESIAN PRODUCT FOR TUPLES CARTESIAN PRODUCT FOR TUPLES Sketch of a recursive algorithm: Sketch of a recursive algorithm: into �rst and rest 90.1CARTESIAN PRODUCT FOR TUPLES CARTESIAN PRODUCT FOR TUPLES Sketch of a recursive algorithm: Sketch of a recursive algorithm: 1. Split the given tuples into �rst and rest 2. Let C product of the rest 90.2CARTESIAN PRODUCT FOR TUPLES CARTESIAN PRODUCT FOR TUPLES Sketch of a recursive algorithm: Sketch of a recursive algorithm: 1. Split the given tuples into �rst and rest 2. Let C0 码力 | 141 页 | 11.33 MB | 6 月前3
共 14 条
- 1
- 2













