2020-03-21 04:11:51 +00:00
|
|
|
# EngineName {#enginename}
|
2020-01-21 15:17:09 +00:00
|
|
|
|
2020-10-12 06:59:35 +00:00
|
|
|
- What the Database/Table engine does.
|
2020-03-21 04:11:51 +00:00
|
|
|
- Relations with other engines if they exist.
|
2020-01-21 15:17:09 +00:00
|
|
|
|
2020-10-12 06:59:35 +00:00
|
|
|
## Creating a Database {#creating-a-database}
|
|
|
|
``` sql
|
|
|
|
CREATE DATABASE ...
|
|
|
|
```
|
|
|
|
or
|
|
|
|
|
2020-03-21 04:11:51 +00:00
|
|
|
## Creating a Table {#creating-a-table}
|
2020-03-27 05:28:48 +00:00
|
|
|
``` sql
|
|
|
|
CREATE TABLE ...
|
|
|
|
```
|
2020-01-21 15:17:09 +00:00
|
|
|
|
|
|
|
**Engine Parameters**
|
|
|
|
|
2020-10-12 06:59:35 +00:00
|
|
|
**Query Clauses** (for Table engines only)
|
2020-01-21 15:17:09 +00:00
|
|
|
|
2020-10-12 06:59:35 +00:00
|
|
|
## Virtual columns {#virtual-columns} (for Table engines only)
|
2020-01-21 15:17:09 +00:00
|
|
|
|
2020-03-27 05:28:48 +00:00
|
|
|
List and virtual columns with description, if they exist.
|
2020-01-21 15:17:09 +00:00
|
|
|
|
2020-10-12 06:59:35 +00:00
|
|
|
## Data Types Support {#data_types-support} (for Database engines only)
|
|
|
|
|
|
|
|
| EngineName | ClickHouse |
|
|
|
|
|-----------------------|------------------------------------|
|
|
|
|
| NativeDataTypeName | [ClickHouseDataTypeName](link#) |
|
|
|
|
|
|
|
|
|
2020-03-21 04:11:51 +00:00
|
|
|
## Specifics and recommendations {#specifics-and-recommendations}
|
|
|
|
|
2020-01-21 15:17:09 +00:00
|
|
|
Algorithms
|
2020-03-27 05:28:48 +00:00
|
|
|
Specifics of read and write processes
|
2020-01-21 15:17:09 +00:00
|
|
|
Examples of tasks
|
|
|
|
Recommendations for usage
|
|
|
|
Specifics of data storage
|
|
|
|
|
2020-03-21 04:11:51 +00:00
|
|
|
## Usage Example {#usage-example}
|
2020-01-21 15:17:09 +00:00
|
|
|
|
2020-03-27 05:28:48 +00:00
|
|
|
The example must show usage and use cases. The following text contains the recommended parts of this section.
|
2020-01-21 15:17:09 +00:00
|
|
|
|
|
|
|
Input table:
|
|
|
|
|
2020-03-21 04:11:51 +00:00
|
|
|
``` text
|
2020-01-21 15:17:09 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Query:
|
|
|
|
|
2020-03-21 04:11:51 +00:00
|
|
|
``` sql
|
2020-01-21 15:17:09 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Result:
|
|
|
|
|
2020-03-21 04:11:51 +00:00
|
|
|
``` text
|
2020-01-21 15:17:09 +00:00
|
|
|
```
|
|
|
|
|
2020-03-27 05:28:48 +00:00
|
|
|
Follow up with any text to clarify the example.
|
2020-01-21 15:17:09 +00:00
|
|
|
|
2021-03-06 19:14:15 +00:00
|
|
|
**See Also**
|
2020-01-21 15:17:09 +00:00
|
|
|
|
2020-03-21 04:11:51 +00:00
|
|
|
- [link](#)
|