|
| 1 | +import Screenshot from "@site/src/components/Screenshot"; |
| 2 | + |
| 3 | +# 👐 Pre migration analysis |
| 4 | + |
| 5 | +:::info |
| 6 | +This feature is in Preview at this moment, so features / UI could change. Also, review the results as they could be improved in the future. |
| 7 | +::: |
| 8 | + |
| 9 | +Get a detailed risk assessment and tailored recommendations to migrate your application successfully. |
| 10 | + |
| 11 | +## Generate the report |
| 12 | + |
| 13 | +We can generate a report of the schema we are about to migrate. This is useful to understand the structure of the data and how it will be represented in MongoDB. |
| 14 | + |
| 15 | +- To do that, click on the `Pre-Migration Analysis` tab. |
| 16 | +- Then click on `Run analysis`. |
| 17 | + |
| 18 | +<Screenshot url="http://127.0.0.1:8278" src="img/65-pre-migration-001.png" alt="Pre-migration analysis selected" /> |
| 19 | + |
| 20 | +## Review the Summary |
| 21 | + |
| 22 | +You'll see a summary of the analysis, which includes: |
| 23 | +- The _Predicted migration readiness level_, that will give you a rough idea of how ready your schema is for migration. |
| 24 | +- The number of tables, stored procedures, triggers and views in the relational schema. |
| 25 | +- The size of the database. |
| 26 | + |
| 27 | +## Review the Database |
| 28 | + |
| 29 | +If you click in `Database`, you can see all detected risks in the `Impact analysis` tab. |
| 30 | + |
| 31 | +From there, you can review the Tables in detail, including number of rows, columns, types, etc. |
| 32 | + |
| 33 | +<Screenshot url="http://127.0.0.1:8278" src="img/65-pre-migration-002.png" alt="Pre-migration analysis selected" /> |
| 34 | + |
| 35 | +You can also check the Stored procedures, Trriggers and Views and even review the SQL code. |
| 36 | + |
| 37 | +<Screenshot url="http://127.0.0.1:8278" src="img/65-pre-migration-003.png" alt="Pre-migration analysis selected" /> |
| 38 | + |
| 39 | +## Migration Prerequisites |
| 40 | + |
| 41 | +In the `Migration prerequisites` tab, you can the prerequisites for the migration. In this case, we see that `Postgres Write-Ahead Logging (WAL) logical replication must be enabled in Postgres before running a Continuous migration job.` |
| 42 | + |
| 43 | +<Screenshot url="http://127.0.0.1:8278" src="img/65-pre-migration-004.png" alt="Pre-migration analysis selected" /> |
| 44 | + |
| 45 | + |
| 46 | +## Resources |
| 47 | + |
| 48 | +More information and documentation to help you plan your migration. |
0 commit comments