You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added tabs for Compass and the Atlas UI on the Monitoring a Continous Migration page. Also updated image fiel names to be consistent with the docs naming.
When a continuous migration job has completed its initial synchronization stage, it enters the Change-Data-Capture (CDC) stage.
6
8
In this stage, the source database is monitored for changes, and these changes are applied to the target MongoDB database.
7
9
8
-
<Screenshoturl="http://127.0.0.1:8278"src="img/210-image-012.png"alt="Screenshot of the Data Migration monitoring page" />
10
+
<Screenshoturl="http://127.0.0.1:8278"src="img/220-image-012.png"alt="Screenshot of the Data Migration monitoring page" />
9
11
10
12
To verify changes are being captured correctly, you can make changes to the Postgres library database and check MongoDB for corresponding changes.
11
13
- Using pgAdmin or psql, apply the following updates to the library database in Postgres
@@ -38,14 +40,35 @@ If you are taking part in an instructor led lab, you should prefix the book IDs
38
40
39
41
If continuous migration is operating correctly, you should see an update to the `Total events seen` and `Events in the last hour` counts in Relational Migrator.
40
42
41
-
<Screenshoturl="http://127.0.0.1:8278"src="img/210-image-013.png"alt="Screenshot of the Data Migration monitoring page" />
43
+
<Screenshoturl="http://127.0.0.1:8278"src="img/220-image-013.png"alt="Screenshot of the Data Migration monitoring page" />
42
44
43
45
Now check for the new books in MongoDB:
44
46
45
-
- In Compass, run a search against the books collection for a books we added to Postgres: `{_id: /^14472240/}`
- In a web browser, navigate to the [MongoDB Atlas portal](https://cloud.mongodb.com) and sign in with your account
51
+
- Navigate to the cloud project containing the cluster you migrated data to
52
+
- Select your cluster and click `View collections`
53
+
- Select the `books` collection in the database you migrated data to
54
+
- Enter a query in the Filter text box that uses a regular expression to look for any book where the _id value starts with the common prefix of the books we added: `{_id: /^14472240/}`
55
+
- Click `Apply`
56
+
- If the CDC process worked correctly, you should see three book documents being returned
57
+
58
+
<Screenshoturl="http://cloud.mongodb.com"src="/img/220-image-016.png"alt="Screenshot of the Atlas UI" />
59
+
60
+
</TabItem>
61
+
<TabItemvalue="Compass"label="Compass">
62
+
63
+
- In Compass, select the `books` collection in the `CONNECTIONS` navigation panel on the left hand side.
64
+
- Enter a query that uses a regular expression to look for any book where the _id value starts with the common prefix of the books we added: `{_id: /^14472240/}`
65
+
- Click `Find`
46
66
- If the CDC process worked correctly, you should see three book documents being returned
47
67
48
-

68
+

69
+
70
+
</TabItem>
71
+
</Tabs>
49
72
50
73
:::info
51
74
If you are taking part in an instructor led lab, modify the query to include the unique combination of characters you added to the book IDs when adding them to Postgres.
@@ -72,10 +95,24 @@ Check for updates to the `Total events seen` and `Events in the last hour` count
0 commit comments