Skip to content

Commit a0580f7

Browse files
Merge pull request #4275 from ClickHouse/pg-to-mysql
Clickpipes: fix mysql docs
2 parents 893e9ce + 437663a commit a0580f7

File tree

3 files changed

+56
-3
lines changed

3 files changed

+56
-3
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: 'Adding specific tables to a ClickPipe'
3+
description: 'Describes the steps need to add specific tables to a ClickPipe.'
4+
sidebar_label: 'Add Table'
5+
slug: /integrations/clickpipes/mysql/add_table
6+
show_title: false
7+
---
8+
9+
import Image from '@theme/IdealImage';
10+
import add_table from '@site/static/images/integrations/data-ingestion/clickpipes/postgres/add_table.png'
11+
12+
# Adding specific tables to a ClickPipe
13+
14+
There are scenarios where it would be useful to add specific tables to a pipe. This becomes a common necessity as your transactional or analytical workload scales.
15+
16+
## Steps to add specific tables to a ClickPipe {#add-tables-steps}
17+
18+
This can be done by the following steps:
19+
1. [Pause](./pause_and_resume.md) the pipe.
20+
2. Click on Edit Table settings.
21+
3. Locate your table - this can be done by searching it in the search bar.
22+
4. Select the table by clicking on the checkbox.
23+
<br/>
24+
<Image img={add_table} border size="md"/>
25+
26+
5. Click update.
27+
6. Upon successful update, the pipe will have statuses `Setup`, `Snapshot` and `Running` in that order. The table's initial load can be tracked in the **Tables** tab.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: 'Removing specific tables from a ClickPipe'
3+
description: 'Removing specific tables from a ClickPipe'
4+
sidebar_label: 'Remove Table'
5+
slug: /integrations/clickpipes/mysql/removing_tables
6+
---
7+
8+
import Image from '@theme/IdealImage';
9+
import remove_table from '@site/static/images/integrations/data-ingestion/clickpipes/postgres/remove_table.png'
10+
11+
In some cases, it makes sense to exclude specific tables from a MySQL ClickPipe - for example, if a table isn't needed for your analytics workload, skipping it can reduce storage and replication costs in ClickHouse.
12+
13+
## Steps to remove specific tables {#remove-tables-steps}
14+
15+
The first step is to remove the table from the pipe. This can be done by the following steps:
16+
17+
1. [Pause](./pause_and_resume.md) the pipe.
18+
2. Click on Edit Table Settings.
19+
3. Locate your table - this can be done by searching it in the search bar.
20+
4. Deselect the table by clicking on the selected checkbox.
21+
<br/>
22+
23+
<Image img={remove_table} border size="md"/>
24+
25+
5. Click update.
26+
6. Upon successful update, in the **Metrics** tab the status will be **Running**. This table will no longer be replicated by this ClickPipe.

sidebars.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -782,9 +782,9 @@ const sidebars = {
782782
type: "category",
783783
label: "Operations",
784784
items: [
785-
"integrations/data-ingestion/clickpipes/postgres/add_table",
786-
"integrations/data-ingestion/clickpipes/postgres/pause_and_resume",
787-
"integrations/data-ingestion/clickpipes/postgres/remove_table",
785+
"integrations/data-ingestion/clickpipes/mysql/add_table",
786+
"integrations/data-ingestion/clickpipes/mysql/pause_and_resume",
787+
"integrations/data-ingestion/clickpipes/mysql/remove_table",
788788
"integrations/data-ingestion/clickpipes/mysql/resync",
789789
"integrations/data-ingestion/clickpipes/mysql/controlling_sync"
790790
],

0 commit comments

Comments
 (0)