> ## 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.

# 暂停和恢复 MongoDB ClickPipe

> 暂停和恢复 MongoDB 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>;
};

在某些情况下，暂停 MongoDB ClickPipe 会很有帮助。例如，你可能想在数据保持静止状态时对现有数据进行一些分析；或者，你可能正在对 MongoDB 进行升级。以下说明如何暂停和恢复 MongoDB ClickPipe。

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

1. 在 数据源 选项卡中，单击要暂停的 MongoDB ClickPipe。
2. 切换到 **Settings** 选项卡。
3. 单击 **Pause** 按钮。

<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. 此时会弹出确认对话框。再次单击 Pause。

<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. 切换到 **指标** 选项卡。
5. 等待该管道的状态变为 **Paused**。

<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">
  ## 恢复 MongoDB ClickPipe 的步骤
</div>

1. 在“数据源”选项卡中，点击要恢复的 MongoDB ClickPipe。mirror 的初始状态应为 **Paused**。
2. 前往 **设置** 选项卡。
3. 点击 **Resume** 按钮。

<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. 此时会出现一个确认对话框。再次点击 **Resume**。

<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. 前往 **指标** 选项卡。
6. 等待管道状态变为 **Running**。
