You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/about-us/cloud.md
+1-9Lines changed: 1 addition & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,18 +21,10 @@ Some of the benefits of using ClickHouse Cloud are described below:
21
21
-**Total cost of ownership**: Best price / performance ratio and low administrative overhead.
22
22
-**Broad ecosystem**: Bring your favorite data connectors, visualization tools, SQL and language clients with you.
23
23
24
-
You can see a walkthrough of how to get started in the video below:
25
-
26
-
<divclass='vimeo-container'>
27
-
28
-
<iframewidth="640"height="360"src="https://www.youtube.com/embed/uWNY0GLUkqc?si=xzj59FEuNxRY7wAb"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"referrerpolicy="strict-origin-when-cross-origin"allowfullscreen></iframe>
29
-
30
-
</div>
31
-
32
24
### What version of ClickHouse does ClickHouse Cloud use?
33
25
34
26
Clickhouse Cloud continuously upgrades your service to a newer version. After publishing a core database version in the open source, we do additional validation in our cloud staging environment, which typically takes 6-8 weeks before rolling out to production. The rollout is phased out by cloud service provider, service type, and region.
35
27
36
-
We offer a "Fast" Release Channel for subscribing to updates ahead of the regular release schedule. Access to early upgrades is recommended only for non-production environments and can be requested by logging a support ticket.
28
+
We offer a "Fast" Release Channel for subscribing to updates ahead of the regular release schedule. For more details, see ["Fast Release Channel"](../cloud/manage/upgrades.md/#fast-release-channel-early-upgrades).
37
29
38
30
If you rely on functionality in the earlier version, you can, in some cases, revert to the previous behavior using your service's compatibility setting.
Copy file name to clipboardExpand all lines: docs/en/cloud/get-started/cloud-quick-start.md
+20-15Lines changed: 20 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,7 @@ You can upload data using the following methods:
130
130
131
131
### Add data using the SQL Console
132
132
133
-
Like most database management systems, ClickHouse logically groups tables into **databases**. Use the `CREATE DATABASE` command to create a new database in ClickHouse:
133
+
Like most database management systems, ClickHouse logically groups tables into **databases**. Use the [`CREATE DATABASE`](../../sql-reference/statements/create/database.md) command to create a new database in ClickHouse:
134
134
135
135
```sql
136
136
CREATEDATABASEIF NOT EXISTS helloworld
@@ -150,20 +150,20 @@ ENGINE = MergeTree()
150
150
PRIMARY KEY (user_id, timestamp)
151
151
```
152
152
153
-
In the example above, `my_first_table` is a MergeTree table with four columns:
153
+
In the example above, `my_first_table` is a [`MergeTree`](../../engines/table-engines/mergetree-family/mergetree.md) table with four columns:
154
154
155
-
-`user_id`: a 32-bit unsigned integer
156
-
-`message`: a String data type, which replaces types like VARCHAR, BLOB, CLOB and others from other database systems
157
-
-`timestamp`: a DateTime value, which represents an instant in time
158
-
-`metric`: a 32-bit floating point number
155
+
-`user_id`: a 32-bit unsigned integer ([UInt32](../../sql-reference/data-types/int-uint.md))
156
+
-`message`: a [String](../../sql-reference/data-types/string.md) data type, which replaces types like `VARCHAR`, `BLOB`, `CLOB` and others from other database systems
157
+
-`timestamp`: a [DateTime](../../sql-reference/data-types/datetime.md) value, which represents an instant in time
158
+
-`metric`: a 32-bit floating point number ([Float32](../../sql-reference/data-types/float.md))
159
159
160
-
:::note table engines
161
-
The table engine determines:
162
-
- How and where the data is stored
160
+
:::note Table engines
161
+
Table engines determine:
162
+
- How and where data is stored
163
163
- Which queries are supported
164
164
- Whether or not the data is replicated
165
-
166
-
There are many engines to choose from, but for a simple table on a single-node ClickHouse server, [MergeTree](/en/engines/table-engines/mergetree-family/mergetree.md) is your likely choice.
165
+
<br/>
166
+
There are many table engines to choose from, but for a simple table on a single-node ClickHouse server, [`MergeTree`](/en/engines/table-engines/mergetree-family/mergetree.md) is your likely choice.
167
167
:::
168
168
169
169
#### A Brief Intro to Primary Keys
@@ -184,9 +184,14 @@ then the key becomes the tuple specified in the `ORDER BY` clause. If you specif
184
184
The primary key is also the sorting key, which is a tuple of `(user_id, timestamp)`. Therefore, the data stored in each
185
185
column file will be sorted by `user_id`, then `timestamp`.
186
186
187
+
For a deep dive into core ClickHouse concepts, see ["Core Concepts"](../../managing-data/core-concepts/index.md).
188
+
189
+
## 4. Insert Data
190
+
187
191
#### Insert data into your table
188
192
189
-
You can use the familiar `INSERT INTO TABLE` command with ClickHouse, but it is important to understand that each insert into a `MergeTree` table causes a **part** to be created in storage.
193
+
194
+
You can use the familiar [`INSERT INTO TABLE`](../../sql-reference/statements/insert-into.md) command with ClickHouse, but it is important to understand that each insert into a [`MergeTree`](/en/engines/table-engines/mergetree-family/mergetree.md) table causes a **part** to be created in storage.
190
195
191
196
:::tip ClickHouse best practice
192
197
Insert a large number of rows per batch - tens of thousands or even millions of
Notice the `timestamp` column is populated using various **Date** and **DateTime** functions. ClickHouse has hundreds of useful functions that you can [view in the **Functions** section](/docs/en/sql-reference/functions/).
214
+
Notice the `timestamp` column is populated using various [**Date**](../../sql-reference/data-types/date.md) and [**DateTime**](../../sql-reference/data-types/datetime.md) functions. ClickHouse has hundreds of useful functions that you can [view in the **Functions** section](/docs/en/sql-reference/functions/).
210
215
:::
211
216
212
217
Let's verify it worked:
@@ -262,7 +267,7 @@ Notice the response comes back in a nice table format:
262
267
4 rows in set. Elapsed: 0.008 sec.
263
268
```
264
269
265
-
4. Add a `FORMAT` clause to specify one of the [many supported output formats of ClickHouse](/en/interfaces/formats/):
270
+
4. Add a [`FORMAT`](../../sql-reference/statements/select/format.md) clause to specify one of the [many supported output formats of ClickHouse](/en/interfaces/formats/):
266
271
267
272
<br/>
268
273
@@ -300,7 +305,7 @@ the timestamp of the event.
300
305
301
306
Suppose we have the following text in a CSV file named `data.csv`:
302
307
303
-
```bash
308
+
```bash title="data.csv"
304
309
102,This is data in a file,2022-02-22 10:43:28,123.45
305
310
101,It is comma-separated,2022-02-23 00:00:00,456.78
306
311
103,Use FORMAT to specify the format,2022-02-21 10:43:30,678.90
Copy file name to clipboardExpand all lines: docs/en/cloud/get-started/sql-console.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,11 +42,15 @@ The Cell Inspector tool can be used to view large amounts of data contained with
42
42
43
43
### Sorting a table
44
44
45
-
To sort a table in the SQL console, open a table and select the ‘Sort’ button in the toolbar. This button will open a menu that will allow you to configure your sort. You can choose a column by which to sort and configure the ordering of the sort (ascending or descending). Select ‘Apply’ or press Enter to sort your table
45
+
To sort a table in the SQL console, open a table and select the ‘Sort’ button in the toolbar. This button will open a menu that will allow you to configure your sort. You can choose a column by which you want to sort and configure the ordering of the sort (ascending or descending). Select ‘Apply’ or press Enter to sort your table
46
46
47
47

48
48
49
-
The SQL console also allows you to add multiple sorts to a table. Click the ‘Sort’ button again to add another sort. Note: sorts are applied in the order that they appear in the sort pane (top to bottom). To remove a sort, simply click the ‘x’ button next to the sort.
49
+
The SQL console also allows you to add multiple sorts to a table. Click the ‘Sort’ button again to add another sort.
50
+
51
+
:::note
52
+
Sorts are applied in the order that they appear in the sort pane (top to bottom). To remove a sort, simply click the ‘x’ button next to the sort.
0 commit comments