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/cloud/get-started/cloud-quick-start.md
+47-8Lines changed: 47 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,13 +54,18 @@ By default, the scale tier will create 3 replicas each with 4 VCPUs and 16 GiB R
54
54
Users can customize the service resources if required, specifying a minimum and maximum size for replicas to scale between. When ready, select `Create service`.
Congratulations! Your ClickHouse Cloud service is up and running and onboarding is complete. Keep reading for details on how to start ingesting and querying your data.
62
62
63
63
## 2. Connect to ClickHouse
64
+
There are 2 ways to connect to ClickHouse:
65
+
- Connect using our web-based SQL console
66
+
- Connect with your app
67
+
68
+
### Connect using SQL console
64
69
65
70
For getting started quickly, ClickHouse provides a web-based SQL console to which you will be redirected on completing onboarding.
66
71
@@ -87,7 +92,43 @@ You should see 4 databases in the list, plus any that you may have added.
87
92
88
93
That's it - you are ready to start using your new ClickHouse service!
89
94
90
-
## 3. Create a database and table
95
+
### Connect with your app
96
+
97
+
Press the connect button from the navigation menu. A modal will open offering the credentials to your service and offering you a set of instructions on how to connect with your interface or language clients.
If you can’t see your language client, you may want to check our list of [Integrations](https://clickhouse.com/docs/en/integrations).
105
+
106
+
## 3. Add data
107
+
108
+
ClickHouse is better with data! There are multiple ways to add data and most of them are available on the Data Sources page, which can be accessed in the navigation menu.
- Setup a ClickPipe to start ingesting data from data sources like S3, Postgres, Kafka, GCS
117
+
- Use the SQL console
118
+
- Use the ClickHouse client
119
+
- Upload a file - accepted formats include JSON, CSV and TSV
120
+
- Upload data from file URL
121
+
122
+
### ClickPipes
123
+
124
+
[ClickPipes](http://clickhouse.com/docs/en/integrations/clickpipes) is a managed integration platform that makes ingesting data from a diverse set of sources as simple as clicking a few buttons. Designed for the most demanding workloads, ClickPipes's robust and scalable architecture ensures consistent performance and reliability. ClickPipes can be used for long-term streaming needs or one-time data loading job.
125
+
126
+
<divclass="eighty-percent">
127
+

128
+
</div>
129
+
<br/>
130
+
131
+
### Add data using the SQL Console
91
132
92
133
Like most database management systems, ClickHouse logically groups tables into **databases**. Use the `CREATE DATABASE` command to create a new database in ClickHouse:
93
134
@@ -125,7 +166,7 @@ The table engine determines:
125
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.
126
167
:::
127
168
128
-
###3a. A Brief Intro to Primary Keys
169
+
####A Brief Intro to Primary Keys
129
170
130
171
Before you go any further, it is important to understand how primary keys work in ClickHouse (the implementation
131
172
of primary keys might seem unexpected!):
@@ -143,7 +184,7 @@ then the key becomes the tuple specified in the `ORDER BY` clause. If you specif
143
184
The primary key is also the sorting key, which is a tuple of `(user_id, timestamp)`. Therefore, the data stored in each
144
185
column file will be sorted by `user_id`, then `timestamp`.
145
186
146
-
##4. Insert Data
187
+
#### Insert data into your table
147
188
148
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.
149
190
@@ -174,9 +215,7 @@ Let's verify it worked:
174
215
SELECT*FROMhelloworld.my_first_table
175
216
```
176
217
177
-
You should see the four rows of data that were inserted:
178
-
179
-
## 5. Using the ClickHouse Client
218
+
### Add data using the ClickHouse Client
180
219
181
220
You can also connect to your ClickHouse Cloud service using a command-line tool named [**clickhouse client**](/docs/en/interfaces/cli). Click `Connect` on the left menu to access these details. From the dialog select `Native` from the drop-down:
0 commit comments