ClickHouse/docs/en/roadmap.md

100 lines
3.0 KiB
Markdown
Raw Permalink Normal View History

# Roadmap
2018-02-13 14:10:19 +00:00
## Q1 2018
2018-02-13 14:10:19 +00:00
### New functionality
2018-03-25 02:04:22 +00:00
- Support for `UPDATE` and `DELETE`.
- Multidimensional and nested arrays.
It can look something like this:
2018-02-13 14:10:19 +00:00
```sql
CREATE TABLE t
(
x Array(Array(String)),
z Nested(
x Array(String),
y Nested(...))
)
ENGINE = MergeTree ORDER BY x
```
2018-02-13 14:10:19 +00:00
- External MySQL and ODBC tables.
2018-03-25 02:04:22 +00:00
External tables can be integrated into ClickHouse using external dictionaries. This new functionality is a convenient alternative to connecting external tables.
2018-02-13 14:10:19 +00:00
```sql
SELECT ...
FROM mysql('host:port', 'db', 'table', 'user', 'password')`
```
### Improvements
2018-03-25 02:04:22 +00:00
- Effective data copying between ClickHouse clusters.
2018-02-13 14:10:19 +00:00
2018-03-25 02:04:22 +00:00
Now you can copy data with the remote() function. For example: `
2018-02-13 14:10:19 +00:00
INSERT INTO t SELECT * FROM remote(...) `.
2018-03-25 02:04:22 +00:00
This operation will have improved performance.
2018-02-13 14:10:19 +00:00
- O_DIRECT for merges.
2018-03-25 02:04:22 +00:00
This will improve the performance of the OS cache and "hot" queries.
2018-02-13 14:10:19 +00:00
## Q2 2018
### New functionality
2018-03-25 02:04:22 +00:00
- UPDATE/DELETE conform to the EU GDPR.
- Protobuf and Parquet input and output formats.
- Creating dictionaries using DDL queries.
Currently, dictionaries that are part of the database schema are defined in external XML files. This is inconvenient and counter-intuitive. The new approach should fix it.
2018-02-13 14:10:19 +00:00
2018-03-25 02:04:22 +00:00
- Integration with LDAP.
2018-02-13 14:10:19 +00:00
- WITH ROLLUP and WITH CUBE for GROUP BY.
2018-03-25 02:04:22 +00:00
- Custom encoding and compression for each column individually.
2018-02-13 14:10:19 +00:00
2018-03-25 02:04:22 +00:00
As of now, ClickHouse supports LZ4 and ZSTD compression of columns, and compression settings are global (see the article [Compression in ClickHouse](https://www.altinity.com/blog/2017/11/21/compression-in-clickhouse)). Per-column compression and encoding will provide more efficient data storage, which in turn will speed up queries.
2018-02-13 14:10:19 +00:00
2018-03-25 02:04:22 +00:00
- Storing data on multiple disks on the same server.
This functionality will make it easier to extend the disk space, since different disk systems can be used for different databases or tables. Currently, users are forced to use symbolic links if the databases and tables must be stored on a different disk.
2018-02-13 14:10:19 +00:00
### Improvements
2018-03-25 02:04:22 +00:00
Many improvements and fixes are planned for the query execution system. For example:
2018-02-13 14:10:19 +00:00
2018-03-25 02:04:22 +00:00
- Using an index for `in (subquery)`.
2018-02-13 14:10:19 +00:00
2018-03-25 02:04:22 +00:00
The index is not used right now, which reduces performance.
2018-02-13 14:10:19 +00:00
2018-03-25 02:04:22 +00:00
- Passing predicates from `where` to subqueries, and passing predicates to views.
2018-02-13 14:10:19 +00:00
2018-03-25 02:04:22 +00:00
The predicates must be passed, since the view is changed by the subquery. Performance is still low for view filters, and views can't use the primary key of the original table, which makes views useless for large tables.
2018-02-13 14:10:19 +00:00
2018-03-25 02:04:22 +00:00
- Optimizing branching operations (ternary operator, if, multiIf).
2018-02-13 14:10:19 +00:00
2018-03-25 02:04:22 +00:00
ClickHouse currently performs all branches, even if they aren't necessary.
2018-02-13 14:10:19 +00:00
2018-03-25 02:04:22 +00:00
- Using a primary key for GROUP BY and ORDER BY.
2018-02-13 14:10:19 +00:00
2018-03-25 02:04:22 +00:00
This will speed up certain types of queries with partially sorted data.
2018-02-13 14:10:19 +00:00
## Q3-Q4 2018
2018-03-25 02:04:22 +00:00
We don't have any set plans yet, but the main projects will be:
2018-02-13 14:10:19 +00:00
2018-03-25 02:04:22 +00:00
- Resource pools for executing queries.
2018-02-13 14:10:19 +00:00
2018-03-25 02:04:22 +00:00
This will make load management more efficient.
2018-02-13 14:10:19 +00:00
- ANSI SQL JOIN syntax.
2018-03-25 02:04:22 +00:00
Improve ClickHouse compatibility with many SQL tools.