> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-postgresql-tls-support.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 暂停和恢复 Postgres ClickPipe

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

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

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

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

<Image img="https://mintcdn.com/private-7c7dfe99-postgresql-tls-support/vgIzai2BO-JprHxt/images/integrations/data-ingestion/clickpipes/postgres/pause_button.webp?fit=max&auto=format&n=vgIzai2BO-JprHxt&q=85&s=13f6ffd8212f78a9edf338ea50437fdd" 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-postgresql-tls-support/vgIzai2BO-JprHxt/images/integrations/data-ingestion/clickpipes/postgres/pause_dialog.webp?fit=max&auto=format&n=vgIzai2BO-JprHxt&q=85&s=2ba2705465441b93c792c193377e15a0" border size="md" width="768" height="288" data-path="images/integrations/data-ingestion/clickpipes/postgres/pause_dialog.webp" />

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

<Warning>
  暂停 Postgres ClickPipe 不会停止 replication slot 的增长。
</Warning>

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

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

1. 在“数据源”选项卡中，点击要恢复的 Postgres ClickPipe。该 mirror 的初始状态应为 **Paused**。
2. 转到 **Settings** 选项卡。
3. 点击 **Resume** 按钮。

<Image img="https://mintcdn.com/private-7c7dfe99-postgresql-tls-support/vgIzai2BO-JprHxt/images/integrations/data-ingestion/clickpipes/postgres/resume_button.webp?fit=max&auto=format&n=vgIzai2BO-JprHxt&q=85&s=d3737138733348274dcf71d59453f8ff" 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-postgresql-tls-support/vgIzai2BO-JprHxt/images/integrations/data-ingestion/clickpipes/postgres/resume_dialog.webp?fit=max&auto=format&n=vgIzai2BO-JprHxt&q=85&s=d386f8030b6bb0642a9e7f0dbd6aa4ec" border size="md" width="879" height="365" data-path="images/integrations/data-ingestion/clickpipes/postgres/resume_dialog.webp" />

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