> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-fix-nav-issues.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}) => {
  return <Frame>
      <img src={img} alt={alt} />
    </Frame>;
};

在某些情况下，暂停 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-fix-nav-issues/8xU-7NRzcVe16bmG/images/integrations/data-ingestion/clickpipes/postgres/pause_button.png?fit=max&auto=format&n=8xU-7NRzcVe16bmG&q=85&s=bda55b44dc9f72084871a681e2c6b5f6" border size="md" width="769" height="217" data-path="images/integrations/data-ingestion/clickpipes/postgres/pause_button.png" />

4. 此时会弹出一个确认对话框。再次点击“暂停”。

<Image img="https://mintcdn.com/private-7c7dfe99-fix-nav-issues/8xU-7NRzcVe16bmG/images/integrations/data-ingestion/clickpipes/postgres/pause_dialog.png?fit=max&auto=format&n=8xU-7NRzcVe16bmG&q=85&s=ac655dfdf8ecb824e7572795c8ef8dcd" border size="md" width="768" height="288" data-path="images/integrations/data-ingestion/clickpipes/postgres/pause_dialog.png" />

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

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

<Image img="https://mintcdn.com/private-7c7dfe99-fix-nav-issues/8xU-7NRzcVe16bmG/images/integrations/data-ingestion/clickpipes/postgres/pause_status.png?fit=max&auto=format&n=8xU-7NRzcVe16bmG&q=85&s=e373934c878224b13fbf658d17ebc66d" border size="md" width="1437" height="256" data-path="images/integrations/data-ingestion/clickpipes/postgres/pause_status.png" />

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

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

<Image img="https://mintcdn.com/private-7c7dfe99-fix-nav-issues/8xU-7NRzcVe16bmG/images/integrations/data-ingestion/clickpipes/postgres/resume_button.png?fit=max&auto=format&n=8xU-7NRzcVe16bmG&q=85&s=8c3e75ffaff9fa31f0e8ee175c8560fe" border size="md" width="1258" height="202" data-path="images/integrations/data-ingestion/clickpipes/postgres/resume_button.png" />

4. 此时会出现确认对话框。再次点击 **Resume**。

<Image img="https://mintcdn.com/private-7c7dfe99-fix-nav-issues/8xU-7NRzcVe16bmG/images/integrations/data-ingestion/clickpipes/postgres/resume_dialog.png?fit=max&auto=format&n=8xU-7NRzcVe16bmG&q=85&s=a05f98b1537797b8bcf8f344b06a1279" border size="md" width="879" height="365" data-path="images/integrations/data-ingestion/clickpipes/postgres/resume_dialog.png" />

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