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: pages/data-warehouse/how-to/connect-applications.mdx
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
2
meta:
3
-
title: How to connect applications to your deployment
4
-
description: Learn how to connect your applications to your Scaleway Data Warehouse for ClickHouse® deployment.
3
+
title: How to connect to your deployment
4
+
description: Learn how to connect yourself or your applications to your Scaleway Data Warehouse for ClickHouse® deployment.
5
5
content:
6
6
h1: How to Connect Applications to Your Deployment
7
-
paragraph: Learn how to connect your applications to your Scaleway Data Warehouse for ClickHouse® deployment.
7
+
paragraph: Learn how to connect yourself or your applications to your Scaleway Data Warehouse for ClickHouse® deployment.
8
8
tags: connect applications deployment data warehouse clickhouse
9
9
dates:
10
10
validation: 2025-05-07
@@ -13,7 +13,9 @@ categories:
13
13
- data-warehouse
14
14
---
15
15
16
-
This page explains how to connect your applications to your Data Warehouse for ClickHouse® deployment using the [Scaleway console](https://console.scaleway.com).
16
+
This page explains how to connect yourself or your applications to your Data Warehouse for ClickHouse® deployment using the [Scaleway console](https://console.scaleway.com).
17
+
18
+
To connect your deployment with BI tools, refer to the [dedicated documentation](/data-warehouse/how-to/connect-bi-tools/).
17
19
18
20
<Macroid="requirements" />
19
21
@@ -24,7 +26,7 @@ This page explains how to connect your applications to your Data Warehouse for C
24
26
25
27
1. Click **Data Warehouse** under **Managed Services** on the side menu. The Data Warehouse deployment page displays.
26
28
27
-
2. Click the name of the Data Warehouse deployment you want to connect to an application. The overview tab of the deployment displays.
29
+
2. Click the name of the Data Warehouse deployment you want to connect to. The overview tab of the deployment displays.
28
30
29
31
3. Click the **Actions** button in the top-right corner of the page. A drop-down menu displays.
30
32
@@ -40,4 +42,4 @@ This page explains how to connect your applications to your Data Warehouse for C
40
42
- Protocols: Select the appropriate protocol, then run the displayed command in a terminal. Remember to replace the placeholders with the appropriate values, and to specify the correct path to the certificate file.
41
43
- Languages: Select the desired language, then add the code displayed to your application code. Remember to replace the placeholders with the appropriate values, and to specify the correct path to the certificate file.
42
44
43
-
Your application is now connected to your Data Warehouse for ClickHouse® deployment using the administrator account.
45
+
You are now connected to your Data Warehouse for ClickHouse® deployment using the administrator account.
Copy file name to clipboardExpand all lines: pages/data-warehouse/how-to/import-data.mdx
+64-1Lines changed: 64 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,69 @@ categories:
13
13
- data-warehouse
14
14
---
15
15
16
-
Data federation allows you to query and combine data from multiple sources, enabling seamless analytics across different databases or storage systems without the need to move or duplicate data. With Data Warehouse for ClickHouse®'s [bottomless storage](/data-warehouse/concepts/#bottomless-storage) feature, you can decouple compute and storage, allowing your data to be stored cost-effectively in external object storage while maintaining high performance for queries.
16
+
Data federation allows you to query and combine data from multiple sources, enabling seamless analytics across different databases or storage systems without the need to move or duplicate data.
17
17
18
+
Scaleway Data Warehouse for ClickHouse® allows you to quickly import any type of compatible data into a [bottomless storage](/data-warehouse/concepts/#bottomless-storage) with minimal configuration.
19
+
20
+
## How to import data using the CLickHouse® CLI
21
+
22
+
### Connecting to the CLickHouse® CLI
23
+
24
+
1. Click **Data Warehouse** under **Managed Services** on the side menu. The Data Warehouse deployment page displays.
25
+
26
+
2. Click the name of the Data Warehouse deployment you want to connect to. The overview tab of the deployment displays.
27
+
28
+
3. Click **Connect** next to **Frameworks** in the **Connect to your deployment** section. The connection wizard displays.
29
+
30
+
4. Select **Protocols**, then copy the command in the **ClickHouse® CLI** tab.
31
+
32
+
5. In a terminal, paste and execute the copied command to connect to your deployment. Make sure to replace the placeholders by the corresponding values.
33
+
34
+
```sh
35
+
clickhouse client \
36
+
--host <YOUR_DEPLOYMENT_URL> \
37
+
--port 9440 \
38
+
--secure \
39
+
--user scwadmin \
40
+
--password '<YOUR_DEPLOYMENT_PASSWORD>'
41
+
```
42
+
43
+
7. You are now connected to your deployments using the ClickHouse® CLI, you can now import data.
44
+
45
+
<Messagetype="tip">
46
+
You can connect to your deployment using the ClickHouse® HTTP console directly from the **Overview** tab.
47
+
</Message>
48
+
49
+
### Importing data into your deployment
50
+
51
+
There are several ways to import data into your Data Warehouse for ClickHouse® deployment, depending on how your data is stored:
52
+
53
+
- Using the `s3` table function: directly read data from an Amazon S3 bucket by specifying the bucket URL, the file format, and data structure.
54
+
55
+
- Using the `s3` Storage Engine: create a table that points to your S3 data, then insert data from the S3 table into your target table.
56
+
57
+
- Using `clickhouse-client`: execute an INSERT query to populate a table by specifying the bucket URL and the file format.
58
+
59
+
<Tabsid="import-data-into-data-warehouse">
60
+
<TabsTablabel="s3 table function">
61
+
```sql
62
+
INSERT INTO your_table
63
+
SELECT*
64
+
FROM s3('https://my-bucket.s3.scaleway.com/data/my_data.csv', 'CSV', 'column1 String, column2 Int32')
0 commit comments