Skip to content

Commit

Permalink
Merge pull request #26900 from MashaMSFT/fixes
Browse files Browse the repository at this point in the history
fixing things
  • Loading branch information
v-shils authored Apr 26, 2023
2 parents 58674a6 + 4a10fca commit a185a10
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 23 deletions.
4 changes: 2 additions & 2 deletions azure-sql/managed-instance/auto-failover-group-sql-mi.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Auto-failover groups overview & best practices
description: Auto-failover groups let you manage geo-replication and automatic / coordinated failover of all user databases on a managed instance in Azure SQL Managed Instance.
author: MilanMSFT
ms.author: mlazic
author: strahinjas
ms.author: sstefanovic
ms.reviewer: mathoma
ms.date: 12/28/2022
ms.service: sql-managed-instance
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Configure license-free standby replica (preview)
description: Learn how to save on licensing costs by using a standby Azure SQL Managed Instance replica.
author: MilanMSFT
ms.author: mlazic
author: strahinjas
ms.author: sstefanovic
ms.reviewer: mathoma
ms.date: 11/16/2022
ms.service: sql-managed-instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: Change automated backup settings
titleSuffix: Azure SQL Managed Instance
description: Change point-in-time restore and backup redundancy options for automatic backups in Azure SQL Managed Instance by using the Azure portal, the Azure CLI, Azure PowerShell, and the REST API.
author: MilanMSFT
ms.author: mlazic
author: strahinjas
ms.author: sstefanovic
ms.reviewer: wiassaf, mathoma, danil
ms.date: 07/20/2022
ms.service: sql-managed-instance
Expand Down
4 changes: 2 additions & 2 deletions azure-sql/managed-instance/automated-backups-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: Automatic, geo-redundant backups
titleSuffix: Azure SQL Managed Instance
description: Learn how Azure SQL Managed Instance automatically backs up all databases and provides point-in-time restore capability.
author: MilanMSFT
ms.author: mlazic
author: strahinjas
ms.author: sstefanovic
ms.reviewer: mathoma, wiassaf, danil
ms.date: 07/20/2022
ms.service: sql-managed-instance
Expand Down
4 changes: 2 additions & 2 deletions azure-sql/managed-instance/backup-activity-monitor.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: "Monitor backup activity"
titleSuffix: Azure SQL Managed Instance
description: Learn how to monitor Azure SQL Managed Instance backup activity by querying the `msdb` database, and by using extended events.
author: MilanMSFT
ms.author: mlazic
author: strahinjas
ms.author: sstefanovic
ms.reviewer: mathoma, nvraparl
ms.date: 11/16/2022
ms.service: sql-managed-instance
Expand Down
4 changes: 2 additions & 2 deletions azure-sql/managed-instance/backup-transparency.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Backup transparency for backup history
description: Learn how to use backup transparency to view the backup history of Azure SQL Managed Instance.
author: MilanMSFT
ms.author: mlazic
author: strahinjas
ms.author: sstefanovic
ms.date: 11/16/2022
ms.service: sql-managed-instance
ms.subservice: backup-restore
Expand Down
4 changes: 2 additions & 2 deletions azure-sql/managed-instance/point-in-time-restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: Point-in-time restore
titleSuffix: Azure SQL Managed Instance
description: Learn how to restore a database to an earlier point in time for Azure SQL Managed Instance.
author: MilanMSFT
ms.author: mlazic
author: strahinjas
ms.author: sstefanovic
ms.reviewer: mathoma, nvraparl
ms.date: 03/25/2023
ms.service: sql-managed-instance
Expand Down
4 changes: 2 additions & 2 deletions azure-sql/managed-instance/recovery-using-backups.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: Restore a database from a backup
titleSuffix: Azure SQL Managed Instance
description: Learn about point-in-time restore, which enables you to roll back a database in Azure SQL Managed Instance up to 35 days.
author: MilanMSFT
ms.author: mlazic
author: strahinjas
ms.author: sstefanovic
ms.reviewer: wiassaf, mathoma, danil
ms.date: 03/25/2023
ms.service: sql-managed-instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: "Quickstart: Restore a backup (SSMS)"
titleSuffix: Azure SQL Managed Instance
description: In this quickstart, learn how to restore a database backup to Azure SQL Managed Instance by using SQL Server Management Studio (SSMS).
author: MilanMSFT
ms.author: mlazic
author: strahinjas
ms.author: sstefanovic
ms.reviewer: mathoma, nvraparl
ms.date: 09/13/2021
ms.service: sql-managed-instance
Expand Down
4 changes: 2 additions & 2 deletions azure-sql/managed-instance/scripts/restore-geo-backup.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: "PowerShell: Restore geo-backup for Azure SQL Managed Instance"
description: Azure PowerShell example script to restore an Azure SQL Managed Instance database from a geo-redundant backup.
author: MilanMSFT
ms.author: mlazic
author: strahinjas
ms.author: sstefanovic
ms.reviewer: mathoma, nvraparl
ms.date: 07/03/2019
ms.service: sql-managed-instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,8 @@ The following schemas in the `msdb` system database in SQL Managed Instance must

SQL Managed Instance places verbose information in error logs. There are many internal system events that are logged in the error log. Use a custom procedure to read error logs that filters out some irrelevant entries. For more information, see [SQL Managed Instance – sp_readmierrorlog](/archive/blogs/sqlcat/azure-sql-db-managed-instance-sp_readmierrorlog) or [SQL Managed Instance extension(preview)](/sql/azure-data-studio/azure-sql-managed-instance-extension#logs) for Azure Data Studio.

Changing the number of retained error logs is unsupported.

## Next steps

- For more information about SQL Managed Instance, see [What is SQL Managed Instance?](sql-managed-instance-paas-overview.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ New-AzResourceGroup -Name $ResourceGroupName -Location $Location

## Create a storage account

The virtual machine requires storage resources for the operating system disk and for the SQL Server data and log files. For simplicity, you'll create a single disk for both. You can attach additional disks later using the [Add-Azure Disk](/powershell/module/servicemanagement/azure.service/add-azuredisk) cmdlet to place your SQL Server data and log files on dedicated disks. Use the [New-AzStorageAccount](/powershell/module/az.storage/new-azstorageaccount) cmdlet to create a standard storage account in your new resource group. Specify the variables that you previously initialized for the storage account name, storage SKU name, and location.
The virtual machine requires storage resources for the operating system disk and for the SQL Server data and log files. For simplicity, you'll create a single disk for both. You can attach additional disks later using the [Add-Azure Disk](/powershell/module/servicemanagement/azure/add-azuredisk) cmdlet to place your SQL Server data and log files on dedicated disks. Use the [New-AzStorageAccount](/powershell/module/az.storage/new-azstorageaccount) cmdlet to create a standard storage account in your new resource group. Specify the variables that you previously initialized for the storage account name, storage SKU name, and location.

Run this cmdlet to create your new storage account.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3210,8 +3210,9 @@ If the Query Store has breached the `MAX_STORAGE_SIZE_MB` limit between storage
Once enough space has been cleared, the Query Store mode will automatically switch back to read-write.

> [!IMPORTANT]
> If you think that your workload capture will need more than 10 GB of disk space, you should probably rethink and optimize your workload to reuse query plans (for example using [forced parameterization](../../relational-databases/query-processing-architecture-guide.md#forced-parameterization), or adjust the Query Store configurations.
> Starting with [!INCLUDE[sql-server-2019](../../includes/sssql19-md.md)] and in [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)], you can set `QUERY_CAPTURE_MODE` to CUSTOM for additional control over the query capture policy.
> - If you think that your workload capture will need more than 10 GB of disk space, you should probably rethink and optimize your workload to reuse query plans (for example using [forced parameterization](../../relational-databases/query-processing-architecture-guide.md#forced-parameterization), or adjust the Query Store configurations.
> - Starting with [!INCLUDE[sql-server-2019](../../includes/sssql19-md.md)] and in [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)], you can set `QUERY_CAPTURE_MODE` to CUSTOM for additional control over the query capture policy.
> - `MAX_STORAGE_SIZE_MB` setting limit is 10,240 MB on [!INCLUDE[sssdsmifull](../../includes/sssdsmifull-md.md)].
#### INTERVAL_LENGTH_MINUTES

Expand Down

0 comments on commit a185a10

Please sign in to comment.