Apache ShardingSphere 5.0.0-alpha Document. . . . . . . . . . . . . . . . . . . . . . 295 7.9 In SQLSever and PostgreSQL, why does the aggregation column without alias throw ex‐ ception? . . . . . . . . . . . . . . . . . . . . . . . . . . . extract the parsing context, which can include tables, options, ordering items, grouping items, aggregation functions, pagination information, query conditions and placeholders that may be revised. Query order_id ORDER BY user_id, order_item_id; Another situation of column derivation is using AVG aggregation function. In distributed situations, it is not right to calculate the average value with avg10 码力 | 311 页 | 2.09 MB | 1 年前3
TiDB v5.1 Documentationprocessing and real-time data analysis in the same system, which greatly saves the cost. • Data aggregation and secondary processing scenarios The application data of most companies are scattered in different Information functions Y Y Y Y JSON functions Experimental Experimental Experimental Experimental Aggregation functions Y Y Y Y Window functions Y Y Y Y Miscellaneous functions Y Y Y Y Operators Y Y Y Y the following SQL statement to query SQL statements with different execution plans. select count(distinct plan_digest) as count, digest, min(query) from cluster_slow_query group by digest having count0 码力 | 2745 页 | 47.65 MB | 1 年前3
TiDB v5.3 Documentationprocessing and real-time data analysis in the same system, which greatly saves the cost. • Data aggregation and secondary processing scenarios The application data of most companies are scattered in different MICROSECOND(), MINUTE(), SEC- OND(), SYSDATE() * Type conversion function: CAST(time, real) * Aggregation functions: GROUP_CONCAT(), SUM(enum) – Support 512-bit SIMD – Enhance the cleanup algorithm for The wrong execution plan is caused by the shallow copy of schema columns when pushing down the aggregation operators on partitioned tables #27797 #26554 – Fix the issue that plan cache cannot detect changes0 码力 | 2996 页 | 49.30 MB | 1 年前3
TiDB v5.2 Documentationprocessing and real-time data analysis in the same system, which greatly saves the cost. • Data aggregation and secondary processing scenarios The application data of most companies are scattered in different INET_ATON(), INET6_ATON, INET6_NTOA() – Support Shuffled Hash Join calculation and Shuffled Hash Aggregation calculation in the MPP mode when a new collation is enabled – Optimize basic code to improve MPP example, {d '2020-01-01'}) cannot be used as the expression #25531 – Fix the issue that SELECT DISTINCT converted to Batch Get causes incorrect results #25320 – Fix the issue that backing off queries0 码力 | 2848 页 | 47.90 MB | 1 年前3
peewee Documentation Release 2.10.2necessary to wrap your query and apply a count to the rows of the inner query (such as when using DISTINCT or GROUP BY). Peewee will usually do this automatically, but in some cases you may need to manually retrieve scalar values by calling Query.scalar(). For instance: >>> PageView.select(fn.Count(fn.Distinct(PageView.url))).scalar() 100 You can retrieve multiple scalar values by passing as_tuple=True: isolation level) aggregate([name=None[, num_params=-1]]) Class-decorator for registering custom aggregation functions. name – string name for the aggregate, defaults to the name of the class. num_params0 码力 | 275 页 | 276.96 KB | 1 年前3
peewee Documentation
Release 2.10.2necessary to wrap your query and apply a count to the rows of the inner query (such as when using DISTINCT or GROUP BY). Peewee will usually do this automatically, but in some cases you may need to manually retrieve scalar values by calling Query.scalar(). For instance: >>> PageView.select(fn.Count(fn.Distinct(PageView.url))).scalar() 100 You can retrieve multiple scalar values by passing as_tuple=True: Release 2.10.2 aggregate([name=None[, num_params=-1]]) Class-decorator for registering custom aggregation functions. Parameters • name – string name for the aggregate, defaults to the name of the class0 码力 | 221 页 | 844.06 KB | 1 年前3
peewee Documentation Release 0.9.7complex of the 4 query classes available in peewee. It supports JOIN operations on other tables, aggregation via GROUP BY and HAVING clauses, ordering via ORDER BY, and can be iterated and sliced to return annotate(related_model, aggregation=None) Parameters: related_model – related Model on which to perform aggregation, must be linked by ForeignKeyField. aggregation – the type of aggregation to use, e.g. Max('pub_date' Annotate a query with an aggregation performed on a related model, for example, “get a list of blogs with the number of entries on each”: >>> Blog.select().annotate(Entry) if aggregation is None, it will default0 码力 | 78 页 | 143.68 KB | 1 年前3
TiDB v5.4 Documentationprocessing and real-time data analysis in the same system, which greatly saves the cost. • Data aggregation and secondary processing scenarios The application data of most companies are scattered in different JSON functions Experimental Experimental Experimental Experimental Experimental Experimental Aggregation functions Y Y Y Y Y Y Window functions Y Y Y Y Y Y Miscellaneous functions Y Y Y Y Y Y Operators the following SQL statement to query SQL statements with different execution plans. select count(distinct plan_digest) as count, digest, min(query) from cluster_slow_query group by digest having count0 码力 | 3650 页 | 52.72 MB | 1 年前3
TiDB v8.5 Documentationtransactional processing and real-time data analysis in the same system, which greatly saves cost. • Data aggregation and secondary processing scenarios 41 TiDB is suitable for companies that need to aggregate scattered statements, aggregation by SQL cannot effectively identify issues. Starting from v8.4.0, you can choose to aggregate CPU time By TABLE or By DB. In 50 scenarios with multiple systems, the new aggregation method ing from v8.4.0, Index Join is sup- ported by default when the inner table has Selection �→ , Aggregation �→ , or Projection �→ opera- tors on it. 57 Variable name Change type Description tidb_ �→ opt_0 码力 | 6730 页 | 111.36 MB | 10 月前3
TiDB v8.4 Documentationtransactional processing and real-time data analysis in the same system, which greatly saves cost. • Data aggregation and secondary processing scenarios 36 TiDB is suitable for companies that need to aggregate scattered statements, aggregation by SQL cannot effectively identify issues. Starting from v8.4.0, you can choose to aggregate CPU time By TABLE or By DB. In 45 scenarios with multiple systems, the new aggregation method ing from v8.4.0, Index Join is sup- ported by default when the inner table has Selection �→ , Aggregation �→ , or Projection �→ opera- tors on it. 52 Variable name Change type Description tidb_ �→ opt_0 码力 | 6705 页 | 110.86 MB | 10 月前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













