|
| 1 | +.. _rm-analysis-report: |
| 2 | + |
| 3 | +================================= |
| 4 | +The Pre-Migration Analysis Report |
| 5 | +================================= |
| 6 | + |
| 7 | +.. contents:: On this page |
| 8 | + :local: |
| 9 | + :backlinks: none |
| 10 | + :depth: 2 |
| 11 | + :class: singlecol |
| 12 | + |
| 13 | +The analysis report lists the migration risks detected in your database, and |
| 14 | +provides suggested mitigation actions for each one. To see all the potential |
| 15 | +migration risks that Relational Migrator can detect, see the :ref:`Migration |
| 16 | +Risk Reference <rm-app-analysis-risk-reference>`. |
| 17 | + |
| 18 | +Summary |
| 19 | +------- |
| 20 | + |
| 21 | +The :guilabel:`Summary` section lists the overall migration readiness of your |
| 22 | +database, and provides a breakdown of the metrics that affect that readiness |
| 23 | +level. |
| 24 | + |
| 25 | +Detection Breakdown |
| 26 | +~~~~~~~~~~~~~~~~~~~ |
| 27 | + |
| 28 | +The Detection Breakdown shows how many detections have Actions Required, |
| 29 | +are Potential Risks, or are strictly Informational. |
| 30 | + |
| 31 | +.. image:: /img/app-analysis/app-analysis-detection-breakdown.png |
| 32 | + :alt: A screenshot of the detection breakdown, with the migration readiness level and number of detections. |
| 33 | + |
| 34 | +Database Object Overview |
| 35 | +~~~~~~~~~~~~~~~~~~~~~~~~ |
| 36 | + |
| 37 | +The Database Object Overview shows detections for Tables, Stored Procedures, |
| 38 | +Triggers, and Views. Table risks are further categorized as Data Type, Schema, |
| 39 | +Unsupported Feature, or Performance. |
| 40 | + |
| 41 | +.. note:: |
| 42 | + |
| 43 | + Pre-Migration Analysis doesn't analyze the SQL code of stored |
| 44 | + procedures, views, and triggers. If your database has procedures that may |
| 45 | + present an issue, please contact your account representative. |
| 46 | + |
| 47 | +.. image:: /img/app-analysis/app-analysis-db-objects.png |
| 48 | + :alt: A screenshot of the database object overview, with the number of detections of each type. |
| 49 | + |
| 50 | +Once you've addressed the migration risks, you can run Pre-Migration Analysis |
| 51 | +again by clicking :guilabel:`Rerun analysis` to confirm that there aren't any |
| 52 | +more issues. |
| 53 | + |
| 54 | +Database |
| 55 | +-------- |
| 56 | + |
| 57 | +The :guilabel:`Database` section lists all detected risks for your relational |
| 58 | +database. If you use the :guilabel:`Status` column of the table to mark |
| 59 | +resolved risks, they are hidden from the list. Check :guilabel:`Include |
| 60 | +resolved detections` to show them. |
| 61 | + |
| 62 | +You can switch between tabs for more information on different types of |
| 63 | +detections. |
| 64 | + |
| 65 | +The All detections tab |
| 66 | +~~~~~~~~~~~~~~~~~~~~~~ |
| 67 | + |
| 68 | +This is the default tab, and shows all detections in a single table. You can |
| 69 | +use the dropdown to switch between :guilabel:`Show all`, :guilabel:`Tasks |
| 70 | +only`, :guilabel:`Risks only`, and :guilabel:`Notes only`. |
| 71 | + |
| 72 | +The Tables tab |
| 73 | +~~~~~~~~~~~~~~ |
| 74 | + |
| 75 | +The :guilabel:`Tables` tab lists detections for each table. The |
| 76 | +:guilabel:`Overview and Analysis` toggle shows detections. Switch it to |
| 77 | +:guilabel:`Columns` to see the column definitions for the selected table. |
| 78 | + |
| 79 | +The Stored Procedures tab |
| 80 | +~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 81 | + |
| 82 | +.. note:: |
| 83 | + |
| 84 | + Pre-Migration Analysis doesn't analyze stored procedure SQL code |
| 85 | + for risks. |
| 86 | + |
| 87 | +The :guilabel:`Stored Procedures` tab shows each procedure. Switch the |
| 88 | +:guilabel:`Overview and Analysis` toggle to :guilabel:`SQL code` |
| 89 | +to see the code for the selected procedure. |
| 90 | + |
| 91 | +The Triggers tab |
| 92 | +~~~~~~~~~~~~~~~~ |
| 93 | + |
| 94 | +.. note:: |
| 95 | + |
| 96 | + Pre-Migration Analysis doesn't analyze trigger SQL code for |
| 97 | + risks, because MongoDB doesn't natively support triggers. Consider using |
| 98 | + :ref:`Query Converter <rm-query-converter>` to convert your SQL to |
| 99 | + :atlas:`Atlas Triggers </atlas-ui/triggers/>`, in order to replicate |
| 100 | + existing behavior. |
| 101 | + |
| 102 | +The :guilabel:`Triggers` tab shows each trigger. Switch the |
| 103 | +:guilabel:`Overview and Analysis` toggle to :guilabel:`SQL code` |
| 104 | +to see the code for the selected trigger. |
| 105 | + |
| 106 | +The Views tab |
| 107 | +~~~~~~~~~~~~~ |
| 108 | + |
| 109 | +.. note:: |
| 110 | + |
| 111 | + Pre-Migration Analysis doesn't analyze view definitions for |
| 112 | + risks, because views must be converted to MQL. Consider using :ref:`Query |
| 113 | + Converter <rm-query-converter>` to migrate views. |
| 114 | + |
| 115 | +The :guilabel:`Views` tab shows each view. Switch the |
| 116 | +:guilabel:`Overview and Analysis` toggle to :guilabel:`SQL code` |
| 117 | +to see the SQL definition for the selected view. |
| 118 | + |
| 119 | +The Incompatible features tab |
| 120 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 121 | + |
| 122 | +The :guilabel:`Incompatible features` tab lists incompatible features in your |
| 123 | +source database that either don't have a MongoDB equivalent, or work |
| 124 | +differently enough that Relational Migrator can't automatically migrate them. |
| 125 | + |
| 126 | +Prerequisites |
| 127 | +------------- |
| 128 | + |
| 129 | +The :guilabel:`Prerequisites` section lists necessary tasks to prepare your |
| 130 | +database for migration. This is a targeted list of recommendations based on the |
| 131 | +information gathered during Pre-Migration Analysis. For general information on |
| 132 | +database prerequisites, see :ref:`rm-prerequisites`. |
| 133 | + |
| 134 | +Resources |
| 135 | +--------- |
| 136 | + |
| 137 | +The :guilabel:`Planning Resources` section lists links to MongoDB blogs and |
| 138 | +documentation content about data modeling and migration. |
0 commit comments