书栈网 · BookStack 本次搜索耗时 0.031 秒,为您找到 7749 个相关结果.
  • GROUP BY

    SCALAR GROUP BY HASH GROUP BY MERGE GROUP BY GROUP BY 算子主要用于在 SQL 中进行分组聚合计算操作。 用于对数据进行分组的算法有 HASH 算法和 MERGE 算法,因此根据算法可以将 GROUP BY 算子分为两种:HASH GROUP BY 和 MERGE GROUP BY。执行计划生成时...
  • 联接顺序

    在多表联接的场景中,优化器的一个很重要的任务是决定各个表之间的联接顺序(Join Order),因为不同的联接顺序会影响中间结果集的大小,进而影响到计划整体的执行代价。 为了减少执行计划的搜索空间和计划执行的内存占用,OceanBase 数据库优化器在生成联接顺序时主要考虑左深树的联接形式。下图展示了左深树、右深树和多支树的计划形状。 OceanB...
  • 联接顺序

    在多表联接的场景中,优化器的一个很重要的任务是决定各个表之间的联接顺序(Join Order),因为不同的联接顺序会影响中间结果集的大小,进而影响到计划整体的执行代价。 为了减少执行计划的搜索空间和计划执行的内存占用,OceanBase 数据库优化器在生成联接顺序时主要考虑左深树的联接形式。下图展示了左深树、右深树和多支树的计划形状。 OceanB...
  • NOT LIKE

    NOT LIKE Description Syntax Examples NOT LIKE Description The NOT LIKE operator is used in a WHERE clause to search for a specified pattern in a column. There are tw...
  • TABLE

    TABLE Synopsis Examples MySQL compatibility See also TABLE The TABLE statement can be used instead of SELECT * FROM when no aggregation or complex filtering is needed. S...
  • Explain Statements Using Aggregation

    Explain Statements Using Aggregation Example Hash Aggregation Explain Statements Using Aggregation The aggregation may be used in SQL, and the execution plan of the aggregate ...
  • UPDATE

    UPDATE Description Syntax Single-table Syntax Explanations Examples UPDATE Description The UPDATE statement is used to modify the existing records in a table. Sy...
  • 用 EXPLAIN 查看使用子查询的执行计划

    用 EXPLAIN 查看使用子查询的执行计划 Inner join(无 UNIQUE 约束的子查询) Inner join(有 UNIQUE 约束的子查询) Semi Join(关联查询) Anti Semi Join (NOT IN 子查询) 用 EXPLAIN 查看使用子查询的执行计划 TiDB 会执行多种子查询相关的优化 ,以提...
  • <>,!=

    <>,!= Description Syntax Examples <>,!= Description The <>,!= operator returns true only if the left-hand operand is not equal to the right-hand operand. Syntax >...
  • >=

    >= Description Syntax Examples >= Description The >= operator returns true only if the left-hand operand is greater than or equal to the right-hand operand. Syntax...