diff --git a/images/resources/performance-timeline.png b/images/resources/performance-timeline.png new file mode 100644 index 00000000..11daf4c4 Binary files /dev/null and b/images/resources/performance-timeline.png differ diff --git a/resources/troubleshooting.mdx b/resources/troubleshooting.mdx index b6a38bba..65b19f84 100644 --- a/resources/troubleshooting.mdx +++ b/resources/troubleshooting.mdx @@ -84,7 +84,7 @@ These are some common pointers when it comes to diagnosing and understanding per Enabling the `debugMode` flag in the [JavaScript Web SDK](/client-sdk-references/js-web) logs all SQL queries on the Performance timeline in Chrome's Developer Tools (after recording). This can help identify slow-running queries. - + This includes: diff --git a/usage/installation/database-connection.mdx b/usage/installation/database-connection.mdx index 8456d835..d50cf2e2 100644 --- a/usage/installation/database-connection.mdx +++ b/usage/installation/database-connection.mdx @@ -161,6 +161,7 @@ PowerSync deploys and configures an isolated cloud environment for you, which ca Also see: - [MongoDB Atlas Migration Guide](/migration-guides/mongodb-atlas) +- [MongoDB Setup](/usage/installation/database-setup#mongodb-alpha) ## MySQL (Alpha) Specifics diff --git a/usage/installation/database-setup.mdx b/usage/installation/database-setup.mdx index 2f7ac992..994acbcf 100644 --- a/usage/installation/database-setup.mdx +++ b/usage/installation/database-setup.mdx @@ -344,6 +344,7 @@ PowerSync requires the `find` and `changeStream` permissions on all databases an PowerSync also requires `createCollection`, `insert`, `update`, and `remove` permissions to the `_powersync_checkpoints` collection. +For MongoDB Atlas users, PowerSync requires `readWrite@mydb._powersync_checkpoints` and `readAnyDatabase@admin` ## MySQL (Alpha)