> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 暂停和恢复 MySQL ClickPipe

> 暂停和恢复 MySQL ClickPipe

export const Image = ({img, alt, size = "lg"}) => {
  const normalizedSize = ["sm", "md", "lg"].includes(size) ? size : "lg";
  return <div className={`ch-image-${normalizedSize}`}>
      <Frame>
        <img src={img} alt={alt} />
      </Frame>
    </div>;
};

在某些情况下，暂停 MySQL ClickPipe 会很有用。例如，你可能希望在现有数据保持静止不变的状态下进行一些分析。或者，你可能正在升级 MySQL。下面介绍如何暂停和恢复 MySQL ClickPipe。

<div id="pause-clickpipe-steps">
  ## 暂停 MySQL ClickPipe 的步骤
</div>

1. 在“数据源”选项卡中，点击要暂停的 MySQL ClickPipe。
2. 转到 **Settings** 选项卡。
3. 点击 **暂停** 按钮。

<Image img="https://mintcdn.com/private-7c7dfe99/dZZG_-B0EzCG8L4V/images/integrations/data-ingestion/clickpipes/postgres/pause_button.webp?fit=max&auto=format&n=dZZG_-B0EzCG8L4V&q=85&s=abefa6025c219aef1e6e0d7f4fc0759f" border size="md" width="769" height="217" data-path="images/integrations/data-ingestion/clickpipes/postgres/pause_button.webp" />

4. 此时会弹出确认对话框。再次点击 **暂停**。

<Image img="https://mintcdn.com/private-7c7dfe99/dZZG_-B0EzCG8L4V/images/integrations/data-ingestion/clickpipes/postgres/pause_dialog.webp?fit=max&auto=format&n=dZZG_-B0EzCG8L4V&q=85&s=c2b0a65c74a4016e291677c99b4f1015" border size="md" width="768" height="288" data-path="images/integrations/data-ingestion/clickpipes/postgres/pause_dialog.webp" />

4. 转到 **Metrics** 选项卡。
5. 大约 5 秒后 (以及页面刷新后) ，该管道的状态应变为 **暂停**。

<Image img="https://mintcdn.com/private-7c7dfe99/dZZG_-B0EzCG8L4V/images/integrations/data-ingestion/clickpipes/postgres/pause_status.webp?fit=max&auto=format&n=dZZG_-B0EzCG8L4V&q=85&s=6b2ef8315a6bce755d6033768baddafa" border size="md" width="1437" height="256" data-path="images/integrations/data-ingestion/clickpipes/postgres/pause_status.webp" />

<div id="resume-clickpipe-steps">
  ## 恢复 MySQL ClickPipe 的步骤
</div>

1. 在“数据源”选项卡中，点击要恢复的 MySQL ClickPipe。mirror 的状态一开始应为 **暂停**。
2. 转到 **Settings** 选项卡。
3. 点击 **恢复** 按钮。

<Image img="https://mintcdn.com/private-7c7dfe99/dZZG_-B0EzCG8L4V/images/integrations/data-ingestion/clickpipes/postgres/resume_button.webp?fit=max&auto=format&n=dZZG_-B0EzCG8L4V&q=85&s=25a82c38e9f1f4cf5c0ecd5619e644b2" border size="md" width="1258" height="202" data-path="images/integrations/data-ingestion/clickpipes/postgres/resume_button.webp" />

4. 此时会弹出一个确认对话框。再次点击 **恢复**。

<Image img="https://mintcdn.com/private-7c7dfe99/dZZG_-B0EzCG8L4V/images/integrations/data-ingestion/clickpipes/postgres/resume_dialog.webp?fit=max&auto=format&n=dZZG_-B0EzCG8L4V&q=85&s=4e175fb184076c727c3a2d78ff554a14" border size="md" width="879" height="365" data-path="images/integrations/data-ingestion/clickpipes/postgres/resume_dialog.webp" />

5. 转到 **Metrics** 选项卡。
6. 大约 5 秒后 (以及刷新页面后) ，管道的状态应变为 **Running**。
