From a934e6052481f48929f1ae79f44c5f1ea4e75d2b Mon Sep 17 00:00:00 2001 From: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Date: Mon, 28 Oct 2024 01:33:26 +0600 Subject: [PATCH 1/2] feat: add more faqs to pulse docs --- content/400-pulse/600-faq.mdx | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/content/400-pulse/600-faq.mdx b/content/400-pulse/600-faq.mdx index b45e85cf45..07ad8e1a57 100644 --- a/content/400-pulse/600-faq.mdx +++ b/content/400-pulse/600-faq.mdx @@ -145,4 +145,28 @@ A static IP address is an IPv4 or an IPv6 address that is fixed. Unlike dynamic ## Do the static IP ranges for Accelerate and Pulse differ? -No, if you have static IP enabled for both Accelerate and Pulse using the same database URL, the generated static IP ranges will be the same for both products. \ No newline at end of file +No, if you have static IP enabled for both Accelerate and Pulse using the same database URL, the generated static IP ranges will be the same for both products. + +### What happens if a Pulse-created publication is manually deleted? + +Manually deleting a Pulse-created publication disconnects Pulse, causing a backlog in the Write-Ahead Log (WAL). While Pulse may attempt to recreate the publication automatically, it's best to avoid manually deleting publications managed by Pulse. + +### How does Pulse handle Pulse-managed versus self-managed replication slots? + +Pulse automatically manages the replication slots it creates. If a Pulse-managed slot is disabled, Pulse will re-enable it. Self-managed slots, created manually by users, are fully controlled by the user, and Pulse will not modify them. + +### What should I do if I see a database connection issue on my Pulse dashboard? + +Check if the publication exists in your database by running the following SQL command: +```sql +SELECT * FROM pg_replication_slots; +``` +If the publication is missing and wasn't intentionally deleted, Pulse may recreate it. Contact support if the issue continues. + +### How do I handle a large WAL backlog? + +A large WAL backlog indicates that Pulse is unable to connect to the publication slot. Verify that the publication exists and is active. If it was deleted or disabled, Pulse might recreate it. For ongoing issues, contact support to prevent performance problems. + +### Can users manually set up replication slots for Prisma Pulse? + +Yes, users can manually create and manage replication slots. However, Pulse does not maintain self-managed slots. For optimal performance, we recommend using the slots configured by Pulse during the initial setup. \ No newline at end of file From aa2f7e2b15d688a31a49d3ca5a94976b280c82da Mon Sep 17 00:00:00 2001 From: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:01:04 +0600 Subject: [PATCH 2/2] Update content/400-pulse/600-faq.mdx --- content/400-pulse/600-faq.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/400-pulse/600-faq.mdx b/content/400-pulse/600-faq.mdx index 07ad8e1a57..216367482a 100644 --- a/content/400-pulse/600-faq.mdx +++ b/content/400-pulse/600-faq.mdx @@ -149,7 +149,7 @@ No, if you have static IP enabled for both Accelerate and Pulse using the same d ### What happens if a Pulse-created publication is manually deleted? -Manually deleting a Pulse-created publication disconnects Pulse, causing a backlog in the Write-Ahead Log (WAL). While Pulse may attempt to recreate the publication automatically, it's best to avoid manually deleting publications managed by Pulse. +Manually deleting a Pulse-created publication disconnects Pulse, which can lead to a backlog in the [Write-Ahead Log (WAL)](https://www.postgresql.org/docs/current/wal-intro.html), where unprocessed changes accumulate. This can slow down recovery and replication processes and may also cause storage issues as the backlog grows. While Pulse may attempt to recreate the publication automatically, it's best to avoid manually deleting publications managed by Pulse. ### How does Pulse handle Pulse-managed versus self-managed replication slots?