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
Copy file name to clipboardExpand all lines: azure-sql/managed-instance/failover-group-configure-sql-mi.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -478,7 +478,7 @@ To avoid problems from a lower service tier or under-resourced geo-secondary get
478
478
- You can scale the primary and secondary instance up or down to a different compute size within the same service tier or to a different service tier.
479
479
- When scaling up within the same service tier, scale up the geo-secondary first, and then scale up the primary.
480
480
- When scaling down within the same service tier, reverse the order: scale down the primary first, and then scale down the secondary.
481
-
- Follow the same sequence when you change the configuration of your instance. If you're scaling resources up, do so on the secondary first. If you're scaling down, do so the primary first. This applies to the following instance configuration changes:
481
+
- Follow the same sequence when you change the configuration of your instance. If you're scaling resources up, do so on the secondary first. If you're scaling down, do so on the primary first. This applies to the following instance configuration changes:
Copy file name to clipboardExpand all lines: azure-sql/managed-instance/managed-instance-link-migrate.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,11 +88,14 @@ After you've cut over to the SQL managed instance target, monitor your applicati
88
88
89
89
For details, review [post-migration](../migration-guides/managed-instance/sql-server-to-managed-instance-guide.md#post-migration).
90
90
91
-
## Reverse migrate (SQL Server 2022)
91
+
## Reverse a migration
92
92
93
-
Starting with SQL Server 2022 CU10, you can configure a link with Azure SQL Managed Instance as the initial primary and SQL Server as the secondary. This capability allows you to reverse migrate from Azure SQL Managed Instance to SQL Server 2022.
93
+
Reverse migration back to SQL Server from Azure SQL Managed Instance might be supported depending on the [update policy](/azure/azure-sql/managed-instance/update-policy) of your SQL managed instance. For example:
94
+
-[SQL Server 2022 update policy](/azure/azure-sql/managed-instance/update-policy#sql-server-2022-update-policy): Databases from instances configured with the **SQL Server 2022** update policy can be restored back to SQL Server 2022 instances.
95
+
-[SQL Server 2025 update policy](/azure/azure-sql/managed-instance/update-policy#sql-server-2025-update-policy): Databases from instances configured with the **SQL Server 2025** update policy can be restored back to SQL Server 2025 instances.
96
+
-[Always-up-to-date update policy](/azure/azure-sql/managed-instance/update-policy#always-up-to-date-update-policy): Databases from instances configured with the **Always-up-to-date** update policy can't be restored back to SQL Server.
94
97
95
-
To reverse a migration, follow the same steps to configure the link, but start the process with the SQL Managed Instance as your migration source, and the SQL Server 2022 instance as the migration target.
98
+
If your source SQL Server version is earlier than SQL Server 2022, reverse migration isn't possible. When your database is migrated to SQL Managed Instance, it undergoes an internal upgrade to a newer database version that isn't compatible with earlier SQL Server versions. Reverse migration database compatibility is only available when SQL Managed instance is configured with the corresponding update policy.
description: The XEvent Profiler displays a live viewer of extended events. Learn why to use this profiler, key features, and how to get started viewing extended events.
The XEvent Profiler is a SQL Server Management Studio (SSMS) feature that displays a live viewer window of Extended Events. This overview describes the reasons for using this profiler, key features, and instructions to get started viewing Extended Events.
22
23
23
24
## Why would I use the XEvent Profiler?
25
+
24
26
Unlike SQL Profiler, XEvent profiler is directly integrated into SSMS and is built on top of the scalable Extended Events technology in the SQL engine. This feature enables quick access to a live streaming view of diagnostics events on the SQL Server. This view can be customized and those customizations can be shared with other SSMS users as a .viewsettings file. The session created by XE Profiler is less intrusive to the running SQL Server than a similar SQL trace would be when using SQL Profiler. This session can be customized by the user as well, using the existing XE session properties UI or by Transact-SQL.
25
27
26
28
## Prerequisites
29
+
27
30
This feature is only available on SQL Server Management Studio (SSMS) v17.3 or later. Install the latest version of [SQL Server Management Studio (SSMS)](/ssms/install/install).
28
31
29
-
## <aid="getting-started"></a>Getting Started
32
+
<aid="getting-started"></a>
33
+
34
+
## Getting started
35
+
30
36
To access the XEvent Profiler, follow these steps:
31
37
32
38
1. Open **SQL Server Management Studio**.
33
39
34
-
2. Connect to an instance of the SQL Server Database Engine or localhost.
40
+
1. Connect to an instance of the SQL Server Database Engine or localhost.
41
+
42
+
1. In Object Explorer, find the XE Profiler menu item and expand it by selecting the '+' sign.
43
+
44
+
:::image type="content" source="media/use-the-ssms-xe-profiler/xevents-xe-profiler-menu.png" alt-text="Screenshot of the XEProfiler Menu.":::
45
+
46
+
1. Double-click **Standard** if you want to view all events in this session. Select **T-SQL** if you want to view the logged SQL statements. If a session is not already created, a session is created for you.
47
+
48
+
:::image type="content" source="media/use-the-ssms-xe-profiler/xevents-xe-profiler-start-session.png" alt-text="Screenshot of the XEProfiler Session." lightbox="media/use-the-ssms-xe-profiler/xevents-xe-profiler-start-session.png":::
49
+
50
+
1. You can now view events captured by the session.
51
+
52
+
:::image type="content" source="media/use-the-ssms-xe-profiler/xevents-xe-profiler-start-viewer.png" alt-text="Screenshot of the XEProfiler Viewer." lightbox="media/use-the-ssms-xe-profiler/xevents-xe-profiler-start-viewer.png":::
53
+
54
+
## Stop and start the session
55
+
56
+
To start the session, either select **Start data feed** from the **Extended Events** menu in the Live Data Viewer or use the green arrow in the tool bar:
57
+
58
+
:::image type="content" source="media/use-the-ssms-xe-profiler/start-feed.png" alt-text="Screenshot of the start data feed option in the extended events menu in SSMS.":::
59
+
60
+
Likewise, after a session is started, to stop a session select **Stop data feed** from the **Extended Events** menu in the Live Data Viewer or use the red square in the tool bar.
35
61
36
-
3. In Object Explorer, find the XE Profiler menu item and expand it by clicking the '+' sign.
While XEvent Profiler provides the preconfigured **Standard** and **T-SQL** sessions, you can further customize the session to meet your needs by doing the following:
39
65
40
-
4. Double-click **Standard** if you want to view all events in this session. Click **T-SQL** if you want to view the logged SQL statements. If a session is not already created, a session is created for you.
66
+
-**Add or remove columns**: Right-click on any column header in the Live Data viewer and select **Choose Columns...** to add or remove columns to control the display of additional information.
67
+
-**Filter events**: Right-click on any field in the Live Data viewer and select **Filter by this value** to apply criteria to the captured events, such as to focus on a specific application, user, or event type. Alternatively, you can select **Filters...** from the top navigation bar to open the filter dialog box.
5. You can now view events captured by the session.
71
+
To save the data for later analysis, you can export the data feed to a table, or either an `XEL` or `CSV` file. To export the feed, select **Export data...** from the **Extended Events** menu.
Returns the change data capture configuration for each table enabled for change data capture in the current database. Up to two rows can be returned for each source table, one row for each capture instance. Change data capture isn't available in every edition of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)]. For a list of features that are supported by the editions of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)], see [Editions and supported features of SQL Server 2022](../../sql-server/editions-and-components-of-sql-server-2022.md).
0 commit comments