Skip to content

Commit 53f88c8

Browse files
committed
feat(dwh): update
1 parent 5b2a041 commit 53f88c8

File tree

4 files changed

+91
-30
lines changed

4 files changed

+91
-30
lines changed

pages/data-warehouse/concepts.mdx

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,35 @@ Refer to the official [ClickHouse® documentation](https://clickhouse.com/docs/g
2626

2727
## ClickHouse®
2828

29-
ClickHouse® is a high-performance, column-oriented, distributed database management system designed for real-time analytics. It is optimized for handling large volumes of data with fast query performance, making it ideal for applications requiring up-to-date insights. ClickHouse stores data in a columnar format, which reduces I/O operations and speeds up query execution. It supports distributed processing across multiple nodes, enabling horizontal scaling and fault tolerance through replication. ClickHouse provides a powerful SQL interface and offers advanced features like real-time data ingestion, compression, and indexing, making it a robust solution for analytical workloads.
29+
ClickHouse® is a high-performance, column-oriented, distributed database management system designed for real-time analytics. It is optimized for handling large volumes of data with fast query performance, making it ideal for applications requiring up-to-date insights. ClickHouse® stores data in a columnar format, which reduces I/O operations and speeds up query execution. It supports distributed processing across multiple nodes, enabling horizontal scaling and fault tolerance through replication. ClickHouse® provides a powerful SQL interface and offers advanced features like real-time data ingestion, compression, and indexing, making it a robust solution for analytical workloads.
3030

31+
## ClickHouse® HTTP console
32+
33+
The ClickHouse® HTTP console is a web interface that allows you to interact easily interact with your Data Warehouse deployment from the Scaleway console by executing SQL queries.
34+
35+
<Message type="note">
36+
Make sure to enter valid credentials in the top-right fields before executing queries.
37+
</Message>
3138

3239
## Column-oriented storage
3340

34-
ClickHouse® stores data in a column-oriented format, which significantly optimizes read performance for analytical queries. By storing data in columns rather than rows, ClickHouse reduces the amount of I/O operations needed during query execution, as it only reads the necessary columns from disk.
41+
ClickHouse® stores data in a column-oriented format, which significantly optimizes read performance for analytical queries. By storing data in columns rather than rows, ClickHouse® reduces the amount of I/O operations needed during query execution, as it only reads the necessary columns from disk.
3542

3643
## Compression
3744

3845
ClickHouse® uses advanced compression algorithms to reduce storage requirements and improve query performance by minimizing data transfer. Compression not only helps in saving disk space but also accelerates data retrieval and processing by reducing the amount of data that needs to be read from storage and transferred over the network.
3946

4047
## Distributed processing
4148

42-
ClickHouse® supports distributed processing across multiple nodes, allowing it to handle extremely large datasets efficiently and scale horizontally. This architecture enables ClickHouse to distribute data and queries across a cluster, improving performance and reliability by leveraging the combined resources of all nodes.
49+
ClickHouse® supports distributed processing across multiple nodes, allowing it to handle extremely large datasets efficiently and scale horizontally. This architecture enables ClickHouse® to distribute data and queries across a cluster, improving performance and reliability by leveraging the combined resources of all nodes.
4350

4451
## Horizontal scaling
4552

4653
Horizontal scaling refers to the process of adding more nodes to the cluster to increase its capacity and performance. This approach allows the cluster to handle larger datasets and higher query loads by distributing the data and processing tasks across additional nodes. Data Warehouse for ClickHouse® deployments [scale automatically](#autoscaling) according to the incoming workload.
4754

4855
## Indexing
4956

50-
ClickHouse employs various indexing techniques, such as primary key and skip indexes, to speed up query execution and data retrieval. The primary key index allows for efficient point lookups and range queries, while skip indexes help in quickly skipping over large chunks of data that do not match query conditions, thus reducing the overall query time.
57+
ClickHouse® employs various indexing techniques, such as primary key and skip indexes, to speed up query execution and data retrieval. The primary key index allows for efficient point lookups and range queries, while skip indexes help in quickly skipping over large chunks of data that do not match query conditions, thus reducing the overall query time.
5158

5259
## Node
5360

pages/data-warehouse/how-to/connect-bi-tools.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ This page explains how to integrate your Data Warehouse for ClickHouse® deploym
2222
- [Signed up to the private beta](https://www.scaleway.com/fr/betas/) and received a confirmation email.
2323
- Created a [Data Warehouse deployment](/data-warehouse/how-to/create-deployment/)
2424

25-
## PowerBI
26-
2725
## Tableau
2826

2927
Tableau is a powerful data visualization and business intelligence tool that enables users to transform complex data into interactive and shareable dashboards and reports, providing actionable insights through intuitive drag-and-drop interfaces.
@@ -114,5 +112,4 @@ Refer to the official [ClickHouse®](https://clickhouse.com/docs/integrations/me
114112

115113
Power BI Desktop is a robust data visualization tool that allows users to create dynamic reports and dashboards from various data sources. Before connecting your Data Warehouse for ClickHouse® deployment, Make sure you have downloaded and installed [Power BI Desktop](https://www.microsoft.com/en-us/download/details.aspx?id=58494).
116114

117-
118115
Refer to the official [ClickHouse®](https://clickhouse.com/docs/integrations/powerbi) and [PowerBI](https://learn.microsoft.com/en-us/power-query/connectors/clickhouse) documentation portals for more information.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
meta:
3+
title: How to manage users in Scaleway Data Warehouse for ClickHouse®
4+
description: Learn how to manage users in your Scaleway Data Warehouse for ClickHouse® deployment.
5+
content:
6+
h1: How to Manage Users in Scaleway Data Warehouse for ClickHouse®
7+
paragraph: Learn how to manage users in your Scaleway Data Warehouse for ClickHouse® deployment.
8+
tags: manage users data warehouse ClickHouse® roles permissions admin administrator user
9+
dates:
10+
validation: 2025-05-19
11+
posted: 2025-05-19
12+
categories:
13+
- data-warehouse
14+
---
15+
16+
This page explains how to manage users in your Data Warehouse for ClickHouse® deployment using the [Scaleway console](https://console.scaleway.com/).
17+
18+
<Message type="note">
19+
During the private beta phase, user management can only be done with the **scwadmin** user via the ClickHouse® CLI, MySQL or HTTPS protocols.
20+
</Message>
21+
22+
<Macro id="requirements" />
23+
24+
- A Scaleway account logged into the [console](https://console.scaleway.com)
25+
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
26+
- [Signed up to the private beta](https://www.scaleway.com/fr/betas/) and received a confirmation email.
27+
- Created a [Data Warehouse deployment](/data-warehouse/how-to/create-deployment/)
28+
29+
## How to manage users using the Scaleway console
30+
31+
During the private beta phase, the management of users for your Data Warehouse for ClickHouse® deployment is limited to:
32+
- viewing users in your deployment
33+
- changing the password of an existing user
34+
35+
## How to manage users
36+
37+
[Connect to your deployment](/data-warehouse/how-to/connect-to-deployment/) using your preferred framework.
38+
<Message type="tip">
39+
You can also connect using the ClickHouse HTTP console from the **Overview** tab of your deployment. Make sure to enter valid credentials in the top-right fields.
40+
</Message>
41+
42+
Once connected, you can run SQL queries using `USER`, `ROLE`, and `ROW POLICY` to create new users and grant them the desired permissions via roles.
43+
44+
Refer to the official ClickHouse® documentation on [users and roles](https://clickhouse.com/docs/sql-reference/statements/create/user) for more information.

pages/data-warehouse/quickstart.mdx

Lines changed: 36 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,6 @@ Data Warehouse for ClickHouse® is a centralized repository to store large sets
4343

4444
9. Review the estimated cost, then click **Create deployment** to confirm. A list of your Data Warehouse for ClickHouse® deployments displays, showing the newly created resources.
4545

46-
## How to manage your deployment
47-
48-
1. From the Data Warehouse for ClickHouse® deployments page, click the name of the deployment you want to manage. The overview tab of the deployment displays. From this view, you can see the configuration of your deployment.
49-
50-
2. Click the **Settings** tab. From this view, you can:
51-
52-
- Access the CLickHouse® HTTP console
53-
- Connect to your deployment using frameworks
54-
- Connect your deployment to your preferred BI tools
55-
- [Delete your Data Warehouse deployment](/data-warehouse/how-to/manage-delete-deployment/#how-to-delete-a-data-warehouse).
56-
57-
3. Click the **Databases** tab. From this view you can:
58-
59-
- View the databases you created in your deployment.
60-
6146
## How to connect to your deployment
6247

6348
### Connecting using the ClickHouse® HTTP console
@@ -70,32 +55,60 @@ Data Warehouse for ClickHouse® is a centralized repository to store large sets
7055

7156
4. Enter the password you set up during the creation of your deployment.
7257

58+
5. Run the command below to display the current version of ClickHouse® and make sure you are connected to your deployment.
59+
60+
```sql
61+
SELECT version();
62+
```
63+
7364
You can now execute SQL commands.
7465

7566
### Connecting using the ClickHouse® CLI
7667

7768
1. From the Data Warehouse for ClickHouse® deployments page, click the name of the deployment you want to want to connect to. The **Overview** tab displays.
7869

79-
3. Click the **Actions** button in the top-right corner of the page. A drop-down menu displays.
80-
81-
4. Select ¨**Connect using frameworks**. The connection wizard displays.
70+
2. Click the **Connect** button next to **Frameworks** in the **Connect to your deployment** section. The connection wizard displays.
8271

8372
<Message type="note">
8473
To connect your deployment with BI tools, refer to the [dedicated documentation](/data-warehouse/how-to/connect-bi-tools/).
8574
</Message>
8675

87-
5. Click the **Download** link to download the required TLS certificate.
76+
3. Copy the ClickHouse® CLI command, and execute it in a terminal to connect to your deployment. Make sure to replace the placeholders beforehand.
8877

89-
6. Select your preferred framework:
90-
- 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.
91-
- 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.
78+
```sh
79+
clickhouse client \
80+
--host <YOUR_DEPLOYMENT_ID>.dtwh.<REGION>.scw.cloud \
81+
--port 9440 \
82+
--secure \
83+
--user scwadmin \
84+
--password '<YOUR_PASSWORD>' \
85+
```
9286

93-
Your application is now connected to your Data Warehouse for ClickHouse® deployment using the administrator account.
87+
You are now connected to your Data Warehouse for ClickHouse® deployment, and can perform SQL queries.
9488

9589
## How to import and query an example data set
9690

9791

9892

93+
## How to manage your deployment
94+
95+
1. From the Data Warehouse for ClickHouse® deployments page, click the name of the deployment you want to manage. The overview tab of the deployment displays. From this view, you can see the configuration of your deployment.
96+
97+
2. Click the **Settings** tab. From this view, you can:
98+
99+
- Access the CLickHouse® HTTP console
100+
- Connect to your deployment using frameworks
101+
- Connect your deployment to your preferred BI tools
102+
- [Delete your Data Warehouse deployment](/data-warehouse/how-to/manage-delete-deployment/#how-to-delete-a-data-warehouse).
103+
104+
3. Click the **Databases** tab. From this view you can:
105+
106+
- View the databases you created in your deployment.
107+
108+
4. Click the **Users** tab. From this view, you can:
109+
110+
- view the users in your deployment.
111+
- modify the password of a user.
99112

100113
## How to delete your deployment
101114

0 commit comments

Comments
 (0)