Skip to content

Commit

Permalink
Update altinity-kb-final-clause-speed.md
Browse files Browse the repository at this point in the history
Light ORDER BY
  • Loading branch information
BorisTyshkevich authored Oct 3, 2024
1 parent 651d9de commit f1610fe
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: >
---
`SELECT * FROM table FINAL`

# History
### History

* Before ClickHouse® 20.5 - always executed in a single thread and slow.
* Since 20.5 - final can be parallel, see [https://github.com/ClickHouse/ClickHouse/pull/10463](https://github.com/ClickHouse/ClickHouse/pull/10463)
Expand All @@ -21,7 +21,7 @@ description: >

See [https://github.com/ClickHouse/ClickHouse/pull/15938](https://github.com/ClickHouse/ClickHouse/pull/15938) and [https://github.com/ClickHouse/ClickHouse/issues/11722](https://github.com/ClickHouse/ClickHouse/issues/11722)

# Partitioning
### Partitioning

Right partition design could speed up FINAL processing.

Expand Down Expand Up @@ -93,7 +93,7 @@ SELECT count() FROM repl_tbl FINAL WHERE NOT ignore(*)

```

# light ORDER BY
### Light ORDER BY

All columns specified in ORDER BY will be read during FINAL processing. Use fewer columns and lighter column types.

Expand Down

0 comments on commit f1610fe

Please sign in to comment.