mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-10 02:02:37 -05:00
[Feature] SKU recommendations in SQL migration extension (#1399)
* Initial check in for SQL migration SKU recommendation feature (#1362) Co-authored-by: Raymond Truong <ratruong@microsoft.com> * Integration test for Get SKU Recommendation. (#1377) * Integration test for Get SKU Recommendation. * Addressing comments - 1) Moving sample files to data folder. 2) Changed Assert for Positive Justification. Ideally for MI we are expecting ~6 justifications but this might change so sticking with 'recommendation should have atleast one positive justification'. * Implement start/stop perf data collection (#1369) * Add SqlInstanceRequirements to SKU recommendation output (#1378) * test for data collection start and stop (#1395) * improve error handling, add RefreshPerfDataCollection (#1393) * WIP - refresh data collection * Capture messages before logging * Update Microsoft.SqlServer.Migration.Assessment NuGet version (#1402) * Update NuGet version to 1.0.20220208.23, update assessment metadata * Update SKU recommendation metadata * Include preview SKUs * Clear message/error queue after refreshing * Clean up * Add 'IsCollecting' to RefreshPerfDataCollection (#1405) Co-authored-by: Neetu Singh <23.neetu@gmail.com>
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
//
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
//
|
||||
|
||||
using Microsoft.SqlServer.Migration.SkuRecommendation.Contracts.Models;
|
||||
using Microsoft.SqlServer.Migration.SkuRecommendation.Models.Sql;
|
||||
using Microsoft.SqlTools.Hosting.Protocol.Contracts;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.SqlTools.ServiceLayer.Migration.Contracts
|
||||
{
|
||||
public class GetSkuRecommendationsParams
|
||||
{
|
||||
/// <summary>
|
||||
/// Folder from which collected performance data will be read from
|
||||
/// </summary>
|
||||
public string DataFolder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Interval at which collected performance data was originally queried at, in seconds
|
||||
/// </summary>
|
||||
public int PerfQueryIntervalInSec { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// List of target platforms to consider when generating recommendations
|
||||
/// </summary>
|
||||
public List<string> TargetPlatforms { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Name of the SQL instance to generate recommendations for
|
||||
/// </summary>
|
||||
public string TargetSqlInstance { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Target percentile to use when performing perf data aggregation
|
||||
/// </summary>
|
||||
public int TargetPercentile { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Scaling ("comfort") factor when evalulating performance requirements
|
||||
/// </summary>
|
||||
public int ScalingFactor { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Start time of collected data points to consider
|
||||
///
|
||||
/// TO-DO: do we really need this? it's pretty safe to assume that most users would want us to evaluate all the collected data and not just part of it
|
||||
/// </summary>
|
||||
public string StartTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// End time of collected data points to consider
|
||||
///
|
||||
/// TO-DO: do we really need this? it's pretty safe to assume that most users would want us to evaluate all the collected data and not just part of it
|
||||
/// </summary>
|
||||
public string EndTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not to consider preview SKUs when generating SKU recommendations
|
||||
/// </summary>
|
||||
public bool IncludePreviewSkus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// List of databases to consider when generating recommendations
|
||||
/// </summary>
|
||||
public List<string> DatabaseAllowList { get; set; }
|
||||
}
|
||||
|
||||
public class GetSkuRecommendationsResult
|
||||
{
|
||||
/// <summary>
|
||||
/// List of SQL DB recommendation results, if applicable
|
||||
/// </summary>
|
||||
public List<SkuRecommendationResult> SqlDbRecommendationResults { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// List of SQL MI recommendation results, if applicable
|
||||
/// </summary>
|
||||
public List<SkuRecommendationResult> SqlMiRecommendationResults { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// List of SQL VM recommendation results, if applicable
|
||||
/// </summary>
|
||||
public List<SkuRecommendationResult> SqlVmRecommendationResults { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// SQL instance requirements, representing an aggregated view of the performance requirements of the source instance
|
||||
/// </summary>
|
||||
public SqlInstanceRequirements InstanceRequirements { get; set; }
|
||||
}
|
||||
|
||||
public class GetSkuRecommendationsRequest
|
||||
{
|
||||
public static readonly
|
||||
RequestType<GetSkuRecommendationsParams, GetSkuRecommendationsResult> Type =
|
||||
RequestType<GetSkuRecommendationsParams, GetSkuRecommendationsResult>.Create("migration/getskurecommendations");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
//
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
//
|
||||
|
||||
using Microsoft.SqlTools.Hosting.Protocol.Contracts;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.SqlTools.ServiceLayer.Migration.Contracts
|
||||
{
|
||||
public class StartPerfDataCollectionParams
|
||||
{
|
||||
/// <summary>
|
||||
/// Uri identifier for the connection
|
||||
/// </summary>
|
||||
public string OwnerUri { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Folder from which collected performance data will be written to
|
||||
/// </summary>
|
||||
public string DataFolder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Interval at which performance data will be collected, in seconds
|
||||
/// </summary>
|
||||
public int PerfQueryIntervalInSec { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Interval at which static (common) data will be collected, in seconds
|
||||
/// </summary>
|
||||
public int StaticQueryIntervalInSec { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Number of iterations of performance data collection to run before aggregating and saving to disk
|
||||
/// </summary>
|
||||
public int NumberOfIterations { get; set; }
|
||||
}
|
||||
|
||||
public class StopPerfDataCollectionParams
|
||||
{
|
||||
// TO-DO: currently stop data collection doesn't require any parameters
|
||||
}
|
||||
|
||||
public class RefreshPerfDataCollectionParams
|
||||
{
|
||||
/// <summary>
|
||||
/// The last time data collection status was refreshed
|
||||
/// </summary>
|
||||
public DateTime LastRefreshedTime { get; set; }
|
||||
}
|
||||
|
||||
public class StartPerfDataCollectionResult
|
||||
{
|
||||
/// <summary>
|
||||
/// The time data collection started
|
||||
/// </summary>
|
||||
public DateTime DateTimeStarted { get; set; }
|
||||
}
|
||||
|
||||
public class StopPerfDataCollectionResult
|
||||
{
|
||||
/// <summary>
|
||||
/// The time data collection stopped
|
||||
/// </summary>
|
||||
public DateTime DateTimeStopped { get; set; }
|
||||
}
|
||||
|
||||
public class RefreshPerfDataCollectionResult
|
||||
{
|
||||
/// <summary>
|
||||
/// List of status messages captured during data collection
|
||||
/// </summary>
|
||||
public List<string> Messages { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// List of error messages captured during data collection
|
||||
/// </summary>
|
||||
public List<string> Errors { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The last time data collecton status was refreshed
|
||||
/// </summary>
|
||||
public DateTime RefreshTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not data collection is currently running
|
||||
/// </summary>
|
||||
public bool IsCollecting { get; set; }
|
||||
}
|
||||
|
||||
public class StartPerfDataCollectionRequest
|
||||
{
|
||||
public static readonly
|
||||
RequestType<StartPerfDataCollectionParams, StartPerfDataCollectionResult> Type =
|
||||
RequestType<StartPerfDataCollectionParams, StartPerfDataCollectionResult>.Create("migration/startperfdatacollection");
|
||||
}
|
||||
|
||||
public class StopPerfDataCollectionRequest
|
||||
{
|
||||
public static readonly
|
||||
RequestType<StopPerfDataCollectionParams, StopPerfDataCollectionResult> Type =
|
||||
RequestType<StopPerfDataCollectionParams, StopPerfDataCollectionResult>.Create("migration/stopperfdatacollection");
|
||||
}
|
||||
|
||||
public class RefreshPerfDataCollectionRequest
|
||||
{
|
||||
public static readonly
|
||||
RequestType<RefreshPerfDataCollectionParams, RefreshPerfDataCollectionResult> Type =
|
||||
RequestType<RefreshPerfDataCollectionParams, RefreshPerfDataCollectionResult>.Create("migration/refreshperfdatacollection");
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,534 @@
|
||||
[
|
||||
{
|
||||
"name": "SQLDB_BC_Gen5_2",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 2,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 1024,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 10.4,
|
||||
"TempdbMaxDataSize_GB": 64,
|
||||
"MaxDataIOPS": 8000,
|
||||
"MaxLogRate_MBps": 24,
|
||||
"MaxConcurrentWorkers": 200,
|
||||
"elasticPoolMaxSize_GB": 1024,
|
||||
"ElasticPool_MaxDataIOPS": 9000,
|
||||
"ElasticPool_MaxLogRate_MBps": 30,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_BC_Gen5_4",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 4,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 1024,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 20.8,
|
||||
"TempdbMaxDataSize_GB": 128,
|
||||
"MaxDataIOPS": 16000,
|
||||
"MaxLogRate_MBps": 48,
|
||||
"MaxConcurrentWorkers": 400,
|
||||
"elasticPoolMaxSize_GB": 1024,
|
||||
"ElasticPool_MaxDataIOPS": 18000,
|
||||
"ElasticPool_MaxLogRate_MBps": 60,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_BC_Gen5_6",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 6,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 1536,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 31.1,
|
||||
"TempdbMaxDataSize_GB": 192,
|
||||
"MaxDataIOPS": 24000,
|
||||
"MaxLogRate_MBps": 72,
|
||||
"MaxConcurrentWorkers": 600,
|
||||
"elasticPoolMaxSize_GB": 1536,
|
||||
"ElasticPool_MaxDataIOPS": 27000,
|
||||
"ElasticPool_MaxLogRate_MBps": 90,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_BC_Gen5_8",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 8,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 1536,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 41.5,
|
||||
"TempdbMaxDataSize_GB": 256,
|
||||
"MaxDataIOPS": 32000,
|
||||
"MaxLogRate_MBps": 96,
|
||||
"MaxConcurrentWorkers": 800,
|
||||
"elasticPoolMaxSize_GB": 1536,
|
||||
"ElasticPool_MaxDataIOPS": 36000,
|
||||
"ElasticPool_MaxLogRate_MBps": 120,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_BC_Gen5_10",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 10,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 1536,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 51.9,
|
||||
"TempdbMaxDataSize_GB": 320,
|
||||
"MaxDataIOPS": 40000,
|
||||
"MaxLogRate_MBps": 96,
|
||||
"MaxConcurrentWorkers": 1000,
|
||||
"elasticPoolMaxSize_GB": 1536,
|
||||
"ElasticPool_MaxDataIOPS": 45000,
|
||||
"ElasticPool_MaxLogRate_MBps": 120,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_BC_Gen5_12",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 12,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 3072,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 62.3,
|
||||
"TempdbMaxDataSize_GB": 384,
|
||||
"MaxDataIOPS": 48000,
|
||||
"MaxLogRate_MBps": 96,
|
||||
"MaxConcurrentWorkers": 1200,
|
||||
"elasticPoolMaxSize_GB": 3072,
|
||||
"ElasticPool_MaxDataIOPS": 54000,
|
||||
"ElasticPool_MaxLogRate_MBps": 120,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_BC_Gen5_14",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 14,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 3072,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 72.7,
|
||||
"TempdbMaxDataSize_GB": 448,
|
||||
"MaxDataIOPS": 56000,
|
||||
"MaxLogRate_MBps": 96,
|
||||
"MaxConcurrentWorkers": 1400,
|
||||
"elasticPoolMaxSize_GB": 3072,
|
||||
"ElasticPool_MaxDataIOPS": 63000,
|
||||
"ElasticPool_MaxLogRate_MBps": 120,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_BC_Gen5_16",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 16,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 3072,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 83,
|
||||
"TempdbMaxDataSize_GB": 512,
|
||||
"MaxDataIOPS": 64000,
|
||||
"MaxLogRate_MBps": 96,
|
||||
"MaxConcurrentWorkers": 1600,
|
||||
"elasticPoolMaxSize_GB": 3072,
|
||||
"ElasticPool_MaxDataIOPS": 72000,
|
||||
"ElasticPool_MaxLogRate_MBps": 120,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_BC_Gen5_18",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 18,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 3072,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 93.4,
|
||||
"TempdbMaxDataSize_GB": 576,
|
||||
"MaxDataIOPS": 72000,
|
||||
"MaxLogRate_MBps": 96,
|
||||
"MaxConcurrentWorkers": 1800,
|
||||
"elasticPoolMaxSize_GB": 3072,
|
||||
"ElasticPool_MaxDataIOPS": 81000,
|
||||
"ElasticPool_MaxLogRate_MBps": 120,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_BC_Gen5_20",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 20,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 3072,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 103.8,
|
||||
"TempdbMaxDataSize_GB": 640,
|
||||
"MaxDataIOPS": 80000,
|
||||
"MaxLogRate_MBps": 96,
|
||||
"MaxConcurrentWorkers": 2000,
|
||||
"elasticPoolMaxSize_GB": 3072,
|
||||
"ElasticPool_MaxDataIOPS": 90000,
|
||||
"ElasticPool_MaxLogRate_MBps": 120,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_BC_Gen5_24",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 24,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 4096,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 124.6,
|
||||
"TempdbMaxDataSize_GB": 768,
|
||||
"MaxDataIOPS": 96000,
|
||||
"MaxLogRate_MBps": 96,
|
||||
"MaxConcurrentWorkers": 2400,
|
||||
"elasticPoolMaxSize_GB": 4096,
|
||||
"ElasticPool_MaxDataIOPS": 108000,
|
||||
"ElasticPool_MaxLogRate_MBps": 120,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_BC_Gen5_32",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 32,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 4096,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 166.1,
|
||||
"TempdbMaxDataSize_GB": 1024,
|
||||
"MaxDataIOPS": 128000,
|
||||
"MaxLogRate_MBps": 96,
|
||||
"MaxConcurrentWorkers": 3200,
|
||||
"elasticPoolMaxSize_GB": 4096,
|
||||
"ElasticPool_MaxDataIOPS": 144000,
|
||||
"ElasticPool_MaxLogRate_MBps": 120,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_BC_Gen5_40",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 40,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 4096,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 207.6,
|
||||
"TempdbMaxDataSize_GB": 1280,
|
||||
"MaxDataIOPS": 160000,
|
||||
"MaxLogRate_MBps": 96,
|
||||
"MaxConcurrentWorkers": 4000,
|
||||
"elasticPoolMaxSize_GB": 4096,
|
||||
"ElasticPool_MaxDataIOPS": 180000,
|
||||
"ElasticPool_MaxLogRate_MBps": 120,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_BC_Gen5_80",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 80,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 4096,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 415.2,
|
||||
"TempdbMaxDataSize_GB": 2560,
|
||||
"MaxDataIOPS": 204800,
|
||||
"MaxLogRate_MBps": 96,
|
||||
"MaxConcurrentWorkers": 8000,
|
||||
"elasticPoolMaxSize_GB": 4096,
|
||||
"ElasticPool_MaxDataIOPS": 256000,
|
||||
"ElasticPool_MaxLogRate_MBps": 120,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_GP_Gen5_2",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 2,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 1024,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 10.4,
|
||||
"TempdbMaxDataSize_GB": 64,
|
||||
"MaxDataIOPS": 640,
|
||||
"MaxLogRate_MBps": 7.5,
|
||||
"MaxConcurrentWorkers": 200,
|
||||
"elasticPoolMaxSize_GB": 512,
|
||||
"ElasticPool_MaxDataIOPS": 800,
|
||||
"ElasticPool_MaxLogRate_MBps": 9.4,
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_GP_Gen5_4",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 4,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 1024,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 20.8,
|
||||
"TempdbMaxDataSize_GB": 128,
|
||||
"MaxDataIOPS": 1280,
|
||||
"MaxLogRate_MBps": 15,
|
||||
"MaxConcurrentWorkers": 400,
|
||||
"elasticPoolMaxSize_GB": 756,
|
||||
"ElasticPool_MaxDataIOPS": 1600,
|
||||
"ElasticPool_MaxLogRate_MBps": 18.8,
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_GP_Gen5_6",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 6,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 1536,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 31.1,
|
||||
"TempdbMaxDataSize_GB": 192,
|
||||
"MaxDataIOPS": 1920,
|
||||
"MaxLogRate_MBps": 22.5,
|
||||
"MaxConcurrentWorkers": 600,
|
||||
"elasticPoolMaxSize_GB": 1536,
|
||||
"ElasticPool_MaxDataIOPS": 2400,
|
||||
"ElasticPool_MaxLogRate_MBps": 28.1,
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_GP_Gen5_8",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 8,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 1536,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 41.5,
|
||||
"TempdbMaxDataSize_GB": 256,
|
||||
"MaxDataIOPS": 2560,
|
||||
"MaxLogRate_MBps": 30,
|
||||
"MaxConcurrentWorkers": 800,
|
||||
"elasticPoolMaxSize_GB": 1536,
|
||||
"ElasticPool_MaxDataIOPS": 3200,
|
||||
"ElasticPool_MaxLogRate_MBps": 37.5,
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_GP_Gen5_10",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 10,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 1536,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 51.9,
|
||||
"TempdbMaxDataSize_GB": 320,
|
||||
"MaxDataIOPS": 3200,
|
||||
"MaxLogRate_MBps": 30,
|
||||
"MaxConcurrentWorkers": 1000,
|
||||
"elasticPoolMaxSize_GB": 1536,
|
||||
"ElasticPool_MaxDataIOPS": 4000,
|
||||
"ElasticPool_MaxLogRate_MBps": 37.5,
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_GP_Gen5_12",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 12,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 3072,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 62.3,
|
||||
"TempdbMaxDataSize_GB": 384,
|
||||
"MaxDataIOPS": 3840,
|
||||
"MaxLogRate_MBps": 30,
|
||||
"MaxConcurrentWorkers": 1200,
|
||||
"elasticPoolMaxSize_GB": 2048,
|
||||
"ElasticPool_MaxDataIOPS": 4800,
|
||||
"ElasticPool_MaxLogRate_MBps": 37.5,
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_GP_Gen5_14",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 14,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 3072,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 72.7,
|
||||
"TempdbMaxDataSize_GB": 448,
|
||||
"MaxDataIOPS": 4480,
|
||||
"MaxLogRate_MBps": 30,
|
||||
"MaxConcurrentWorkers": 1400,
|
||||
"elasticPoolMaxSize_GB": 2048,
|
||||
"ElasticPool_MaxDataIOPS": 5600,
|
||||
"ElasticPool_MaxLogRate_MBps": 37.5,
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_GP_Gen5_16",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 16,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 3072,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 83,
|
||||
"TempdbMaxDataSize_GB": 512,
|
||||
"MaxDataIOPS": 5120,
|
||||
"MaxLogRate_MBps": 30,
|
||||
"MaxConcurrentWorkers": 1600,
|
||||
"elasticPoolMaxSize_GB": 2048,
|
||||
"ElasticPool_MaxDataIOPS": 6400,
|
||||
"ElasticPool_MaxLogRate_MBps": 37.5,
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_GP_Gen5_18",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 18,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 3072,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 93.4,
|
||||
"TempdbMaxDataSize_GB": 576,
|
||||
"MaxDataIOPS": 5760,
|
||||
"MaxLogRate_MBps": 30,
|
||||
"MaxConcurrentWorkers": 1800,
|
||||
"elasticPoolMaxSize_GB": 3072,
|
||||
"ElasticPool_MaxDataIOPS": 7200,
|
||||
"ElasticPool_MaxLogRate_MBps": 37.5,
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_GP_Gen5_20",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 20,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 3072,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 103.8,
|
||||
"TempdbMaxDataSize_GB": 640,
|
||||
"MaxDataIOPS": 6400,
|
||||
"MaxLogRate_MBps": 30,
|
||||
"MaxConcurrentWorkers": 2000,
|
||||
"elasticPoolMaxSize_GB": 3072,
|
||||
"ElasticPool_MaxDataIOPS": 8000,
|
||||
"ElasticPool_MaxLogRate_MBps": 37.5,
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_GP_Gen5_24",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 24,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 4096,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 124.6,
|
||||
"TempdbMaxDataSize_GB": 768,
|
||||
"MaxDataIOPS": 7680,
|
||||
"MaxLogRate_MBps": 30,
|
||||
"MaxConcurrentWorkers": 2400,
|
||||
"elasticPoolMaxSize_GB": 3072,
|
||||
"ElasticPool_MaxDataIOPS": 9600,
|
||||
"ElasticPool_MaxLogRate_MBps": 37.5,
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_GP_Gen5_32",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 32,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 4096,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 166.1,
|
||||
"TempdbMaxDataSize_GB": 1024,
|
||||
"MaxDataIOPS": 10240,
|
||||
"MaxLogRate_MBps": 30,
|
||||
"MaxConcurrentWorkers": 3200,
|
||||
"elasticPoolMaxSize_GB": 4096,
|
||||
"ElasticPool_MaxDataIOPS": 12800,
|
||||
"ElasticPool_MaxLogRate_MBps": 37.5,
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_GP_Gen5_40",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 40,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 4096,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 207.6,
|
||||
"TempdbMaxDataSize_GB": 1280,
|
||||
"MaxDataIOPS": 12800,
|
||||
"MaxLogRate_MBps": 30,
|
||||
"MaxConcurrentWorkers": 4000,
|
||||
"elasticPoolMaxSize_GB": 4096,
|
||||
"ElasticPool_MaxDataIOPS": 16000,
|
||||
"ElasticPool_MaxLogRate_MBps": 37.5,
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLDB_GP_Gen5_80",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 80,
|
||||
"minSize_GB": 1,
|
||||
"maxSize_GB": 4096,
|
||||
"sizeIncrement_GB": 1,
|
||||
"Memory_GB": 415.2,
|
||||
"TempdbMaxDataSize_GB": 2560,
|
||||
"MaxDataIOPS": 12800,
|
||||
"MaxLogRate_MBps": 30,
|
||||
"MaxConcurrentWorkers": 8000,
|
||||
"elasticPoolMaxSize_GB": 4096,
|
||||
"ElasticPool_MaxDataIOPS": 16000,
|
||||
"ElasticPool_MaxLogRate_MBps": 37.5,
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,600 @@
|
||||
[
|
||||
{
|
||||
"name": "SQLMI_BC_Gen5_4",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 4,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 1024,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 20.4,
|
||||
"MaxDataIOPS": 16000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_Gen5_8",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 8,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 1024,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 40.8,
|
||||
"MaxDataIOPS": 32000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_Gen5_16",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 16,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 1024,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 81.6,
|
||||
"MaxDataIOPS": 64000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_Gen5_24",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 24,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 2048,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 122.4,
|
||||
"MaxDataIOPS": 96000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_Gen5_32",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 32,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 4096,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 163.2,
|
||||
"MaxDataIOPS": 128000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_Gen5_40",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 40,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 4096,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 204,
|
||||
"MaxDataIOPS": 160000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_Gen5_64",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 64,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 4096,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 326.4,
|
||||
"MaxDataIOPS": 256000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_Gen5_80",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 80,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 4096,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 408,
|
||||
"MaxDataIOPS": 320000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_Gen5_4",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 4,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 2048,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 20.4,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_Gen5_8",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 8,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 8192,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 40.8,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_Gen5_16",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 16,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 81.6,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_Gen5_24",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 24,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 122.4,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_Gen5_32",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 32,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 163.2,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_Gen5_40",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 40,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 204,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_Gen5_64",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 64,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 326.4,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_Gen5_80",
|
||||
"HardwareGen": "Gen5",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 80,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 408,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_PremiumSeries_4",
|
||||
"HardwareGen": "Premium Series",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 4,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 2048,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 28,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_PremiumSeries_8",
|
||||
"HardwareGen": "Premium Series",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 8,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 8192,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 56,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_PremiumSeries_16",
|
||||
"HardwareGen": "Premium Series",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 16,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 112,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_PremiumSeries_24",
|
||||
"HardwareGen": "Premium Series",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 24,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 168,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_PremiumSeries_32",
|
||||
"HardwareGen": "Premium Series",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 32,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 224,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_PremiumSeries_40",
|
||||
"HardwareGen": "Premium Series",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 40,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 280,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_PremiumSeries_64",
|
||||
"HardwareGen": "Premium Series",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 64,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 448,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_PremiumSeries_80",
|
||||
"HardwareGen": "Premium Series",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 80,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 560,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_PremiumSeries_4",
|
||||
"HardwareGen": "Premium Series",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 4,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 1024,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 28,
|
||||
"MaxDataIOPS": 16000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_PremiumSeries_8",
|
||||
"HardwareGen": "Premium Series",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 8,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 1024,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 56,
|
||||
"MaxDataIOPS": 32000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_PremiumSeries_16",
|
||||
"HardwareGen": "Premium Series",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 16,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 2048,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 112,
|
||||
"MaxDataIOPS": 64000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_PremiumSeries_24",
|
||||
"HardwareGen": "Premium Series",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 24,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 2048,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 168,
|
||||
"MaxDataIOPS": 96000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_PremiumSeries_32",
|
||||
"HardwareGen": "Premium Series",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 32,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 4096,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 224,
|
||||
"MaxDataIOPS": 128000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_PremiumSeries_40",
|
||||
"HardwareGen": "Premium Series",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 40,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 5632,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 280,
|
||||
"MaxDataIOPS": 160000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_PremiumSeries_64",
|
||||
"HardwareGen": "Premium Series",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 64,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 5632,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 448,
|
||||
"MaxDataIOPS": 256000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_PremiumSeries_80",
|
||||
"HardwareGen": "Premium Series",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 80,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 5632,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 560,
|
||||
"MaxDataIOPS": 320000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_PremiumSeries_MemoryOptimized_4",
|
||||
"HardwareGen": "Premium Series - Memory Optimized",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 4,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 2048,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 54.4,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_PremiumSeries_MemoryOptimized_8",
|
||||
"HardwareGen": "Premium Series - Memory Optimized",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 8,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 8192,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 108.8,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_PremiumSeries_MemoryOptimized_16",
|
||||
"HardwareGen": "Premium Series - Memory Optimized",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 16,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 217.6,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_PremiumSeries_MemoryOptimized_24",
|
||||
"HardwareGen": "Premium Series - Memory Optimized",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 24,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 326.4,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_PremiumSeries_MemoryOptimized_32",
|
||||
"HardwareGen": "Premium Series - Memory Optimized",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 32,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 435.2,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_PremiumSeries_MemoryOptimized_40",
|
||||
"HardwareGen": "Premium Series - Memory Optimized",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 40,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 544,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_GP_PremiumSeries_MemoryOptimized_64",
|
||||
"HardwareGen": "Premium Series - Memory Optimized",
|
||||
"DocServiceTier": "General Purpose",
|
||||
"VCores": 64,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 870.4,
|
||||
"MaxDataIOPS": "",
|
||||
"IOLatencyMinInMs": 5,
|
||||
"IOLatencyMaxInMs": 10
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_PremiumSeries_MemoryOptimized_4",
|
||||
"HardwareGen": "Premium Series - Memory Optimized",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 4,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 1024,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 54.4,
|
||||
"MaxDataIOPS": 16000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_PremiumSeries_MemoryOptimized_8",
|
||||
"HardwareGen": "Premium Series - Memory Optimized",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 8,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 1024,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 108.8,
|
||||
"MaxDataIOPS": 32000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_PremiumSeries_MemoryOptimized_16",
|
||||
"HardwareGen": "Premium Series - Memory Optimized",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 16,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 2048,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 217.6,
|
||||
"MaxDataIOPS": 64000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_PremiumSeries_MemoryOptimized_24",
|
||||
"HardwareGen": "Premium Series - Memory Optimized",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 24,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 2048,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 326.4,
|
||||
"MaxDataIOPS": 96000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_PremiumSeries_MemoryOptimized_32",
|
||||
"HardwareGen": "Premium Series - Memory Optimized",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 32,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 4096,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 435.2,
|
||||
"MaxDataIOPS": 128000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_PremiumSeries_MemoryOptimized_40",
|
||||
"HardwareGen": "Premium Series - Memory Optimized",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 40,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 5632,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 544,
|
||||
"MaxDataIOPS": 160000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
},
|
||||
{
|
||||
"name": "SQLMI_BC_PremiumSeries_MemoryOptimized_64",
|
||||
"HardwareGen": "Premium Series - Memory Optimized",
|
||||
"DocServiceTier": "Business Critical",
|
||||
"VCores": 64,
|
||||
"minSize_GB": 32,
|
||||
"maxSize_GB": 16384,
|
||||
"sizeIncrement_GB": 32,
|
||||
"Memory_GB": 870.4,
|
||||
"MaxDataIOPS": 256000,
|
||||
"IOLatencyMinInMs": 1,
|
||||
"IOLatencyMaxInMs": 2
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,44 @@
|
||||
[
|
||||
{
|
||||
"FileSizeTier": 0,
|
||||
"FileSizeMinInGB": 0,
|
||||
"FileSizeMaxInGB": 128,
|
||||
"IOPSperFile": 500,
|
||||
"ThroughputPerFileInMiBperSec": 100
|
||||
},
|
||||
{
|
||||
"FileSizeTier": 1,
|
||||
"FileSizeMinInGB": 128,
|
||||
"FileSizeMaxInGB": 512,
|
||||
"IOPSperFile": 2300,
|
||||
"ThroughputPerFileInMiBperSec": 150
|
||||
},
|
||||
{
|
||||
"FileSizeTier": 2,
|
||||
"FileSizeMinInGB": 512,
|
||||
"FileSizeMaxInGB": 1024,
|
||||
"IOPSperFile": 5000,
|
||||
"ThroughputPerFileInMiBperSec": 200
|
||||
},
|
||||
{
|
||||
"FileSizeTier": 3,
|
||||
"FileSizeMinInGB": 1024,
|
||||
"FileSizeMaxInGB": 2048,
|
||||
"IOPSperFile": 7500,
|
||||
"ThroughputPerFileInMiBperSec": 250
|
||||
},
|
||||
{
|
||||
"FileSizeTier": 4,
|
||||
"FileSizeMinInGB": 2048,
|
||||
"FileSizeMaxInGB": 4096,
|
||||
"IOPSperFile": 7500,
|
||||
"ThroughputPerFileInMiBperSec": 250
|
||||
},
|
||||
{
|
||||
"FileSizeTier": 5,
|
||||
"FileSizeMinInGB": 4096,
|
||||
"FileSizeMaxInGB": 8192,
|
||||
"IOPSperFile": 12500,
|
||||
"ThroughputPerFileInMiBperSec": 480
|
||||
}
|
||||
]
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -675,4 +675,22 @@
|
||||
<data name="SyntaxErrorMoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="MemoryOptimizedTablesTitle" xml:space="preserve">
|
||||
<value>Azure SQL Database General Purpose service tier does not support in-memory OLTP (memory optimized tables).</value>
|
||||
</data>
|
||||
<data name="MemoryOptimizedTablesIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="MemoryOptimizedTablesDescription" xml:space="preserve">
|
||||
<value>SQL Server provides an In-Memory OLTP capability. It allows usage of memory-optimized tables, memory-optimized table types, and natively compiled SQL modules to run workloads that have high-throughput and low-latency requirements for transactional processing. Azure SQL Database General Purpose service tier does not support in-memory OLTP (memory optimized tables). This feature is only supported in Azure SQL Database Business Critical service tier.</value>
|
||||
</data>
|
||||
<data name="MemoryOptimizedTablesRecommendation" xml:space="preserve">
|
||||
<value>If you have memory-optimized tables or memory-optimized table types in your on-premises SQL Server instance and you want to migrate to Azure SQL Database, you should either choose the Business Critical tier for your target Azure SQL database that supports In-Memory OLTP (OR) if you want to migrate to the General Purpose tier, remove memory-optimized tables, memory-optimized table types, and natively compiled SQL modules that interact with memory-optimized objects before migrating your databases. You can use the following T-SQL query to identify all objects that need to be removed before migration to the General Purpose tier: SELECT * FROM sys.tables WHERE is_memory_optimized=1, SELECT * FROM sys.table_types WHERE is_memory_optimized=1, SELECT * FROM sys.sql_modules WHERE uses_native_compilation=1</value>
|
||||
</data>
|
||||
<data name="MemoryOptimizedTablesMoreInformation" xml:space="preserve">
|
||||
<value>Azure SQL Database unsupported feature for General Purpose tier.</value>
|
||||
</data>
|
||||
<data name="MemoryOptimizedTablesMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/in-memory-oltp-overview</value>
|
||||
</data>
|
||||
</root>
|
||||
File diff suppressed because one or more lines are too long
@@ -136,7 +136,7 @@
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#database-options</value>
|
||||
</data>
|
||||
<data name="MIDatabaseSizeTitle" xml:space="preserve">
|
||||
<value>Azure SQL Managed Instance does not support database size greater than 8 TB.</value>
|
||||
<value>Azure SQL Managed Instance does not support database size greater than 16 TB.</value>
|
||||
</data>
|
||||
<data name="MIDatabaseSizeIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
@@ -747,4 +747,22 @@
|
||||
<data name="SyntaxErrorMoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="MemoryOptimizedTablesTitle" xml:space="preserve">
|
||||
<value>Azure SQL Managed Instance General Purpose service tier does not support in-memory OLTP (memory optimized tables).</value>
|
||||
</data>
|
||||
<data name="MemoryOptimizedTablesIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="MemoryOptimizedTablesDescription" xml:space="preserve">
|
||||
<value>SQL Server provides an In-Memory OLTP capability. It allows usage of memory-optimized tables, memory-optimized table types, and natively compiled SQL modules to run workloads that have high-throughput and low-latency requirements for transactional processing. Azure SQL Managed Instance General Purpose service tier does not support in-memory OLTP (memory optimized tables). This feature is only supported in Azure SQL Managed Instance Business Critical service tier.</value>
|
||||
</data>
|
||||
<data name="MemoryOptimizedTablesRecommendation" xml:space="preserve">
|
||||
<value>If you have memory-optimized tables or memory-optimized table types in your on-premises SQL Server instance and you want to migrate to Azure SQL Database, you should either choose the Business Critical tier for your target Azure SQL database that supports In-Memory OLTP (OR) if you want to migrate to the General Purpose tier, remove memory-optimized tables, memory-optimized table types, and natively compiled SQL modules that interact with memory-optimized objects before migrating your databases. You can use the following T-SQL query to identify all objects that need to be removed before migration to the General Purpose tier: SELECT * FROM sys.tables WHERE is_memory_optimized=1, SELECT * FROM sys.table_types WHERE is_memory_optimized=1, SELECT * FROM sys.sql_modules WHERE uses_native_compilation=1</value>
|
||||
</data>
|
||||
<data name="MemoryOptimizedTablesMoreInformation" xml:space="preserve">
|
||||
<value>Azure SQL Managed Instance unsupported feature for General Purpose tier.</value>
|
||||
</data>
|
||||
<data name="MemoryOptimizedTablesMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/migration-guides/managed-instance/sql-server-to-managed-instance-overview#in-memory-oltp-memory-optimized-tables</value>
|
||||
</data>
|
||||
</root>
|
||||
File diff suppressed because one or more lines are too long
@@ -1,696 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="SQLDBDatabaseSizeTitle" xml:space="preserve">
|
||||
<value>Azure SQL Database does not support database size greater than 100 TB.</value>
|
||||
</data>
|
||||
<data name="SQLDBDatabaseSizeIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="SQLDBDatabaseSizeDescription" xml:space="preserve">
|
||||
<value>The size of the database is greater than the maximum supported size of 100 TB.</value>
|
||||
</data>
|
||||
<data name="SQLDBDatabaseSizeRecommendation" xml:space="preserve">
|
||||
<value>Evaluate if the data can be archived or compressed or sharded into multiple databases. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="SQLDBDatabaseSizeMoreInformation" xml:space="preserve">
|
||||
<value>Resource limits for single databases</value>
|
||||
</data>
|
||||
<data name="SQLDBDatabaseSizeMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/database/resource-limits-vcore-single-databases</value>
|
||||
</data>
|
||||
<data name="XpCmdshellTitle" xml:space="preserve">
|
||||
<value>xp_cmdshell is not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="XpCmdshellIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="XpCmdshellDescription" xml:space="preserve">
|
||||
<value>xp_cmdshell which spawns a Windows command shell and passes in a string for execution is not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="XpCmdshellRecommendation" xml:space="preserve">
|
||||
<value>Review impacted objects section to see all objects using xp_cmdshell and evaluate if the reference to xp_cmdshell or the impacted object can be removed. Also consider exploring Azure Automation that delivers cloud-based automation and configuration service. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="XpCmdshellMoreInformation" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="XpCmdshellMoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="CDCTitle" xml:space="preserve">
|
||||
<value>Change Data Capture (CDC) is not supported in Azure SQL Database</value>
|
||||
</data>
|
||||
<data name="CDCIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="CDCDescription" xml:space="preserve">
|
||||
<value>Change data capture is designed to capture insert, update, and delete activity applied to SQL Server tables, and to make the details of the changes available in an easily consumed relational format. Change Data Capture (CDC) is not supported in Azure SQL Database</value>
|
||||
</data>
|
||||
<data name="CDCRecommendation" xml:space="preserve">
|
||||
<value>Change Data Capture (CDC) is not supported in Azure SQL Database. Evaluate if Change Tracking can be used instead. Alternatively, migrate to Azure SQL Managed Instance or SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="CDCMoreInformation" xml:space="preserve">
|
||||
<value>How to Enable SQL Azure Change Tracking</value>
|
||||
</data>
|
||||
<data name="CDCMoreInformationlink" xml:space="preserve">
|
||||
<value>https://social.technet.microsoft.com/wiki/contents/articles/2976.azure-sql-how-to-enable-change-tracking.aspx</value>
|
||||
</data>
|
||||
<data name="CrossDatabaseReferencesTitle" xml:space="preserve">
|
||||
<value>Cross-database queries are not supported in Azure SQL Database</value>
|
||||
</data>
|
||||
<data name="CrossDatabaseReferencesIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="CrossDatabaseReferencesDescription" xml:space="preserve">
|
||||
<value>Databases on this server use cross-database queries, which are not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="CrossDatabaseReferencesRecommendation" xml:space="preserve">
|
||||
<value>Azure SQL Database does not support cross-database queries. The following actions are recommended: 1. Migrate the dependent database(s) to Azure SQL Database and use 'Elastic Database Query' (Currently in preview) functionality to query across Azure SQL databases 2. Move the dependent datasets from other databases into the database that is being migrated 3. Migrate to Azure SQL Managed Instance 4. Migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="CrossDatabaseReferencesMoreInformation" xml:space="preserve">
|
||||
<value>Check Azure SQL Database elastic database query (Currently in preview)</value>
|
||||
</data>
|
||||
<data name="CrossDatabaseReferencesMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/database/elastic-query-overview</value>
|
||||
</data>
|
||||
<data name="FileStreamTitle" xml:space="preserve">
|
||||
<value>Filestream is not supported in Azure SQL Database</value>
|
||||
</data>
|
||||
<data name="FileStreamIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="FileStreamDescription" xml:space="preserve">
|
||||
<value>The Filestream feature, which allows you to store unstructured data such as text documents, images, and videos in NTFS file system, is not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="FileStreamRecommendation" xml:space="preserve">
|
||||
<value>Upload the unstructured files to Azure Blob storage and store metadata related to these files (name, type, URL location, storage key etc.) in Azure SQL Database. You may have to re-engineer your application to enable streaming blobs to and from Azure SQL Database. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="FileStreamMoreInformation" xml:space="preserve">
|
||||
<value>See Streaming Blobs To and From SQL Azure</value>
|
||||
</data>
|
||||
<data name="FileStreamMoreInformationlink" xml:space="preserve">
|
||||
<value>https://azure.microsoft.com/en-us/blog/streaming-blobs-to-and-from-sql-azure/</value>
|
||||
</data>
|
||||
<data name="LinkedServerTitle" xml:space="preserve">
|
||||
<value>Linked server functionality is not supported in Azure SQL Database</value>
|
||||
</data>
|
||||
<data name="LinkedServerIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="LinkedServerDescription" xml:space="preserve">
|
||||
<value>Linked servers enable the SQL Server Database Engine to execute commands against OLE DB data sources outside of the instance of SQL Server.</value>
|
||||
</data>
|
||||
<data name="LinkedServerRecommendation" xml:space="preserve">
|
||||
<value>Azure SQL Database does not support linked server functionality. The following actions are recommended to eliminate the need for linked servers: 1. Identify the dependent datasets from remote SQL servers and consider moving these into the database being migrated. 2. Migrate the dependent database(s) to Azure SQL Database and use ‘Elastic Database Query’ functionality (Currently in preview) to query across Azure SQL databases 3. Migrate to Azure SQL Managed Instance if the remote server is SQL Server as well 4. Migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="LinkedServerMoreInformation" xml:space="preserve">
|
||||
<value>Check Azure SQL Database elastic database query (Currently in preview)</value>
|
||||
</data>
|
||||
<data name="LinkedServerMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/database/elastic-query-overview</value>
|
||||
</data>
|
||||
<data name="ServiceBrokerTitle" xml:space="preserve">
|
||||
<value>Service Broker feature is not supported in Azure SQL Database</value>
|
||||
</data>
|
||||
<data name="ServiceBrokerIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="ServiceBrokerDescription" xml:space="preserve">
|
||||
<value>SQL Server Service Broker provides native support for messaging and queuing applications in the SQL Server Database Engine. Service Broker feature is not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="ServiceBrokerRecommendation" xml:space="preserve">
|
||||
<value>Service Broker feature is not supported in Azure SQL Database. Consider migrating to Azure SQL Managed Instance that supports service broker within the same instance. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="ServiceBrokerMoreInformation" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="ServiceBrokerMoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonBlobDataSourceBulkTitle" xml:space="preserve">
|
||||
<value>OpenRowSet used in bulk operation with non-Azure blob storage data source is not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonBlobDataSourceBulkIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonBlobDataSourceBulkDescription" xml:space="preserve">
|
||||
<value>OPENROWSET supports bulk operations through a built-in BULK provider that enables data from a file to be read and returned as a rowset. OPENROWSET with non-Azure blob storage data source is not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonBlobDataSourceBulkRecommendation" xml:space="preserve">
|
||||
<value>Azure SQL Database cannot access file shares and Windows folders, so the files must be imported from Azure blob storage. Therefore, only blob type DATASOURCE is supported in OPENROWSET function. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonBlobDataSourceBulkMoreInformation" xml:space="preserve">
|
||||
<value>Resolving Transact-SQL differences during migration to SQL Database</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonBlobDataSourceBulkMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/database/transact-sql-tsql-differences-sql-server#transact-sql-syntax-not-supported-in-azure-sql-database</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithSQLAndNonSQLProviderTitle" xml:space="preserve">
|
||||
<value>OpenRowSet with SQL or non-SQL provider is not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithSQLAndNonSQLProviderIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithSQLAndNonSQLProviderDescription" xml:space="preserve">
|
||||
<value>OpenRowSet with SQL or non-SQL provider is an alternative to accessing tables in a linked server and is a one-time, ad hoc method of connecting and accessing remote data by using OLE DB. OpenRowSet with SQL or non SQL provider is not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithSQLAndNonSQLProviderRecommendation" xml:space="preserve">
|
||||
<value>Azure SQL Database supports OPENROWSET only to import from Azure blob storage. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithSQLAndNonSQLProviderMoreInformation" xml:space="preserve">
|
||||
<value>Resolving Transact-SQL differences during migration to SQL Database</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithSQLAndNonSQLProviderMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/database/transact-sql-tsql-differences-sql-server#transact-sql-syntax-not-supported-in-azure-sql-database</value>
|
||||
</data>
|
||||
<data name="ClrAssembliesTitle" xml:space="preserve">
|
||||
<value>SQL CLR assemblies are not supported in Azure SQL Database</value>
|
||||
</data>
|
||||
<data name="ClrAssembliesIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="ClrAssembliesDescription" xml:space="preserve">
|
||||
<value>Azure SQL Database does not support SQL CLR assemblies.</value>
|
||||
</data>
|
||||
<data name="ClrAssembliesRecommendation" xml:space="preserve">
|
||||
<value>Currently, there is no way to achieve this in Azure SQL Database. The recommended alternative solutions will require application code and database changes to use only assemblies supported by Azure SQL Database. Alternatively migrate to Azure SQL Managed Instance or SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="ClrAssembliesMoreInformation" xml:space="preserve">
|
||||
<value>Un supported Transact-SQL in Azure SQL Database</value>
|
||||
</data>
|
||||
<data name="ClrAssembliesMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/database/transact-sql-tsql-differences-sql-server#transact-sql-syntax-not-supported-in-azure-sql-database</value>
|
||||
</data>
|
||||
<data name="BulkInsertTitle" xml:space="preserve">
|
||||
<value>BULK INSERT with non-Azure blob data source is not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="BulkInsertIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="BulkInsertDescription" xml:space="preserve">
|
||||
<value>Azure SQL Database cannot access file shares or Windows folders. See the "Impacted Objects" section for the specific uses of BULK INSERT statements that do not reference an Azure blob. Objects with 'BULK INSERT' where the source is not Azure blob storage will not work after migrating to Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="BulkInsertRecommendation" xml:space="preserve">
|
||||
<value>You will need to convert BULK INSERT statements that use local files or file shares to use files from Azure blob storage instead, when migrating to Azure SQL Database. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="BulkInsertMoreInformation" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="BulkInsertMoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="CryptographicProviderTitle" xml:space="preserve">
|
||||
<value>A use of CREATE CRYPTOGRAPHIC PROVIDER or ALTER CRYPTOGRAPHIC PROVIDER was found, which is not supported in Azure SQL Database</value>
|
||||
</data>
|
||||
<data name="CryptographicProviderIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="CryptographicProviderDescription" xml:space="preserve">
|
||||
<value>Azure SQL Database does not support CRYPTOGRAPHIC PROVIDER statements because it cannot access files. See the Impacted Objects section for the specific uses of CRYPTOGRAPHIC PROVIDER statements. Objects with 'CREATE CRYPTOGRAPHIC PROVIDER' or 'ALTER CRYPTOGRAPHIC PROVIDER' will not work correctly after migrating to Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="CryptographicProviderRecommendation" xml:space="preserve">
|
||||
<value>Review objects with 'CREATE CRYPTOGRAPHIC PROVIDER' or 'ALTER CRYPTOGRAPHIC PROVIDER'. In any such objects that are required, remove the uses of these features. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="CryptographicProviderMoreInformation" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="CryptographicProviderMoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="MSDTCTransactSQLTitle" xml:space="preserve">
|
||||
<value>BEGIN DISTRIBUTED TRANSACTION is not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="MSDTCTransactSQLIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="MSDTCTransactSQLDescription" xml:space="preserve">
|
||||
<value>Distributed transaction started by Transact SQL BEGIN DISTRIBUTED TRANSACTION and managed by Microsoft Distributed Transaction Coordinator (MS DTC) is not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="MSDTCTransactSQLRecommendation" xml:space="preserve">
|
||||
<value>Review impacted objects section to see all objects using BEGIN DISTRUBUTED TRANSACTION. Consider migrating the participant databases to Azure SQL Managed Instance where distributed transactions across multiple instances are supported (Currently in preview). Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="MSDTCTransactSQLMoreInformation" xml:space="preserve">
|
||||
<value>Transactions across multiple servers for Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="MSDTCTransactSQLMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/database/elastic-transactions-overview#transactions-across-multiple-servers-for-azure-sql-managed-instance</value>
|
||||
</data>
|
||||
<data name="ComputeClauseTitle" xml:space="preserve">
|
||||
<value>COMPUTE clause is discontinued and has been removed.</value>
|
||||
</data>
|
||||
<data name="ComputeClauseIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="ComputeClauseDescription" xml:space="preserve">
|
||||
<value>The COMPUTE clause generates totals that appear as additional summary columns at the end of the result set. However, this clause is no longer supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="ComputeClauseRecommendation" xml:space="preserve">
|
||||
<value>The T-SQL module needs to be rewritten using the ROLLUP operator instead. The code below demonstrates how COMPUTE can be replaced with ROLLUP: USE AdventureWorks GO; SELECT SalesOrderID, UnitPrice, UnitPriceDiscount FROM Sales.SalesOrderDetail ORDER BY SalesOrderID COMPUTE SUM(UnitPrice), SUM(UnitPriceDiscount) BY SalesOrderID GO; SELECT SalesOrderID, UnitPrice, UnitPriceDiscount,SUM(UnitPrice) as UnitPrice , SUM(UnitPriceDiscount) as UnitPriceDiscount FROM Sales.SalesOrderDetail GROUP BY SalesOrderID, UnitPrice, UnitPriceDiscount WITH ROLLUP;</value>
|
||||
</data>
|
||||
<data name="ComputeClauseMoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="ComputeClauseMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="DatabasePrincipalAliasTitle" xml:space="preserve">
|
||||
<value>SYS.DATABASE_PRINCIPAL_ALIASES is discontinued and has been removed.</value>
|
||||
</data>
|
||||
<data name="DatabasePrincipalAliasIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="DatabasePrincipalAliasDescription" xml:space="preserve">
|
||||
<value>SYS.DATABASE_PRINCIPAL_ALIASES is discontinued and has been removed in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="DatabasePrincipalAliasRecommendation" xml:space="preserve">
|
||||
<value>Use roles instead of aliases.</value>
|
||||
</data>
|
||||
<data name="DatabasePrincipalAliasMoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="DatabasePrincipalAliasMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="DisableDefCNSTCHKTitle" xml:space="preserve">
|
||||
<value>SET option DISABLE_DEF_CNST_CHK is discontinued and has been removed.</value>
|
||||
</data>
|
||||
<data name="DisableDefCNSTCHKIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="DisableDefCNSTCHKDescription" xml:space="preserve">
|
||||
<value>SET option DISABLE_DEF_CNST_CHK is discontinued and has been removed in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="DisableDefCNSTCHKRecommendation" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="DisableDefCNSTCHKMoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="DisableDefCNSTCHKMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="FastFirstRowHintTitle" xml:space="preserve">
|
||||
<value>FASTFIRSTROW query hint is discontinued and has been removed.</value>
|
||||
</data>
|
||||
<data name="FastFirstRowHintIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="FastFirstRowHintDescription" xml:space="preserve">
|
||||
<value>FASTFIRSTROW query hint is discontinued and has been removed in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="FastFirstRowHintRecommendation" xml:space="preserve">
|
||||
<value>Instead of FASTFIRSTROW query hint use OPTION (FAST n).</value>
|
||||
</data>
|
||||
<data name="FastFirstRowHintMoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="FastFirstRowHintMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="NextColumnTitle" xml:space="preserve">
|
||||
<value>Tables and Columns named NEXT will lead to an error In Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="NextColumnIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="NextColumnDescription" xml:space="preserve">
|
||||
<value>Tables or columns named NEXT were detected. Sequences, introduced in Microsoft SQL Server, use the ANSI standard NEXT VALUE FOR function. If a table or a column is named NEXT and the column is aliased as VALUE, and if the ANSI standard AS is omitted, the resulting statement can cause an error.</value>
|
||||
</data>
|
||||
<data name="NextColumnRecommendation" xml:space="preserve">
|
||||
<value>Rewrite statements to include the ANSI standard AS keyword when aliasing a table or column. For example, when a column is named NEXT and that column is aliased as VALUE, the query SELECT NEXT VALUE FROM TABLE will cause an error and should be rewritten as SELECT NEXT AS VALUE FROM TABLE. Similarly, when a table is named NEXT and that table is aliased as VALUE, the query SELECT Col1 FROM NEXT VALUE will cause an error and should be rewritten as SELECT Col1 FROM NEXT AS VALUE.</value>
|
||||
</data>
|
||||
<data name="NextColumnMoreInformation" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="NextColumnMoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="NonANSILeftOuterJoinSyntaxTitle" xml:space="preserve">
|
||||
<value>Non-ANSI style left outer join is discontinued and has been removed.</value>
|
||||
</data>
|
||||
<data name="NonANSILeftOuterJoinSyntaxIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="NonANSILeftOuterJoinSyntaxDescription" xml:space="preserve">
|
||||
<value>Non-ANSI style left outer join is discontinued and has been removed in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="NonANSILeftOuterJoinSyntaxRecommendation" xml:space="preserve">
|
||||
<value>Use ANSI join syntax.</value>
|
||||
</data>
|
||||
<data name="NonANSILeftOuterJoinSyntaxMoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="NonANSILeftOuterJoinSyntaxMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="NonANSIRightOuterJoinSyntaxTitle" xml:space="preserve">
|
||||
<value>Non-ANSI style right outer join is discontinued and has been removed.</value>
|
||||
</data>
|
||||
<data name="NonANSIRightOuterJoinSyntaxIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="NonANSIRightOuterJoinSyntaxDescription" xml:space="preserve">
|
||||
<value>Non-ANSI style right outer join is discontinued and has been removed in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="NonANSIRightOuterJoinSyntaxRecommendation" xml:space="preserve">
|
||||
<value>Use ANSI join syntax.</value>
|
||||
</data>
|
||||
<data name="NonANSIRightOuterJoinSyntaxMoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="NonANSIRightOuterJoinSyntaxMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="RAISERRORTitle" xml:space="preserve">
|
||||
<value>Legacy style RAISERROR calls should be replaced with modern equivalents.</value>
|
||||
</data>
|
||||
<data name="RAISERRORIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="RAISERRORDescription" xml:space="preserve">
|
||||
<value>RAISERROR calls like the below example are termed as legacy-style because they do not include the commas and the parenthesis.RAISERROR 50001 'this is a test'. This method of calling RAISERROR is discontinued and removed in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="RAISERRORRecommendation" xml:space="preserve">
|
||||
<value>Rewrite the statement using the current RAISERROR syntax, or evaluate if the modern approach of BEGIN TRY { } END TRY BEGIN CATCH { THROW; } END CATCH is feasible.</value>
|
||||
</data>
|
||||
<data name="RAISERRORMoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="RAISERRORMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="DbCompatLevelLowerThan100Title" xml:space="preserve">
|
||||
<value>Azure SQL Database doesn’t support compatibility levels below 100.</value>
|
||||
</data>
|
||||
<data name="DbCompatLevelLowerThan100IssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="DbCompatLevelLowerThan100Description" xml:space="preserve">
|
||||
<value>Database Compatibility Level is a valuable tool to assist in database modernization, by allowing the SQL Server Database Engine to be upgraded, while keeping connecting applications functional status by maintaining the same pre-upgrade Database Compatibility Level. Azure SQL Database doesn’t support compatibility levels below 100.</value>
|
||||
</data>
|
||||
<data name="DbCompatLevelLowerThan100Recommendation" xml:space="preserve">
|
||||
<value>Evaluate if the application functionality is intact when the database compatibility level is upgraded to 100 on Azure SQL Managed Instance. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="DbCompatLevelLowerThan100MoreInformation" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="DbCompatLevelLowerThan100MoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="SqlMailTitle" xml:space="preserve">
|
||||
<value>SQL Mail has been discontinued.</value>
|
||||
</data>
|
||||
<data name="SqlMailIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="SqlMailDescription" xml:space="preserve">
|
||||
<value>SQL Mail has been discontinued and removed in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="SqlMailRecommendation" xml:space="preserve">
|
||||
<value>Consider migrating to Azure SQL Managed Instance or SQL Server on Azure Virtual Machines and use Database Mail.</value>
|
||||
</data>
|
||||
<data name="SqlMailMoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="SqlMailMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="SystemProcedures110Title" xml:space="preserve">
|
||||
<value>Detected statements that reference removed system stored procedures that are not available in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="SystemProcedures110IssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="SystemProcedures110Description" xml:space="preserve">
|
||||
<value>Following unsupported system and extended stored procedures cannot be used in Azure SQL database - sp_dboption, sp_addserver, sp_dropalias,sp_activedirectory_obj, sp_activedirectory_scp,sp_activedirectory_start</value>
|
||||
</data>
|
||||
<data name="SystemProcedures110Recommendation" xml:space="preserve">
|
||||
<value>Remove references to unsupported system procedures that have been removed in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="SystemProcedures110MoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="SystemProcedures110MoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="AgentJobsTitle" xml:space="preserve">
|
||||
<value>SQL Server Agent jobs are not available in Azure SQL Database</value>
|
||||
</data>
|
||||
<data name="AgentJobsIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="AgentJobsDescription" xml:space="preserve">
|
||||
<value>SQL Server Agent is a Microsoft Windows service that executes scheduled administrative tasks, which are called jobs in SQL Server. SQL Server Agent jobs are not available in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="AgentJobsRecommendation" xml:space="preserve">
|
||||
<value>Use Elastic Database Jobs (preview), which are the replacement for SQL Server Agent jobs in Azure SQL Database. Elastic Database Jobs for Azure SQL Database allow you to reliably execute T-SQL scripts that span multiple databases while automatically retrying and providing eventual completion guarantees. Alternatively consider migrating to Azure SQL Managed Instance or SQL Server on Azure Virtual Machines.</value>
|
||||
</data>
|
||||
<data name="AgentJobsMoreInformation" xml:space="preserve">
|
||||
<value>Getting started with Elastic Database Jobs (Preview)</value>
|
||||
</data>
|
||||
<data name="AgentJobsMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/database/elastic-jobs-overview</value>
|
||||
</data>
|
||||
<data name="DatabaseMailTitle" xml:space="preserve">
|
||||
<value>Database Mail is not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="DatabaseMailIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="DatabaseMailDescription" xml:space="preserve">
|
||||
<value>This server uses the Database Mail feature, which is not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="DatabaseMailRecommendation" xml:space="preserve">
|
||||
<value>Consider migrating to Azure SQL Managed Instance or SQL Server on Azure Virtual Machine that supports Database Mail. Alternatively, consider using Azure functions and Sendgrid to accomplish mail functionality on Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="DatabaseMailMoreInformation" xml:space="preserve">
|
||||
<value>Send email from Azure SQL Database using Azure Functions</value>
|
||||
</data>
|
||||
<data name="DatabaseMailMoreInformationlink" xml:space="preserve">
|
||||
<value>https://github.com/microsoft/DataMigrationTeam/tree/master/IP%20and%20Scripts/AF%20SendMail</value>
|
||||
</data>
|
||||
<data name="ServerAuditsTitle" xml:space="preserve">
|
||||
<value>Server Audits is not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="ServerAuditsIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="ServerAuditsDescription" xml:space="preserve">
|
||||
<value>Auditing an instance of the SQL Server Database Engine or an individual database involves tracking and logging events that occur on the Database Engine. SQL Server audit lets you create server audits, which can contain server audit specifications for server level events, and database audit specifications for database level events. Server audits are not supported in Azure SQL Database, use database audits as a replacement.</value>
|
||||
</data>
|
||||
<data name="ServerAuditsRecommendation" xml:space="preserve">
|
||||
<value>Consider Azure SQL Database audit features to replace Server Audits. Azure SQL supports audit, and the features are richer than SQL Server. Azure SQL database can audit various database actions and events, including: Access to data, Schema changes (DDL), Data changes (DML), Accounts, roles, and permissions (DCL, Security exceptions. Azure SQL Database Auditing increases an organization's ability to gain deep insight into events and changes that occur within their SQL database, including updates and queries against the data. Alternatively migrate to Azure SQL Managed Instance or SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="ServerAuditsMoreInformation" xml:space="preserve">
|
||||
<value>Auditing for Azure SQL Database</value>
|
||||
</data>
|
||||
<data name="ServerAuditsMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/database/auditing-overview</value>
|
||||
</data>
|
||||
<data name="ServerCredentialsTitle" xml:space="preserve">
|
||||
<value>Server scoped credential is not supported in Azure SQL Database</value>
|
||||
</data>
|
||||
<data name="ServerCredentialsIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="ServerCredentialsDescription" xml:space="preserve">
|
||||
<value>A credential is a record that contains the authentication information (credentials) required to connect to a resource outside SQL Server. Azure SQL Database supports database credentials, but not the ones created at the SQL Server scope.</value>
|
||||
</data>
|
||||
<data name="ServerCredentialsRecommendation" xml:space="preserve">
|
||||
<value>Azure SQL Database supports database scoped credentials. Convert server scoped credentials to database scoped credentials. Alternatively migrate to Azure SQL Managed Instance or SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="ServerCredentialsMoreInformation" xml:space="preserve">
|
||||
<value>Creating database scoped credential</value>
|
||||
</data>
|
||||
<data name="ServerCredentialsMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/sql/t-sql/statements/create-database-scoped-credential-transact-sql?redirectedfrom=MSDN&view=sql-server-ver15</value>
|
||||
</data>
|
||||
<data name="ServerScopedTriggersTitle" xml:space="preserve">
|
||||
<value>Server-scoped trigger is not supported in Azure SQL Database</value>
|
||||
</data>
|
||||
<data name="ServerScopedTriggersIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="ServerScopedTriggersDescription" xml:space="preserve">
|
||||
<value>A trigger is a special kind of stored procedure that executes in response to certain action on a table like insertion, deletion, or updating of data. Server-scoped triggers are not supported in Azure SQL Database. Azure SQL Database does not support the following options for triggers: FOR LOGON, ENCRYPTION, WITH APPEND, NOT FOR REPLICATION, EXTERNAL NAME option (there is no external method support), ALL SERVER Option (DDL Trigger), Trigger on a LOGON event (Logon Trigger), Azure SQL Database does not support CLR-triggers.</value>
|
||||
</data>
|
||||
<data name="ServerScopedTriggersRecommendation" xml:space="preserve">
|
||||
<value>Use database level trigger instead. Alternatively migrate to Azure SQL Managed Instance or SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="ServerScopedTriggersMoreInformation" xml:space="preserve">
|
||||
<value>Resolving Transact-SQL differences during migration to SQL Database</value>
|
||||
</data>
|
||||
<data name="ServerScopedTriggersMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/database/transact-sql-tsql-differences-sql-server#transact-sql-syntax-not-supported-in-azure-sql-database</value>
|
||||
</data>
|
||||
<data name="TraceFlagsTitle" xml:space="preserve">
|
||||
<value>Azure SQL Database does not support trace flags</value>
|
||||
</data>
|
||||
<data name="TraceFlagsIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="TraceFlagsDescription" xml:space="preserve">
|
||||
<value>Trace flags are used to temporarily set specific server characteristics or to switch off a particular behavior. Trace flags are frequently used to diagnose performance issues or to debug stored procedures or complex computer systems. Azure SQL Database does not support trace flags.</value>
|
||||
</data>
|
||||
<data name="TraceFlagsRecommendation" xml:space="preserve">
|
||||
<value>Review impacted objects section to see all trace flags that are not supported in Azure SQL Database and evaluate if they can be removed. Alternatively, migrate to Azure SQL Managed Instance which supports limited number of global trace flags or SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="TraceFlagsMoreInformation" xml:space="preserve">
|
||||
<value>Resolving Transact-SQL differences during migration to SQL Database</value>
|
||||
</data>
|
||||
<data name="TraceFlagsMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/database/transact-sql-tsql-differences-sql-server#transact-sql-syntax-not-supported-in-azure-sql-database</value>
|
||||
</data>
|
||||
<data name="WindowsAuthenticationTitle" xml:space="preserve">
|
||||
<value>Database users mapped with Windows authentication (integrated security) are not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="WindowsAuthenticationIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="WindowsAuthenticationDescription" xml:space="preserve">
|
||||
<value>Azure SQL Database supports two types of authentication 1) SQL Authentication, which uses a username and password 2) Azure Active Directory Authentication, which uses identities managed by Azure Active Directory and is supported for managed and integrated domains. Database users mapped with Windows authentication (integrated security) are not supported in Azure SQL Database.</value>
|
||||
</data>
|
||||
<data name="WindowsAuthenticationRecommendation" xml:space="preserve">
|
||||
<value>Federate the local Active Directory with Azure Active Directory. The Windows identity can then be replaced with the equivalent Azure Active Directory identities. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="WindowsAuthenticationMoreInformation" xml:space="preserve">
|
||||
<value>An overview of Azure SQL Database and SQL Managed Instance security capabilities</value>
|
||||
</data>
|
||||
<data name="WindowsAuthenticationMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/database/security-overview#authentication</value>
|
||||
</data>
|
||||
<data name="SyntaxErrorTitle" xml:space="preserve">
|
||||
<value>Syntax issue on the source server</value>
|
||||
</data>
|
||||
<data name="SyntaxErrorIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="SyntaxErrorDescription" xml:space="preserve">
|
||||
<value>While parsing the objects on the source database, one or more syntax issues were found. Syntax issues on the source database indicate that some objects contain unsupported syntax in the server version and database compatibility level.</value>
|
||||
</data>
|
||||
<data name="SyntaxErrorRecommendation" xml:space="preserve">
|
||||
<value>Review the list of objects and issues reported, fix the syntax errors, and re-run assessment before migrating this database.</value>
|
||||
</data>
|
||||
<data name="SyntaxErrorMoreInformation" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="SyntaxErrorMoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
</root>
|
||||
File diff suppressed because one or more lines are too long
@@ -1,768 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="MultipleLogFilesTitle" xml:space="preserve">
|
||||
<value>Azure SQL Managed Instance does not support multiple log files.</value>
|
||||
</data>
|
||||
<data name="MultipleLogFilesIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="MultipleLogFilesDescription" xml:space="preserve">
|
||||
<value>SQL Server allows a database to log to multiple files. This database has multiple log files which is not supported in Azure SQL Managed Instance. This database can’t be migrated as the backup can’t be restored on Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="MultipleLogFilesRecommendation" xml:space="preserve">
|
||||
<value>Azure SQL Managed Instance supports only a single log per database. You need to delete all but one of the log files before migrating this database to Azure: ALTER DATABASE [database_name] REMOVE FILE [log_file_name];</value>
|
||||
</data>
|
||||
<data name="MultipleLogFilesMoreInformation" xml:space="preserve">
|
||||
<value>Unsupported database options in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="MultipleLogFilesMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#database-options</value>
|
||||
</data>
|
||||
<data name="MIDatabaseSizeTitle" xml:space="preserve">
|
||||
<value>Azure SQL Managed Instance does not support database size greater than 8 TB.</value>
|
||||
</data>
|
||||
<data name="MIDatabaseSizeIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="MIDatabaseSizeDescription" xml:space="preserve">
|
||||
<value>The size of the database is greater than maximum instance reserved storage. This database can’t be selected for migration as the size exceeded the allowed limit.</value>
|
||||
</data>
|
||||
<data name="MIDatabaseSizeRecommendation" xml:space="preserve">
|
||||
<value>Evaluate if the data can be archived compressed or sharded into multiple databases. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="MIDatabaseSizeMoreInformation" xml:space="preserve">
|
||||
<value>Hardware generation characteristics of Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="MIDatabaseSizeMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/resource-limits#hardware-generation-characteristics</value>
|
||||
</data>
|
||||
<data name="FileStreamTitle" xml:space="preserve">
|
||||
<value>Filestream and Filetable are not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="FileStreamIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="FileStreamDescription" xml:space="preserve">
|
||||
<value>The Filestream feature, which allows you to store unstructured data such as text documents, images, and videos in NTFS file system, is not supported in Azure SQL Managed Instance. This database can’t be migrated as the backup containing Filestream filegroups can’t be restored on Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="FileStreamRecommendation" xml:space="preserve">
|
||||
<value>Upload the unstructured files to Azure Blob storage and store metadata related to these files (name, type, URL location, storage key etc.) in Azure SQL Managed Instance. You may have to re-engineer your application to enable streaming blobs to and from Azure SQL Managed Instance. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="FileStreamMoreInformation" xml:space="preserve">
|
||||
<value>Streaming Blobs To and From SQL Azure</value>
|
||||
</data>
|
||||
<data name="FileStreamMoreInformationlink" xml:space="preserve">
|
||||
<value>https://azure.microsoft.com/en-in/blog/streaming-blobs-to-and-from-sql-azure/</value>
|
||||
</data>
|
||||
<data name="XpCmdshellTitle" xml:space="preserve">
|
||||
<value>xp_cmdshell is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="XpCmdshellIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="XpCmdshellDescription" xml:space="preserve">
|
||||
<value>Xp_cmdshell which spawns a Windows command shell and passes in a string for execution is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="XpCmdshellRecommendation" xml:space="preserve">
|
||||
<value>Review impacted objects section to see all objects using xp_cmdshell and evaluate if the reference to xp_cmdshell or the impacted object can be removed. Consider exploring Azure Automation that delivers cloud-based automation and configuration service. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="XpCmdshellMoreInformation" xml:space="preserve">
|
||||
<value>Stored Procedure differences in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="XpCmdshellMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#stored-procedures-functions-and-triggers</value>
|
||||
</data>
|
||||
<data name="ServiceBrokerWithNonLocalAddressTitle" xml:space="preserve">
|
||||
<value>Service Broker feature is partially supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="ServiceBrokerWithNonLocalAddressIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="ServiceBrokerWithNonLocalAddressDescription" xml:space="preserve">
|
||||
<value>SQL Server Service Broker provides native support for messaging and queuing applications in the SQL Server Database Engine. This database has cross-instance Service Broker enabled which is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="ServiceBrokerWithNonLocalAddressRecommendation" xml:space="preserve">
|
||||
<value>Azure SQL Managed Instance does not support cross-instance service broker, i.e., where the address is not local. You need to disable Service Broker using the following command before migrating this database to Azure: ALTER DATABASE [database_name] SET DISABLE_BROKER; In addition, you may also need to remove or stop the Service Broker endpoint in order to prevent messages from arriving in the SQL instance. Once the database has been migrated to Azure, you can look into Azure Service Bus functionality to implement a generic, cloud-based messaging system instead of Service Broker. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="ServiceBrokerWithNonLocalAddressMoreInformation" xml:space="preserve">
|
||||
<value>Service Broker differences in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="ServiceBrokerWithNonLocalAddressMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#service-broker</value>
|
||||
</data>
|
||||
<data name="LinkedServerWithNonSQLProviderTitle" xml:space="preserve">
|
||||
<value>Linked server with non-SQL Server Provider is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="LinkedServerWithNonSQLProviderIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="LinkedServerWithNonSQLProviderDescription" xml:space="preserve">
|
||||
<value>Linked servers enable the SQL Server Database Engine to execute commands against OLE DB data sources outside of the instance of SQL Server. Linked server with non-SQL Server Provider is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="LinkedServerWithNonSQLProviderRecommendation" xml:space="preserve">
|
||||
<value>Azure SQL Managed Instance does not support linked server functionality if the remote server provider is non-SQL Server like Oracle, Sybase etc. The following actions are recommended to eliminate the need for linked servers: 1. Identify the dependent database(s) from remote non-SQL servers and consider moving these into the database being migrated. 2. Migrate the dependent database(s) to supported targets like Azure SQL Managed Instance, Azure SQL Database, Azure Synapse SQL, and SQL Server on Azure Virtual Machine. 3. Consider creating linked server between Azure SQL Managed Instance and SQL Server on Azure Virtual Machine (SQL VM). Then from SQL VM create linked server to Oracle, Sybase etc. This approach does involve two hops but can be used as temporary workaround. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="LinkedServerWithNonSQLProviderMoreInformation" xml:space="preserve">
|
||||
<value>Linked Server differences in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="LinkedServerWithNonSQLProviderMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#linked-servers</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonBlobDataSourceBulkTitle" xml:space="preserve">
|
||||
<value>OpenRowSet used in bulk operation with non-Azure blob storage data source is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonBlobDataSourceBulkIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonBlobDataSourceBulkDescription" xml:space="preserve">
|
||||
<value>OPENROWSET supports bulk operations through a built-in BULK provider that enables data from a file to be read and returned as a rowset. OPENROWSET with non-Azure blob storage data source is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonBlobDataSourceBulkRecommendation" xml:space="preserve">
|
||||
<value>Azure SQL Managed Instance cannot access file shares and Windows folders, so the files must be imported from Azure blob storage. Therefore, only blob type DATASOURCE is supported in OPENROWSET function. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonBlobDataSourceBulkMoreInformation" xml:space="preserve">
|
||||
<value>Bulk Insert and OPENROWSET differences in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonBlobDataSourceBulkMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#bulk-insert--openrowset</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonSQLProviderTitle" xml:space="preserve">
|
||||
<value>OpenRowSet with non-SQL provider is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonSQLProviderIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonSQLProviderDescription" xml:space="preserve">
|
||||
<value>This method is an alternative to accessing tables in a linked server and is a one-time, ad hoc method of connecting and accessing remote data by using OLE DB. OpenRowSet with non-SQL provider is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonSQLProviderRecommendation" xml:space="preserve">
|
||||
<value>OPENROWSET function can be used to execute queries only on SQL Server instances (either managed, on-premises, or in Virtual Machines). Only SQLNCLI, SQLNCLI11, and SQLOLEDB values are supported as provider. Therefore, the recommendation action is that identify the dependent database(s) from remote non-SQL Servers and consider moving these into the database being migrated. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonSQLProviderMoreInformation" xml:space="preserve">
|
||||
<value>Bulk Insert and OPENROWSET differences in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="OpenRowsetWithNonSQLProviderMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#bulk-insert--openrowset</value>
|
||||
</data>
|
||||
<data name="AssemblyFromFileTitle" xml:space="preserve">
|
||||
<value>'CREATE ASSEMBLY' and 'ALTER ASSEMBLY' with a file parameter are unsupported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="AssemblyFromFileIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="AssemblyFromFileDescription" xml:space="preserve">
|
||||
<value>Azure SQL Managed Instance does not support 'CREATE ASSEMBLY' or 'ALTER ASSEMBLY' with a file parameter. A binary parameter is supported. See the Impacted Objects section for the specific object where the file parameter is used.</value>
|
||||
</data>
|
||||
<data name="AssemblyFromFileRecommendation" xml:space="preserve">
|
||||
<value>Review objects using 'CREATE ASSEMBLY' or 'ALTER ASSEMBLY with a file parameter. If any such objects that are required, convert the file parameter to a binary parameter. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="AssemblyFromFileMoreInformation" xml:space="preserve">
|
||||
<value>CLR differences in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="AssemblyFromFileMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#clr</value>
|
||||
</data>
|
||||
<data name="BulkInsertTitle" xml:space="preserve">
|
||||
<value>BULK INSERT with non-Azure blob data source is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="BulkInsertIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="BulkInsertDescription" xml:space="preserve">
|
||||
<value>Azure SQL Managed Instance cannot access file shares or Windows folders. See the "Impacted Objects" section for the specific uses of BULK INSERT statements that do not reference an Azure blob. Objects with 'BULK INSERT' where the source is not Azure blob storage will not work after migrating to Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="BulkInsertRecommendation" xml:space="preserve">
|
||||
<value>You will need to convert BULK INSERT statements that use local files or file shares to use files from Azure blob storage instead, when migrating to Azure SQL Managed Instance. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="BulkInsertMoreInformation" xml:space="preserve">
|
||||
<value>Bulk Insert and OPENROWSET differences in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="BulkInsertMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#bulk-insert--openrowset</value>
|
||||
</data>
|
||||
<data name="CryptographicProviderTitle" xml:space="preserve">
|
||||
<value>A use of CREATE CRYPTOGRAPHIC PROVIDER or ALTER CRYPTOGRAPHIC PROVIDER was found, which is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="CryptographicProviderIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="CryptographicProviderDescription" xml:space="preserve">
|
||||
<value>Azure SQL Managed Instance does not support CRYPTOGRAPHIC PROVIDER statements because it cannot access files. See the Impacted Objects section for the specific uses of CRYPTOGRAPHIC PROVIDER statements. Objects with 'CREATE CRYPTOGRAPHIC PROVIDER' or 'ALTER CRYPTOGRAPHIC PROVIDER' will not work correctly after migrating to Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="CryptographicProviderRecommendation" xml:space="preserve">
|
||||
<value>Review objects with 'CREATE CRYPTOGRAPHIC PROVIDER' or 'ALTER CRYPTOGRAPHIC PROVIDER'. In any such objects that are required, remove the uses of these features. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="CryptographicProviderMoreInformation" xml:space="preserve">
|
||||
<value>Cryptographic provider differences in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="CryptographicProviderMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#cryptographic-providers</value>
|
||||
</data>
|
||||
<data name="MIHomogeneousMSDTCTransactSQLTitle" xml:space="preserve">
|
||||
<value>BEGIN DISTRIBUTED TRANSACTION is supported across multiple servers for Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="MIHomogeneousMSDTCTransactSQLIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="MIHomogeneousMSDTCTransactSQLDescription" xml:space="preserve">
|
||||
<value>Distributed transaction started by Transact SQL BEGIN DISTRIBUTED TRANSACTION and managed by Microsoft Distributed Transaction Coordinator (MS DTC) is supported across multiple servers for Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="MIHomogeneousMSDTCTransactSQLRecommendation" xml:space="preserve">
|
||||
<value>Review impacted objects section to see all objects using BEGIN DISTRUBUTED TRANSACTION. Consider migrating the participant databases to Azure SQL Managed Instance where distributed transactions across multiple instances are supported (Currently in preview). Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="MIHomogeneousMSDTCTransactSQLMoreInformation" xml:space="preserve">
|
||||
<value>Transactions across multiple servers for Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="MIHomogeneousMSDTCTransactSQLMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/database/elastic-transactions-overview#transactions-across-multiple-servers-for-azure-sql-managed-instance</value>
|
||||
</data>
|
||||
<data name="MIHeterogeneousMSDTCTransactSQLTitle" xml:space="preserve">
|
||||
<value>BEGIN DISTRIBUTED TRANSACTION with non-SQL Server remote server is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="MIHeterogeneousMSDTCTransactSQLIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="MIHeterogeneousMSDTCTransactSQLDescription" xml:space="preserve">
|
||||
<value>Distributed transaction started by Transact SQL BEGIN DISTRIBUTED TRANSACTION and managed by Microsoft Distributed Transaction Coordinator (MS DTC) is not supported in Azure SQL Managed Instance if the remote server is not SQL Server.</value>
|
||||
</data>
|
||||
<data name="MIHeterogeneousMSDTCTransactSQLRecommendation" xml:space="preserve">
|
||||
<value>Review impacted objects section to see all objects using BEGIN DISTRUBUTED TRANSACTION. Consider migrating the participant databases to Azure SQL Managed Instance where distributed transactions across multiple instances are supported (Currently in preview). Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="MIHeterogeneousMSDTCTransactSQLMoreInformation" xml:space="preserve">
|
||||
<value>Transactions across multiple servers for Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="MIHeterogeneousMSDTCTransactSQLMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/database/elastic-transactions-overview#transactions-across-multiple-servers-for-azure-sql-managed-instance</value>
|
||||
</data>
|
||||
<data name="ClrStrictSecurityTitle" xml:space="preserve">
|
||||
<value>CLR assemblies marked as SAFE or EXTERNAL_ACCESS are considered UNSAFE</value>
|
||||
</data>
|
||||
<data name="ClrStrictSecurityIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="ClrStrictSecurityDescription" xml:space="preserve">
|
||||
<value>CLR Strict Security mode is enforced in Azure SQL Managed Instance. This mode is enabled by default and introduces breaking changes for databases containing user defined CLR assemblies marked either SAFE or EXTERNAL_ACCESS.</value>
|
||||
</data>
|
||||
<data name="ClrStrictSecurityRecommendation" xml:space="preserve">
|
||||
<value>CLR uses Code Access Security (CAS) in the .NET Framework, which is no longer supported as a security boundary. Beginning with SQL Server 2017 (14.x) Database Engine, an sp_configure option called clr strict security is introduced to enhance the security of CLR assemblies. clr strict security is enabled by default and treats SAFE and EXTERNAL_ACCESS CLR assemblies as if they were marked UNSAFE. When clr strict security is disabled, a CLR assembly created with PERMISSION_SET = SAFE may be able to access external system resources, call unmanaged code, and acquire sysadmin privileges. After enabling strict security, any assemblies that are not signed will fail to load. Also, if a database has SAFE or EXTERNAL_ACCESS assemblies, RESTORE or ATTACH DATABASE statements can complete, but the assemblies may fail to load. To load the assemblies, you must either alter or drop and recreate each assembly so that it is signed with a certificate or asymmetric key that has a corresponding login with the UNSAFE ASSEMBLY permission on the server.</value>
|
||||
</data>
|
||||
<data name="ClrStrictSecurityMoreInformation" xml:space="preserve">
|
||||
<value>CLR strict security</value>
|
||||
</data>
|
||||
<data name="ClrStrictSecurityMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/clr-strict-security?view=sql-server-ver15</value>
|
||||
</data>
|
||||
<data name="ComputeClauseTitle" xml:space="preserve">
|
||||
<value>COMPUTE clause is discontinued and has been removed.</value>
|
||||
</data>
|
||||
<data name="ComputeClauseIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="ComputeClauseDescription" xml:space="preserve">
|
||||
<value>The COMPUTE clause generates totals that appear as additional summary columns at the end of the result set. However, this clause is no longer supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="ComputeClauseRecommendation" xml:space="preserve">
|
||||
<value>The T-SQL module needs to be rewritten using the ROLLUP operator instead. The code below demonstrates how COMPUTE can be replaced with ROLLUP: USE AdventureWorks GO; SELECT SalesOrderID, UnitPrice, UnitPriceDiscount FROM Sales.SalesOrderDetail ORDER BY SalesOrderID COMPUTE SUM(UnitPrice), SUM(UnitPriceDiscount) BY SalesOrderID GO; SELECT SalesOrderID, UnitPrice, UnitPriceDiscount,SUM(UnitPrice) as UnitPrice , SUM(UnitPriceDiscount) as UnitPriceDiscount FROM Sales.SalesOrderDetail GROUP BY SalesOrderID, UnitPrice, UnitPriceDiscount WITH ROLLUP;</value>
|
||||
</data>
|
||||
<data name="ComputeClauseMoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="ComputeClauseMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="DatabasePrincipalAliasTitle" xml:space="preserve">
|
||||
<value>SYS.DATABASE_PRINCIPAL_ALIASES is discontinued and has been removed.</value>
|
||||
</data>
|
||||
<data name="DatabasePrincipalAliasIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="DatabasePrincipalAliasDescription" xml:space="preserve">
|
||||
<value>SYS.DATABASE_PRINCIPAL_ALIASES is discontinued and has been removed in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="DatabasePrincipalAliasRecommendation" xml:space="preserve">
|
||||
<value>Use roles instead of aliases.</value>
|
||||
</data>
|
||||
<data name="DatabasePrincipalAliasMoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="DatabasePrincipalAliasMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="DisableDefCNSTCHKTitle" xml:space="preserve">
|
||||
<value>SET option DISABLE_DEF_CNST_CHK is discontinued and has been removed.</value>
|
||||
</data>
|
||||
<data name="DisableDefCNSTCHKIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="DisableDefCNSTCHKDescription" xml:space="preserve">
|
||||
<value>SET option DISABLE_DEF_CNST_CHK is discontinued and has been removed in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="DisableDefCNSTCHKRecommendation" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="DisableDefCNSTCHKMoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="DisableDefCNSTCHKMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="FastFirstRowHintTitle" xml:space="preserve">
|
||||
<value>FASTFIRSTROW query hint is discontinued and has been removed.</value>
|
||||
</data>
|
||||
<data name="FastFirstRowHintIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="FastFirstRowHintDescription" xml:space="preserve">
|
||||
<value>FASTFIRSTROW query hint is discontinued and has been removed in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="FastFirstRowHintRecommendation" xml:space="preserve">
|
||||
<value>Instead of FASTFIRSTROW query hint use OPTION (FAST n).</value>
|
||||
</data>
|
||||
<data name="FastFirstRowHintMoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="FastFirstRowHintMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="NextColumnTitle" xml:space="preserve">
|
||||
<value>Tables and Columns named NEXT will lead to an error In Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="NextColumnIssueCategory" xml:space="preserve">
|
||||
<value>Issue</value>
|
||||
</data>
|
||||
<data name="NextColumnDescription" xml:space="preserve">
|
||||
<value>Tables or columns named NEXT were detected. Sequences, introduced in Microsoft SQL Server, use the ANSI standard NEXT VALUE FOR function. If a table or a column is named NEXT and the column is aliased as VALUE, and if the ANSI standard AS is omitted, the resulting statement can cause an error.</value>
|
||||
</data>
|
||||
<data name="NextColumnRecommendation" xml:space="preserve">
|
||||
<value>Rewrite statements to include the ANSI standard AS keyword when aliasing a table or column. For example, when a column is named NEXT and that column is aliased as VALUE, the query SELECT NEXT VALUE FROM TABLE will cause an error and should be rewritten as SELECT NEXT AS VALUE FROM TABLE. Similarly, when a table is named NEXT and that table is aliased as VALUE, the query SELECT Col1 FROM NEXT VALUE will cause an error and should be rewritten as SELECT Col1 FROM NEXT AS VALUE.</value>
|
||||
</data>
|
||||
<data name="NextColumnMoreInformation" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="NextColumnMoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="NonANSILeftOuterJoinSyntaxTitle" xml:space="preserve">
|
||||
<value>Non-ANSI style left outer join is discontinued and has been removed.</value>
|
||||
</data>
|
||||
<data name="NonANSILeftOuterJoinSyntaxIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="NonANSILeftOuterJoinSyntaxDescription" xml:space="preserve">
|
||||
<value>Non-ANSI style left outer join is discontinued and has been removed in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="NonANSILeftOuterJoinSyntaxRecommendation" xml:space="preserve">
|
||||
<value>Use ANSI join syntax.</value>
|
||||
</data>
|
||||
<data name="NonANSILeftOuterJoinSyntaxMoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="NonANSILeftOuterJoinSyntaxMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="NonANSIRightOuterJoinSyntaxTitle" xml:space="preserve">
|
||||
<value>Non-ANSI style right outer join is discontinued and has been removed.</value>
|
||||
</data>
|
||||
<data name="NonANSIRightOuterJoinSyntaxIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="NonANSIRightOuterJoinSyntaxDescription" xml:space="preserve">
|
||||
<value>Non-ANSI style right outer join is discontinued and has been removed in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="NonANSIRightOuterJoinSyntaxRecommendation" xml:space="preserve">
|
||||
<value>Use ANSI join syntax.</value>
|
||||
</data>
|
||||
<data name="NonANSIRightOuterJoinSyntaxMoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="NonANSIRightOuterJoinSyntaxMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="RAISERRORTitle" xml:space="preserve">
|
||||
<value>Legacy style RAISERROR calls should be replaced with modern equivalents.</value>
|
||||
</data>
|
||||
<data name="RAISERRORIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="RAISERRORDescription" xml:space="preserve">
|
||||
<value>RAISERROR calls like the below example are termed as legacy-style because they do not include the commas and the parenthesis. RAISERROR 50001 'this is a test'. This method of calling RAISERROR is discontinued and removed in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="RAISERRORRecommendation" xml:space="preserve">
|
||||
<value>Rewrite the statement using the current RAISERROR syntax, or evaluate if the modern approach of BEGIN TRY { } END TRY BEGIN CATCH { THROW; } END CATCH is feasible.</value>
|
||||
</data>
|
||||
<data name="RAISERRORMoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="RAISERRORMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="DbCompatLevelLowerThan100Title" xml:space="preserve">
|
||||
<value>Database compatibility level below 100 is not supported</value>
|
||||
</data>
|
||||
<data name="DbCompatLevelLowerThan100IssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="DbCompatLevelLowerThan100Description" xml:space="preserve">
|
||||
<value>Database Compatibility Level is a valuable tool to assist in database modernization, by allowing the SQL Server Database Engine to be upgraded, while keeping connecting applications functional status by maintaining the same pre-upgrade Database Compatibility Level. Azure SQL Managed Instance doesn’t support compatibility levels below 100. When the database with compatibility level below 100 is restored on Azure SQL Managed Instance, the compatibility level is upgraded to 100.</value>
|
||||
</data>
|
||||
<data name="DbCompatLevelLowerThan100Recommendation" xml:space="preserve">
|
||||
<value>Evaluate if the application functionality is intact when the database compatibility level is upgraded to 100 on Azure SQL Managed Instance. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="DbCompatLevelLowerThan100MoreInformation" xml:space="preserve">
|
||||
<value>Supported compatibility levels in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="DbCompatLevelLowerThan100MoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#compatibility-levels</value>
|
||||
</data>
|
||||
<data name="MIInstanceSizeTitle" xml:space="preserve">
|
||||
<value>Maximum instance storage size in Azure SQL Managed Instance cannot be greater than 8 TB.</value>
|
||||
</data>
|
||||
<data name="MIInstanceSizeIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="MIInstanceSizeDescription" xml:space="preserve">
|
||||
<value>The size of all databases is greater than maximum instance reserved storage.</value>
|
||||
</data>
|
||||
<data name="MIInstanceSizeRecommendation" xml:space="preserve">
|
||||
<value>Consider migrating the databases to different Azure SQL Managed Instances or to SQL Server on Azure Virtual Machine if all the databases must exist on the same instance.</value>
|
||||
</data>
|
||||
<data name="MIInstanceSizeMoreInformation" xml:space="preserve">
|
||||
<value>Hardware generation characteristics of Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="MIInstanceSizeMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/resource-limits#hardware-generation-characteristics</value>
|
||||
</data>
|
||||
<data name="NumDbExceeds100Title" xml:space="preserve">
|
||||
<value>Azure SQL Managed Instance supports a maximum of 100 databases per instance.</value>
|
||||
</data>
|
||||
<data name="NumDbExceeds100IssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="NumDbExceeds100Description" xml:space="preserve">
|
||||
<value>Maximum number of databases supported in Azure SQL Managed Instance is 100, unless the instance storage size limit has been reached.</value>
|
||||
</data>
|
||||
<data name="NumDbExceeds100Recommendation" xml:space="preserve">
|
||||
<value>Consider migrating the databases to different Azure SQL Managed Instances or to SQL Server on Azure Virtual Machine if all the databases must exist on the same instance.</value>
|
||||
</data>
|
||||
<data name="NumDbExceeds100MoreInformation" xml:space="preserve">
|
||||
<value>Azure SQL Managed Instance Resource Limits</value>
|
||||
</data>
|
||||
<data name="NumDbExceeds100MoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/resource-limits#service-tier-characteristics</value>
|
||||
</data>
|
||||
<data name="SqlMailTitle" xml:space="preserve">
|
||||
<value>SQL Mail has been discontinued.</value>
|
||||
</data>
|
||||
<data name="SqlMailIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="SqlMailDescription" xml:space="preserve">
|
||||
<value>SQL Mail has been discontinued and removed in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="SqlMailRecommendation" xml:space="preserve">
|
||||
<value>Use Database Mail</value>
|
||||
</data>
|
||||
<data name="SqlMailMoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="SqlMailMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="SystemProcedures110Title" xml:space="preserve">
|
||||
<value>Detected statements that reference removed system stored procedures that are not available in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="SystemProcedures110IssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="SystemProcedures110Description" xml:space="preserve">
|
||||
<value>Following unsupported system and extended stored procedures cannot be used in Azure SQL Managed Instance - sp_dboption,sp_addserver,sp_dropalias,sp_activedirectory_obj,sp_activedirectory_scp,sp_activedirectory_start</value>
|
||||
</data>
|
||||
<data name="SystemProcedures110Recommendation" xml:space="preserve">
|
||||
<value>Remove references to unsupported system procedures that have been removed in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="SystemProcedures110MoreInformation" xml:space="preserve">
|
||||
<value>Discontinued Database Engine Functionality in SQL Server</value>
|
||||
</data>
|
||||
<data name="SystemProcedures110MoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014#Denali</value>
|
||||
</data>
|
||||
<data name="AnalysisCommandJobTitle" xml:space="preserve">
|
||||
<value>AnalysisCommand job step is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="AnalysisCommandJobIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="AnalysisCommandJobDescription" xml:space="preserve">
|
||||
<value>It is a job step that runs an Analysis Services command. AnalysisCommand job step is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="AnalysisCommandJobRecommendation" xml:space="preserve">
|
||||
<value>Review impacted objects section to see all jobs using Analysis Service Command job step and evaluate if the job step or the impacted object can be removed. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="AnalysisCommandJobMoreInformation" xml:space="preserve">
|
||||
<value>SQL Server Agent differences in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="AnalysisCommandJobMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#sql-server-agent</value>
|
||||
</data>
|
||||
<data name="AnalysisQueryJobTitle" xml:space="preserve">
|
||||
<value>AnalysisQuery job step is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="AnalysisQueryJobIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="AnalysisQueryJobDescription" xml:space="preserve">
|
||||
<value>It is a job step that runs an Analysis Services query. AnalysisQuery job step is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="AnalysisQueryJobRecommendation" xml:space="preserve">
|
||||
<value>Review impacted objects section to see all jobs using Analysis Service Query job step and evaluate if the job step or the impacted object can be removed. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="AnalysisQueryJobMoreInformation" xml:space="preserve">
|
||||
<value>SQL Server Agent differences in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="AnalysisQueryJobMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#sql-server-agent</value>
|
||||
</data>
|
||||
<data name="MergeJobTitle" xml:space="preserve">
|
||||
<value>Merge job step is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="MergeJobIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="MergeJobDescription" xml:space="preserve">
|
||||
<value>It is a job step that activates the replication Merge Agent. The Replication Merge Agent is a utility executable that applies the initial snapshot held in the database tables to the Subscribers. It also merges incremental data changes that occurred at the Publisher after the initial snapshot was created and reconciles conflicts either according to the rules you configure or using a custom resolver you create. Merge job step is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="MergeJobRecommendation" xml:space="preserve">
|
||||
<value>Review impacted objects section to see all jobs using Merge job step and evaluate if the job step or the impacted object can be removed. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="MergeJobMoreInformation" xml:space="preserve">
|
||||
<value>SQL Server Agent differences in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="MergeJobMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#sql-server-agent</value>
|
||||
</data>
|
||||
<data name="PowerShellJobTitle" xml:space="preserve">
|
||||
<value>PowerShell job step is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="PowerShellJobIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="PowerShellJobDescription" xml:space="preserve">
|
||||
<value>It is a job step that runs a PowerShell script. PowerShell job step is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="PowerShellJobRecommendation" xml:space="preserve">
|
||||
<value>Review impacted objects section to see all jobs using PowerShell job step and evaluate if the job step or the impacted object can be removed. Evaluate if Azure Automation can be used. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="PowerShellJobMoreInformation" xml:space="preserve">
|
||||
<value>SQL Server Agent differences in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="PowerShellJobMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#sql-server-agent</value>
|
||||
</data>
|
||||
<data name="QueueReaderJobTitle" xml:space="preserve">
|
||||
<value>Queue Reader job step is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="QueueReaderJobIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="QueueReaderJobDescription" xml:space="preserve">
|
||||
<value>It is a job step that activates the replication Queue Reader Agent. The Replication Queue Reader Agent is an executable that reads messages stored in a Microsoft SQL Server queue or a Microsoft Message Queue and then applies those messages to the Publisher. Queue Reader Agent is used with snapshot and transactional publications that allow queued updating. Queue Reader job step is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="QueueReaderJobRecommendation" xml:space="preserve">
|
||||
<value>Review impacted objects section to see all jobs using Queue Reader job step and evaluate if the job step or the impacted object can be removed. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="QueueReaderJobMoreInformation" xml:space="preserve">
|
||||
<value>SQL Server Agent differences in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="QueueReaderJobMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#sql-server-agent</value>
|
||||
</data>
|
||||
<data name="TransactSqlJobTitle" xml:space="preserve">
|
||||
<value>TSQL job step includes unsupported commands in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="TransactSqlJobIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="TransactSqlJobDescription" xml:space="preserve">
|
||||
<value>It is a job step that runs TSQL scripts at scheduled time. TSQL job step includes unsupported commands which are not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="TransactSqlJobRecommendation" xml:space="preserve">
|
||||
<value>Review impacted objects section to see all jobs that include unsupported commands in Azure SQL Managed Instance and evaluate if the job step or the impacted object can be removed. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="TransactSqlJobMoreInformation" xml:space="preserve">
|
||||
<value>SQL Server Agent differences in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="TransactSqlJobMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#sql-server-agent</value>
|
||||
</data>
|
||||
<data name="WindowsAuthenticationTitle" xml:space="preserve">
|
||||
<value>Database users mapped with Windows authentication (integrated security) are not supported in Azure SQL Managed Instance</value>
|
||||
</data>
|
||||
<data name="WindowsAuthenticationIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="WindowsAuthenticationDescription" xml:space="preserve">
|
||||
<value>Azure SQL Managed Instance supports two types of authentication 1) SQL Authentication, which uses a username and password 2) Azure Active Directory Authentication, which uses identities managed by Azure Active Directory and is supported for managed and integrated domains. Database users mapped with Windows authentication (integrated security) is not supported in Azure SQL Managed Instance.</value>
|
||||
</data>
|
||||
<data name="WindowsAuthenticationRecommendation" xml:space="preserve">
|
||||
<value>Federate the local Active Directory with Azure Active Directory. The Windows identity can then be replaced with the equivalent Azure Active Directory identities. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="WindowsAuthenticationMoreInformation" xml:space="preserve">
|
||||
<value>An overview of Azure SQL Database and SQL Managed Instance security capabilities</value>
|
||||
</data>
|
||||
<data name="WindowsAuthenticationMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/azure/azure-sql/database/security-overview#authentication</value>
|
||||
</data>
|
||||
<data name="TraceFlagsTitle" xml:space="preserve">
|
||||
<value>Trace flags not supported in Azure SQL Managed Instance were found</value>
|
||||
</data>
|
||||
<data name="TraceFlagsIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="TraceFlagsDescription" xml:space="preserve">
|
||||
<value>Azure SQL Managed Instance supports only limited number of global trace flags. Session trace flags aren’t supported.</value>
|
||||
</data>
|
||||
<data name="TraceFlagsRecommendation" xml:space="preserve">
|
||||
<value>Review impacted objects section to see all trace flags that are not supported in Azure SQL Managed Instance and evaluate if they can be removed. Alternatively, migrate to SQL Server on Azure Virtual Machine.</value>
|
||||
</data>
|
||||
<data name="TraceFlagsMoreInformation" xml:space="preserve">
|
||||
<value>Trace Flags</value>
|
||||
</data>
|
||||
<data name="TraceFlagsMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/sql/t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql?view=sql-server-ver15#trace-flags</value>
|
||||
</data>
|
||||
<data name="SyntaxErrorTitle" xml:space="preserve">
|
||||
<value>Syntax issue on the source server</value>
|
||||
</data>
|
||||
<data name="SyntaxErrorIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="SyntaxErrorDescription" xml:space="preserve">
|
||||
<value>While parsing the objects on the source database, one or more syntax issues were found. Syntax issues on the source database indicate that some objects contain unsupported syntax in the server version and database compatibility level.</value>
|
||||
</data>
|
||||
<data name="SyntaxErrorRecommendation" xml:space="preserve">
|
||||
<value>Review the list of objects and issues reported, fix the syntax errors, and re-run assessment before migrating this database.</value>
|
||||
</data>
|
||||
<data name="SyntaxErrorMoreInformation" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="SyntaxErrorMoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
</root>
|
||||
@@ -1,264 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="UnqualifiedJoinTitle" xml:space="preserve">
|
||||
<value>Unqualified Join(s) detected</value>
|
||||
</data>
|
||||
<data name="UnqualifiedJoinIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="UnqualifiedJoinDescription" xml:space="preserve">
|
||||
<value>Starting with database compatibility level 90 and higher, in rare occasions, the 'unqualified join' syntax can cause 'missing join predicate' warnings, leading to long running queries.</value>
|
||||
</data>
|
||||
<data name="UnqualifiedJoinRecommendation" xml:space="preserve">
|
||||
<value>Use explicit JOIN syntax in all cases. SQL Server supports the below explicit joins: LEFT OUTER JOIN or LEFT JOIN, RIGHT OUTER JOIN or RIGHT JOIN, FULL OUTER JOIN or FULL JOIN, INNER JOIN.</value>
|
||||
</data>
|
||||
<data name="UnqualifiedJoinMoreInformation" xml:space="preserve">
|
||||
<value>Deprecation of "Old Style" JOIN Syntax</value>
|
||||
</data>
|
||||
<data name="UnqualifiedJoinMoreInformationlink" xml:space="preserve">
|
||||
<value>https://go.microsoft.com/fwlink/?LinkId=798568</value>
|
||||
</data>
|
||||
<data name="SyntaxErrorTitle" xml:space="preserve">
|
||||
<value>Syntax issue on the source server</value>
|
||||
</data>
|
||||
<data name="SyntaxErrorIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="SyntaxErrorDescription" xml:space="preserve">
|
||||
<value>While parsing the objects on the source database, one or more syntax issues were found. Syntax issues on the source database indicate that some objects contain unsupported syntax in the server version and database compatibility level.</value>
|
||||
</data>
|
||||
<data name="SyntaxErrorRecommendation" xml:space="preserve">
|
||||
<value>Review the list of objects and issues reported, fix the syntax errors, and re-run assessment before migrating this database.</value>
|
||||
</data>
|
||||
<data name="SyntaxErrorMoreInformation" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="SyntaxErrorMoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="OrderByIntegerLiteralTitle" xml:space="preserve">
|
||||
<value>ORDER BY specifies integer ordinal</value>
|
||||
</data>
|
||||
<data name="OrderByIntegerLiteralIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="OrderByIntegerLiteralDescription" xml:space="preserve">
|
||||
<value>Order the result set of a query by the specified column list and, optionally, limit the rows returned to a specified range. The order in which rows are returned in a result set are not guaranteed unless an ORDER BY clause is specified.,"Specify the sort column as a name or column alias rather than hard coding the ordinal.</value>
|
||||
</data>
|
||||
<data name="OrderByIntegerLiteralRecommendation" xml:space="preserve">
|
||||
<value>This rule checks stored procedures, functions, views and triggers for use of ORDER BY clause specifying ordinal column numbers as sort columns. A sort column can be specified as a nonnegative integer representing the position of the name or alias in the select list, but this is not recommended. An integer cannot be specified when the order_by_expression appears in a ranking function. A sort column can include an expression</value>
|
||||
</data>
|
||||
<data name="OrderByIntegerLiteralMoreInformation" xml:space="preserve">
|
||||
<value>But when the database is in SQL 90 compatibility mode or higher, the expression cannot resolve to a constant.</value>
|
||||
</data>
|
||||
<data name="OrderByIntegerLiteralMoreInformationlink" xml:space="preserve">
|
||||
<value>https://docs.microsoft.com/en-us/sql/t-sql/queries/select-order-by-clause-transact-sql?view=sql-server-ver15</value>
|
||||
</data>
|
||||
<data name="BackupLogTitle" xml:space="preserve">
|
||||
<value>BACKUP LOG WITH NO_LOG|TRUNCATE_ONLY statements are not supported</value>
|
||||
</data>
|
||||
<data name="BackupLogIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="BackupLogDescription" xml:space="preserve">
|
||||
<value>Backing Up the Transaction Log (full and bulk-logged recovery models)</value>
|
||||
</data>
|
||||
<data name="BackupLogRecommendation" xml:space="preserve">
|
||||
<value>Remove BACKUP LOG WITH NO_LOG|TRUNCATE_ONLY statements from scripts. Microsoft highly recommends to set your database recovery to FULL recovery mode and perform regular transactional log backups to prevent the log from growing too big. If you do not need point-in-time recovery, switch to SIMPLE recovery mode.</value>
|
||||
</data>
|
||||
<data name="BackupLogMoreInformation" xml:space="preserve">
|
||||
<value>Assessment detected BACKUP LOG WITH NO_LOG|TRUNCATE_ONLY statements. These backup/restore options are not supported anymore.</value>
|
||||
</data>
|
||||
<data name="BackupLogMoreInformationlink" xml:space="preserve">
|
||||
<value>BACKUP (Transact-SQL) https://go.microsoft.com/fwlink/?LinkID=698472</value>
|
||||
</data>
|
||||
<data name="BackupPasswordTitle" xml:space="preserve">
|
||||
<value>Remove the use of PASSWORD in BACKUP command</value>
|
||||
</data>
|
||||
<data name="BackupPasswordIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="BackupPasswordDescription" xml:space="preserve">
|
||||
<value>Some of the detected BACKUP command options have been deprecated or discontinued such as, BACKUP { DATABASE | LOG } WITH PASSWORD and BACKUP { DATABASE | LOG } WITH MEDIAPASSWORD.</value>
|
||||
</data>
|
||||
<data name="BackupPasswordRecommendation" xml:space="preserve">
|
||||
<value>Remove the use of BACKUP { DATABASE | LOG } WITH PASSWORD and BACKUP { DATABASE | LOG } WITH MEDIAPASSWORD commands. Replace them with the currently supported BACKUP command syntax. This syntax should not be used for creating future restore scripts.</value>
|
||||
</data>
|
||||
<data name="BackupPasswordMoreInformation" xml:space="preserve">
|
||||
<value>See BACKUP (Transact-SQL)</value>
|
||||
</data>
|
||||
<data name="BackupPasswordMoreInformationlink" xml:space="preserve">
|
||||
<value>https://go.microsoft.com/fwlink/?LinkId=798527</value>
|
||||
</data>
|
||||
<data name="LOBDataTypesTitle" xml:space="preserve">
|
||||
<value>Deprecated data types TEXT, IMAGE or NTEXT</value>
|
||||
</data>
|
||||
<data name="LOBDataTypesIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="LOBDataTypesDescription" xml:space="preserve">
|
||||
<value>These data types are checked as deprecated. In some cases, using TEXT, IMAGE or NTEXT might harm performance.</value>
|
||||
</data>
|
||||
<data name="LOBDataTypesRecommendation" xml:space="preserve">
|
||||
<value>Deprecated data types are marked to be discontinued on next versions of SQL Server, should use new data types such as: (varchar(max), nvarchar(max), varbinary(max) and etc.)</value>
|
||||
</data>
|
||||
<data name="LOBDataTypesMoreInformation" xml:space="preserve">
|
||||
<value>ntext, text, and image (Transact-SQL)</value>
|
||||
</data>
|
||||
<data name="LOBDataTypesMoreInformationlink" xml:space="preserve">
|
||||
<value>https://go.microsoft.com/fwlink/?LinkId=798558</value>
|
||||
</data>
|
||||
<data name="CheckOptionTopViewTitle" xml:space="preserve">
|
||||
<value>WITH CHECK OPTION is not supported in views that contain TOP in compatibility mode 90 and above</value>
|
||||
</data>
|
||||
<data name="CheckOptionTopViewIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="CheckOptionTopViewDescription" xml:space="preserve">
|
||||
<value>Assessment detected a view that uses the WITH CHECK OPTION and a TOP clause in the SELECT statement of the view or in a referenced view. Views defined this way incorrectly allow data to be modified through the view and may produce inaccurate results when the database compatibility mode is set to 80 and earlier. Data cannot be inserted or updated through a view that uses WITH CHECK OPTION when the view or a referenced view uses the TOP clause and the database compatibility mode is set to 90 or later.</value>
|
||||
</data>
|
||||
<data name="CheckOptionTopViewRecommendation" xml:space="preserve">
|
||||
<value>Modify views that use both WITH CHECK OPTION and TOP if data modification through the view is required.</value>
|
||||
</data>
|
||||
<data name="CheckOptionTopViewMoreInformation" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="CheckOptionTopViewMoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="OrderByNonIntegerConstantTitle" xml:space="preserve">
|
||||
<value>Constant expressions are not allowed in the ORDER BY clause in 90 or later compatibility modes</value>
|
||||
</data>
|
||||
<data name="OrderByNonIntegerConstantIssueCategory" xml:space="preserve">
|
||||
<value>Error</value>
|
||||
</data>
|
||||
<data name="OrderByNonIntegerConstantDescription" xml:space="preserve">
|
||||
<value>Constant expressions are allowed (and ignored) in the ORDER BY clause when the database compatibility mode is set to 80 or earlier. However, these expressions in the ORDER BY clause will cause the statement to fail when the database compatibility mode is set to 90 or later.Here is an example of such problematic statements:SELECT * FROM Production.ProductORDER BY CASE WHEN 1=2 THEN 3 ELSE 2 END</value>
|
||||
</data>
|
||||
<data name="OrderByNonIntegerConstantRecommendation" xml:space="preserve">
|
||||
<value>Before you change the database compatibility mode to 90 or later, modify statements that use constant expressions in the ORDER BY clause to use a column name or column alias, or a nonnegative integer representing the position of the name or alias in the select list.</value>
|
||||
</data>
|
||||
<data name="OrderByNonIntegerConstantMoreInformation" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="OrderByNonIntegerConstantMoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
</root>
|
||||
File diff suppressed because one or more lines are too long
@@ -261,24 +261,6 @@
|
||||
<data name="GeoDataTypeMoreInformationlink" xml:space="preserve">
|
||||
<value>https://go.microsoft.com/fwlink/?LinkID=724415</value>
|
||||
</data>
|
||||
<data name="ForXmlAutoDerivedTableTitle" xml:space="preserve">
|
||||
<value>FOR XML AUTO queries return derived table references in 90 or later compatibility modes</value>
|
||||
</data>
|
||||
<data name="ForXmlAutoDerivedTableIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="ForXmlAutoDerivedTableDescription" xml:space="preserve">
|
||||
<value>When the database compatibility level is set to 90 or later, FOR XML queries that execute in AUTO mode return references to derived table aliases. When the compatibility level is set to 80, FOR XML AUTO queries return references to the base tables that define a derived table. For example, the following query, which includes a derived table, produces different results under compatibility levels 80, 90, or later:SELECT * FROM(SELECT a.id AS a, b.id AS bFROM Test a JOIN Test b ON a.id=b.id) AS DerivedTest FOR XML AUTO;Under compatibility level 80, the query returns the following results. The results reference the base table aliases a and b of the derived table instead of the derived table alias.&lt;a a=&quot;1&quot;&gt;&lt;b b=&quot;1&quot;/&gt;&lt;/a&gt;&lt;a a=&quot;2&quot;&gt;&lt;b b=&quot;2&quot;/&gt;&lt;/a&gt;Under compatibility level 90 or later, the query returns references to the derived table alias DerivedTest instead of to the derived table's base tables.&lt;DerivedTest a=&quot;1&quot; b=&quot;1&quot;/&gt;&lt;DerivedTest a=&quot;2&quot; b=&quot;2&quot;/&gt;</value>
|
||||
</data>
|
||||
<data name="ForXmlAutoDerivedTableRecommendation" xml:space="preserve">
|
||||
<value>Modify your application as required to account for the changes in results of FOR XML AUTO queries that include derived tables and that run under compatibility level 90 or later.</value>
|
||||
</data>
|
||||
<data name="ForXmlAutoDerivedTableMoreInformation" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="ForXmlAutoDerivedTableMoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="ForBrowseViewTitle" xml:space="preserve">
|
||||
<value>FOR BROWSE is not allowed in views in 90 or later compatibility modes</value>
|
||||
</data>
|
||||
@@ -315,6 +297,24 @@
|
||||
<data name="CheckOptionTopViewMoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="ForXmlAutoDerivedTableTitle" xml:space="preserve">
|
||||
<value>FOR XML AUTO queries return derived table references in 90 or later compatibility modes</value>
|
||||
</data>
|
||||
<data name="ForXmlAutoDerivedTableIssueCategory" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="ForXmlAutoDerivedTableDescription" xml:space="preserve">
|
||||
<value>When the database compatibility level is set to 90 or later, FOR XML queries that execute in AUTO mode return references to derived table aliases. When the compatibility level is set to 80, FOR XML AUTO queries return references to the base tables that define a derived table. For example, the following query, which includes a derived table, produces different results under compatibility levels 80, 90, or later:SELECT * FROM(SELECT a.id AS a, b.id AS bFROM Test a JOIN Test b ON a.id=b.id) AS DerivedTest FOR XML AUTO;Under compatibility level 80, the query returns the following results. The results reference the base table aliases a and b of the derived table instead of the derived table alias.&lt;a a=&quot;1&quot;&gt;&lt;b b=&quot;1&quot;/&gt;&lt;/a&gt;&lt;a a=&quot;2&quot;&gt;&lt;b b=&quot;2&quot;/&gt;&lt;/a&gt;Under compatibility level 90 or later, the query returns references to the derived table alias DerivedTest instead of to the derived table's base tables.&lt;DerivedTest a=&quot;1&quot; b=&quot;1&quot;/&gt;&lt;DerivedTest a=&quot;2&quot; b=&quot;2&quot;/&gt;</value>
|
||||
</data>
|
||||
<data name="ForXmlAutoDerivedTableRecommendation" xml:space="preserve">
|
||||
<value>Modify your application as required to account for the changes in results of FOR XML AUTO queries that include derived tables and that run under compatibility level 90 or later.</value>
|
||||
</data>
|
||||
<data name="ForXmlAutoDerivedTableMoreInformation" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="ForXmlAutoDerivedTableMoreInformationlink" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="DBCCTitle" xml:space="preserve">
|
||||
<value>Discontinued DBCC commands referenced in your T-SQL objects</value>
|
||||
</data>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,215 +0,0 @@
|
||||
{
|
||||
"Name": "Migration Assessment Feature Metadata",
|
||||
"SchemaVersion": "0.1",
|
||||
"Version": "0.1",
|
||||
"Checks": [
|
||||
{
|
||||
"target": {},
|
||||
"id": "LinkedServer",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Linked server functionality",
|
||||
"description": "Linked servers enable the SQL Server Database Engine to execute commands against OLE DB data sources outside of the instance of SQL Server.",
|
||||
"message": "Linked servers enable the SQL Server Database Engine to execute commands against OLE DB data sources outside of the instance of SQL Server.",
|
||||
"helpLink": "https://go.microsoft.com/fwlink/?linkid=872319",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "Filestream",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Filestream",
|
||||
"description": "The Filestream feature allows you to store unstructured data such as text documents, images, and videos in NTFS file system.",
|
||||
"message": "The Filestream feature allows you to store unstructured data such as text documents, images, and videos in NTFS file system.",
|
||||
"helpLink": "https://go.microsoft.com/fwlink/?linkid=872319",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "MultipleLogFiles",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Multiple log files",
|
||||
"description": "SQL Server allows a database to log to multiple files. This database has multiple log files.",
|
||||
"message": "SQL Server allows a database to log to multiple files. This database has multiple log files.",
|
||||
"helpLink": "https://go.microsoft.com/fwlink/?linkid=872319",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "ServiceBroker",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Service broker",
|
||||
"description": "SQL Server Service Broker provides native support for messaging and queuing applications in the SQL Server Database Engine.",
|
||||
"message": "SQL Server Service Broker provides native support for messaging and queuing applications in the SQL Server Database Engine.",
|
||||
"helpLink": "https://aka.ms/service-bus-messaging",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "SysDatabases",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "System databases features",
|
||||
"description": "Collecting source databases features from sys.databases",
|
||||
"message": "Collecting source databases features from sys.databases",
|
||||
"helpLink": "",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "UnsupportedObjectTypes",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Unsupported object types",
|
||||
"description": "Collecting unsupported objects from sys.objects",
|
||||
"message": "Collecting unsupported objects from sys.objects",
|
||||
"helpLink": "",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "AgentJobs",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Agent jobs",
|
||||
"description": "SQL Server Agent is a Microsoft Windows service that executes scheduled administrative tasks, which are called jobs in SQL Server.",
|
||||
"message": "SQL Server Agent is a Microsoft Windows service that executes scheduled administrative tasks, which are called jobs in SQL Server.",
|
||||
"helpLink": "https://go.microsoft.com/fwlink/?linkid=838286",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "Configurations",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "System configurations",
|
||||
"description": "SQL Server provides several types of encryption that help protect sensitive data, including Transparent Data Encryption (TDE), Column Level Encryption (CLE), and Backup Encryption. In all of these cases, in this traditional key hierarchy, the data is encrypted using a symmetric data encryption key (DEK). The symmetric data encryption key is further protected by encrypting it with a hierarchy of keys stored in SQL Server. Instead of this model, the alternative is the EKM Provider Model. Using the EKM provider architecture enables SQL Server to protect the data encryption keys by using an asymmetric key stored outside of SQL Server in an external cryptographic provider. This model adds an additional layer of security and separates the management of keys and data.",
|
||||
"message": "SQL Server provides several types of encryption that help protect sensitive data, including Transparent Data Encryption (TDE), Column Level Encryption (CLE), and Backup Encryption. In all of these cases, in this traditional key hierarchy, the data is encrypted using a symmetric data encryption key (DEK). The symmetric data encryption key is further protected by encrypting it with a hierarchy of keys stored in SQL Server. Instead of this model, the alternative is the EKM Provider Model. Using the EKM provider architecture enables SQL Server to protect the data encryption keys by using an asymmetric key stored outside of SQL Server in an external cryptographic provider. This model adds an additional layer of security and separates the management of keys and data.",
|
||||
"helpLink": "https://go.microsoft.com/fwlink/?linkid=838286",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "DatabaseFilesMaxCountLimitation",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Databse files max count limitation",
|
||||
"description": "Max number of database files per Managed Instance in general purpose is up to 280, unless the instance storage size(max 2TB - 8TB) and Azure premium Disk storage allocation space limit has been reached.",
|
||||
"message": "Max number of database files per Managed Instance in general purpose is up to 280, unless the instance storage size(max 2TB - 8TB) and Azure premium Disk storage allocation space limit has been reached.",
|
||||
"helpLink": "https://aka.ms/mi-resource-limits",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "DatabaseMails",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Databse mails",
|
||||
"description": "",
|
||||
"message": "",
|
||||
"helpLink": "",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "DataCollection",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Data collection",
|
||||
"description": "The data collector is a component of SQL Server that collects different sets of data. Data collection either runs constantly or on a user-defined schedule. The data collector stores the collected data in a relational database known as the management data warehouse.",
|
||||
"message": "The data collector is a component of SQL Server that collects different sets of data. Data collection either runs constantly or on a user-defined schedule. The data collector stores the collected data in a relational database known as the management data warehouse.",
|
||||
"helpLink": "https://go.microsoft.com/fwlink/?linkid=838301",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "InstalledServices",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Installed services",
|
||||
"description": "Query the info of installed services like SSAS, SSRS, browser service, stream insight, RServices, MDS, DQS, certificate.",
|
||||
"message": "Query the info of installed services like SSAS, SSRS, browser service, stream insight, RServices, MDS, DQS, certificate.",
|
||||
"helpLink": "",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "MaintenancePlans",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Maintenance plans",
|
||||
"description": "SQL Server maintenance plans are used to automate various database administration tasks, including backups, database integrity checks, or database statistics updates, at specified intervals.",
|
||||
"message": "SQL Server maintenance plans are used to automate various database administration tasks, including backups, database integrity checks, or database statistics updates, at specified intervals.",
|
||||
"helpLink": "https://go.microsoft.com/fwlink/?linkid=838279",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "UserDefinedErrorMessages",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "User defined error messages",
|
||||
"description": "The sp_addmessage system stored procedure lets you add error messages to SQL Server that can be referenced in code. This is helpful for standardized error messages that will be used throughout your application, especially if they need to be able to support multiple languages, but not so much for ad-hoc error messages. But this feature is not supported in Azure SQL Database.",
|
||||
"message": "The sp_addmessage system stored procedure lets you add error messages to SQL Server that can be referenced in code. This is helpful for standardized error messages that will be used throughout your application, especially if they need to be able to support multiple languages, but not so much for ad-hoc error messages. But this feature is not supported in Azure SQL Database.",
|
||||
"helpLink": "https://go.microsoft.com/fwlink/?linkid=838295",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "PolicyBasedManagement",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Policy-Based Management",
|
||||
"description": "Policy-Based Management is a policy-based system for managing one or more instances of SQL Server. It is used to create conditions that contain condition expressions and then create policies that apply the conditions to database target objects.",
|
||||
"message": "Policy-Based Management is a policy-based system for managing one or more instances of SQL Server. It is used to create conditions that contain condition expressions and then create policies that apply the conditions to database target objects.",
|
||||
"helpLink": "https://go.microsoft.com/fwlink/?linkid=838285",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "ServerAudits",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Server audits",
|
||||
"description": "Auditing an instance of the SQL Server Database Engine or an individual database involves tracking and logging events that occur on the Database Engine. SQL Server audit lets you create server audits, which can contain server audit specifications for server level events, and database audit specifications for database level events.",
|
||||
"message": "Auditing an instance of the SQL Server Database Engine or an individual database involves tracking and logging events that occur on the Database Engine. SQL Server audit lets you create server audits, which can contain server audit specifications for server level events, and database audit specifications for database level events.",
|
||||
"helpLink": "https://go.microsoft.com/fwlink/?linkid=872319",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "ServerCredentials",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Server credentials",
|
||||
"description": "A credential is a record that contains the authentication information (credentials) required to connect to a resource outside SQL Server.",
|
||||
"message": "A credential is a record that contains the authentication information (credentials) required to connect to a resource outside SQL Server.",
|
||||
"helpLink": "https://go.microsoft.com/fwlink/?linkid=838290",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "ServerProperties",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Server properties",
|
||||
"description": "Collects SERVERPROPERTIES like IsClustered, IsIntegratedSecurityOnly, IsPolyBaseInstalled and IsBufferPoolExtensionEnabled.",
|
||||
"message": "Collects SERVERPROPERTIES like IsClustered, IsIntegratedSecurityOnly, IsPolyBaseInstalled and IsBufferPoolExtensionEnabled.",
|
||||
"helpLink": "https://go.microsoft.com/fwlink/?linkid=838290",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "ServerTriggers",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Server scoped triggers",
|
||||
"description": "A trigger is a special kind of stored procedure that executes in response to certain action on a table like insertion, deletion or updating of data.",
|
||||
"message": "A trigger is a special kind of stored procedure that executes in response to certain action on a table like insertion, deletion or updating of data.",
|
||||
"helpLink": "",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "TraceFlags",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Trace flags",
|
||||
"description": "Trace flags are used to temporarily set specific server characteristics or to switch off a particular behavior. Trace flags are frequently used to diagnose performance issues or to debug stored procedures or complex computer systems.",
|
||||
"message": "Trace flags are used to temporarily set specific server characteristics or to switch off a particular behavior. Trace flags are frequently used to diagnose performance issues or to debug stored procedures or complex computer systems.",
|
||||
"helpLink": "",
|
||||
"level": "Critical"
|
||||
},
|
||||
{
|
||||
"target": {},
|
||||
"id": "TSqlScript",
|
||||
"tags": [ "Feature" ],
|
||||
"displayName": "Analyzing TSQL script",
|
||||
"description": "Collect TSQL scripts and using TSqlScriptDom to analyze the scripts",
|
||||
"level": "Critical"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -8,6 +8,7 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Globalization;
|
||||
using Microsoft.SqlServer.DataCollection.Common;
|
||||
using Microsoft.SqlServer.Management.Assessment.Checks;
|
||||
using Microsoft.SqlServer.Management.Assessment;
|
||||
@@ -15,12 +16,22 @@ using Microsoft.SqlServer.Migration.Assessment.Common.Contracts.Models;
|
||||
using Microsoft.SqlServer.Migration.Assessment.Common.Engine;
|
||||
using Microsoft.SqlTools.Hosting.Protocol;
|
||||
using Microsoft.SqlTools.ServiceLayer.Connection.Contracts;
|
||||
using Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection;
|
||||
using Microsoft.SqlTools.ServiceLayer.Connection;
|
||||
using Microsoft.SqlTools.ServiceLayer.Hosting;
|
||||
using Microsoft.SqlTools.ServiceLayer.Migration.Contracts;
|
||||
using Microsoft.SqlTools.ServiceLayer.SqlAssessment;
|
||||
using Microsoft.SqlTools.Utility;
|
||||
using Microsoft.SqlServer.Migration.SkuRecommendation.Aggregation;
|
||||
using Microsoft.SqlServer.Migration.SkuRecommendation.Models.Sql;
|
||||
using Microsoft.SqlServer.Migration.SkuRecommendation;
|
||||
using Microsoft.SqlServer.Migration.SkuRecommendation.Contracts.Constants;
|
||||
using Microsoft.SqlServer.Migration.SkuRecommendation.Billing;
|
||||
using Microsoft.SqlServer.Migration.SkuRecommendation.Contracts;
|
||||
using Microsoft.SqlServer.Migration.SkuRecommendation.Contracts.Models.Sku;
|
||||
using Microsoft.SqlServer.Migration.SkuRecommendation.Contracts.Models;
|
||||
using Microsoft.SqlServer.Migration.SkuRecommendation.Contracts.Exceptions;
|
||||
using Newtonsoft.Json;
|
||||
using System.Reflection;
|
||||
using Microsoft.SqlServer.Migration.SkuRecommendation.Contracts.Models.Environment;
|
||||
|
||||
namespace Microsoft.SqlTools.ServiceLayer.Migration
|
||||
{
|
||||
@@ -84,6 +95,15 @@ namespace Microsoft.SqlTools.ServiceLayer.Migration
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Controller for collecting performance data for SKU recommendation
|
||||
/// </summary>
|
||||
internal SqlDataQueryController DataCollectionController
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes the Migration Service instance
|
||||
/// </summary>
|
||||
@@ -91,6 +111,10 @@ namespace Microsoft.SqlTools.ServiceLayer.Migration
|
||||
{
|
||||
this.ServiceHost = serviceHost;
|
||||
this.ServiceHost.SetRequestHandler(MigrationAssessmentsRequest.Type, HandleMigrationAssessmentsRequest);
|
||||
this.ServiceHost.SetRequestHandler(StartPerfDataCollectionRequest.Type, HandleStartPerfDataCollectionRequest);
|
||||
this.ServiceHost.SetRequestHandler(StopPerfDataCollectionRequest.Type, HandleStopPerfDataCollectionRequest);
|
||||
this.ServiceHost.SetRequestHandler(RefreshPerfDataCollectionRequest.Type, HandleRefreshPerfDataCollectionRequest);
|
||||
this.ServiceHost.SetRequestHandler(GetSkuRecommendationsRequest.Type, HandleGetSkuRecommendationsRequest);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -121,7 +145,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Migration
|
||||
|
||||
var connection = await ConnectionService.Instance.GetOrOpenConnection(randomUri, ConnectionType.Default);
|
||||
var connectionStrings = new List<string>();
|
||||
if (parameters.Databases != null)
|
||||
if (parameters.Databases != null)
|
||||
{
|
||||
foreach (string database in parameters.Databases)
|
||||
{
|
||||
@@ -143,6 +167,240 @@ namespace Microsoft.SqlTools.ServiceLayer.Migration
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Handle request to start performance data collection process
|
||||
/// </summary>
|
||||
internal async Task HandleStartPerfDataCollectionRequest(
|
||||
StartPerfDataCollectionParams parameters,
|
||||
RequestContext<StartPerfDataCollectionResult> requestContext)
|
||||
{
|
||||
string randomUri = Guid.NewGuid().ToString();
|
||||
try
|
||||
{
|
||||
// get connection
|
||||
if (!ConnectionService.TryFindConnection(parameters.OwnerUri, out var connInfo))
|
||||
{
|
||||
await requestContext.SendError("Could not find migration connection");
|
||||
return;
|
||||
}
|
||||
|
||||
ConnectParams connectParams = new ConnectParams
|
||||
{
|
||||
OwnerUri = randomUri,
|
||||
Connection = connInfo.ConnectionDetails,
|
||||
Type = ConnectionType.Default
|
||||
};
|
||||
|
||||
await ConnectionService.Connect(connectParams);
|
||||
var connection = await ConnectionService.Instance.GetOrOpenConnection(randomUri, ConnectionType.Default);
|
||||
var connectionString = ConnectionService.BuildConnectionString(connInfo.ConnectionDetails);
|
||||
|
||||
this.DataCollectionController = new SqlDataQueryController(
|
||||
connectionString,
|
||||
parameters.DataFolder,
|
||||
parameters.PerfQueryIntervalInSec,
|
||||
parameters.NumberOfIterations,
|
||||
parameters.StaticQueryIntervalInSec,
|
||||
null);
|
||||
|
||||
this.DataCollectionController.Start();
|
||||
|
||||
// TO-DO: what should be returned?
|
||||
await requestContext.SendResult(new StartPerfDataCollectionResult() { DateTimeStarted = DateTime.UtcNow });
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
await requestContext.SendError(e.ToString());
|
||||
}
|
||||
finally
|
||||
{
|
||||
ConnectionService.Disconnect(new DisconnectParams { OwnerUri = randomUri, Type = null });
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Handle request to stop performance data collection process
|
||||
/// </summary>
|
||||
internal async Task HandleStopPerfDataCollectionRequest(
|
||||
StopPerfDataCollectionParams parameters,
|
||||
RequestContext<StopPerfDataCollectionResult> requestContext)
|
||||
{
|
||||
try
|
||||
{
|
||||
this.DataCollectionController.Dispose();
|
||||
|
||||
// TO-DO: what should be returned?
|
||||
await requestContext.SendResult(new StopPerfDataCollectionResult() { DateTimeStopped = DateTime.UtcNow });
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
await requestContext.SendError(e.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Handle request to refresh performance data collection status
|
||||
/// </summary>
|
||||
internal async Task HandleRefreshPerfDataCollectionRequest(
|
||||
RefreshPerfDataCollectionParams parameters,
|
||||
RequestContext<RefreshPerfDataCollectionResult> requestContext)
|
||||
{
|
||||
try
|
||||
{
|
||||
bool isCollecting = !(this.DataCollectionController is null) ? this.DataCollectionController.IsRunning() : false;
|
||||
List<string> messages = !(this.DataCollectionController is null) ? this.DataCollectionController.FetchLatestMessages(parameters.LastRefreshedTime) : new List<string>();
|
||||
List<string> errors = !(this.DataCollectionController is null) ? this.DataCollectionController.FetchLatestErrors(parameters.LastRefreshedTime) : new List<string>();
|
||||
|
||||
RefreshPerfDataCollectionResult result = new RefreshPerfDataCollectionResult()
|
||||
{
|
||||
RefreshTime = DateTime.UtcNow,
|
||||
IsCollecting = isCollecting,
|
||||
Messages = messages,
|
||||
Errors = errors,
|
||||
};
|
||||
|
||||
await requestContext.SendResult(result);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
await requestContext.SendError(e.ToString());
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Handle request to generate SKU recommendations
|
||||
/// </summary>
|
||||
internal async Task HandleGetSkuRecommendationsRequest(
|
||||
GetSkuRecommendationsParams parameters,
|
||||
RequestContext<GetSkuRecommendationsResult> requestContext)
|
||||
{
|
||||
try
|
||||
{
|
||||
SqlAssessmentConfiguration.EnableLocalLogging = true;
|
||||
SqlAssessmentConfiguration.ReportsAndLogsRootFolderPath = Path.GetDirectoryName(Logger.LogFileFullPath);
|
||||
|
||||
CsvRequirementsAggregator aggregator = new CsvRequirementsAggregator(parameters.DataFolder);
|
||||
|
||||
SqlInstanceRequirements req = aggregator.ComputeSqlInstanceRequirements(
|
||||
agentId: null,
|
||||
instanceId: parameters.TargetSqlInstance,
|
||||
targetPercentile: parameters.TargetPercentile,
|
||||
startTime: DateTime.ParseExact(parameters.StartTime, RecommendationConstants.TimestampDateTimeFormat, CultureInfo.InvariantCulture),
|
||||
endTime: DateTime.ParseExact(parameters.EndTime, RecommendationConstants.TimestampDateTimeFormat, CultureInfo.InvariantCulture),
|
||||
collectionInterval: parameters.PerfQueryIntervalInSec,
|
||||
dbsToInclude: new HashSet<string>(parameters.DatabaseAllowList),
|
||||
hostRequirements: new SqlServerHostRequirements() { NICCount = 1 });
|
||||
|
||||
SkuRecommendationServiceProvider provider = new SkuRecommendationServiceProvider(new AzureSqlSkuBillingServiceProvider());
|
||||
|
||||
// generate SQL DB recommendations, if applicable
|
||||
List<SkuRecommendationResult> sqlDbResults = new List<SkuRecommendationResult>();
|
||||
if (parameters.TargetPlatforms.Contains("AzureSqlDatabase"))
|
||||
{
|
||||
var prefs = new AzurePreferences()
|
||||
{
|
||||
EligibleSkuCategories = GetEligibleSkuCategories("AzureSqlDatabase", parameters.IncludePreviewSkus),
|
||||
ScalingFactor = parameters.ScalingFactor / 100.0
|
||||
};
|
||||
sqlDbResults = provider.GetSkuRecommendation(prefs, req);
|
||||
|
||||
if (sqlDbResults.Count < parameters.DatabaseAllowList.Count)
|
||||
{
|
||||
// if there are fewer recommendations than expected, find which databases didn't have a result generated and create a result with a null SKU
|
||||
// TO-DO: in the future the NuGet will supply this logic directly so this won't be necessary anymore
|
||||
List<string> databasesWithRecommendation = sqlDbResults.Select(db => db.DatabaseName).ToList();
|
||||
foreach (var databaseWithoutRecommendation in parameters.DatabaseAllowList.Where(db => !databasesWithRecommendation.Contains(db)))
|
||||
{
|
||||
sqlDbResults.Add(new SkuRecommendationResult()
|
||||
{
|
||||
//SqlInstanceName = sqlDbResults.FirstOrDefault().SqlInstanceName,
|
||||
SqlInstanceName = parameters.TargetSqlInstance,
|
||||
DatabaseName = databaseWithoutRecommendation,
|
||||
TargetSku = null,
|
||||
MonthlyCost = null,
|
||||
Ranking = -1,
|
||||
PositiveJustifications = null,
|
||||
NegativeJustifications = null,
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// generate SQL MI recommendations, if applicable
|
||||
List<SkuRecommendationResult> sqlMiResults = new List<SkuRecommendationResult>();
|
||||
if (parameters.TargetPlatforms.Contains("AzureSqlManagedInstance"))
|
||||
{
|
||||
var prefs = new AzurePreferences()
|
||||
{
|
||||
EligibleSkuCategories = GetEligibleSkuCategories("AzureSqlManagedInstance", parameters.IncludePreviewSkus),
|
||||
ScalingFactor = parameters.ScalingFactor / 100.0
|
||||
};
|
||||
sqlMiResults = provider.GetSkuRecommendation(prefs, req);
|
||||
|
||||
// if no result was generated, create a result with a null SKU
|
||||
// TO-DO: in the future the NuGet will supply this logic directly so this won't be necessary anymore
|
||||
if (!sqlMiResults.Any())
|
||||
{
|
||||
sqlMiResults.Add(new SkuRecommendationResult()
|
||||
{
|
||||
SqlInstanceName = parameters.TargetSqlInstance,
|
||||
DatabaseName = null,
|
||||
TargetSku = null,
|
||||
MonthlyCost = null,
|
||||
Ranking = -1,
|
||||
PositiveJustifications = null,
|
||||
NegativeJustifications = null,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// generate SQL VM recommendations, if applicable
|
||||
List<SkuRecommendationResult> sqlVmResults = new List<SkuRecommendationResult>();
|
||||
if (parameters.TargetPlatforms.Contains("AzureSqlVirtualMachine"))
|
||||
{
|
||||
var prefs = new AzurePreferences()
|
||||
{
|
||||
EligibleSkuCategories = GetEligibleSkuCategories("AzureSqlVirtualMachine", parameters.IncludePreviewSkus),
|
||||
ScalingFactor = parameters.ScalingFactor / 100.0,
|
||||
TargetEnvironment = TargetEnvironmentType.Production
|
||||
};
|
||||
sqlVmResults = provider.GetSkuRecommendation(prefs, req);
|
||||
|
||||
// if no result was generated, create a result with a null SKU
|
||||
// TO-DO: in the future the NuGet will supply this logic directly so this won't be necessary anymore
|
||||
if (!sqlVmResults.Any())
|
||||
{
|
||||
sqlVmResults.Add(new SkuRecommendationResult()
|
||||
{
|
||||
SqlInstanceName = parameters.TargetSqlInstance,
|
||||
DatabaseName = null,
|
||||
TargetSku = null,
|
||||
MonthlyCost = null,
|
||||
Ranking = -1,
|
||||
PositiveJustifications = null,
|
||||
NegativeJustifications = null,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
GetSkuRecommendationsResult results = new GetSkuRecommendationsResult
|
||||
{
|
||||
SqlDbRecommendationResults = sqlDbResults,
|
||||
SqlMiRecommendationResults = sqlMiResults,
|
||||
SqlVmRecommendationResults = sqlVmResults,
|
||||
InstanceRequirements = req
|
||||
};
|
||||
|
||||
await requestContext.SendResult(results);
|
||||
}
|
||||
catch (FailedToQueryCountersException e)
|
||||
{
|
||||
await requestContext.SendError($"Unable to read collected performance data from {parameters.DataFolder}. Please specify another folder or start data collection instead.");
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
await requestContext.SendError(e.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
internal class AssessmentRequest : IAssessmentRequest
|
||||
{
|
||||
@@ -174,11 +432,11 @@ namespace Microsoft.SqlTools.ServiceLayer.Migration
|
||||
internal async Task<MigrationAssessmentResult> GetAssessmentItems(string[] connectionStrings)
|
||||
{
|
||||
SqlAssessmentConfiguration.EnableLocalLogging = true;
|
||||
SqlAssessmentConfiguration.AssessmentReportAndLogsRootFolderPath = Path.GetDirectoryName(Logger.LogFileFullPath);
|
||||
SqlAssessmentConfiguration.ReportsAndLogsRootFolderPath = Path.GetDirectoryName(Logger.LogFileFullPath);
|
||||
DmaEngine engine = new DmaEngine(connectionStrings);
|
||||
ISqlMigrationAssessmentModel contextualizedAssessmentResult = await engine.GetTargetAssessmentResultsListWithCheck(System.Threading.CancellationToken.None);
|
||||
engine.SaveAssessmentResultsToJson(contextualizedAssessmentResult, false);
|
||||
var server = (contextualizedAssessmentResult.Servers.Count > 0)? ParseServerAssessmentInfo(contextualizedAssessmentResult.Servers[0], engine): null;
|
||||
var server = (contextualizedAssessmentResult.Servers.Count > 0) ? ParseServerAssessmentInfo(contextualizedAssessmentResult.Servers[0], engine) : null;
|
||||
return new MigrationAssessmentResult()
|
||||
{
|
||||
AssessmentResult = server,
|
||||
@@ -283,7 +541,118 @@ namespace Microsoft.SqlTools.ServiceLayer.Migration
|
||||
|
||||
internal string CreateAssessmentResultKey(ISqlMigrationAssessmentResult assessment)
|
||||
{
|
||||
return assessment.ServerName+assessment.DatabaseName+assessment.FeatureId.ToString()+assessment.IssueCategory.ToString()+assessment.Message + assessment.TargetType.ToString() + assessment.AppliesToMigrationTargetPlatform.ToString();
|
||||
return assessment.ServerName + assessment.DatabaseName + assessment.FeatureId.ToString() + assessment.IssueCategory.ToString() + assessment.Message + assessment.TargetType.ToString() + assessment.AppliesToMigrationTargetPlatform.ToString();
|
||||
}
|
||||
|
||||
// Returns the list of eligible SKUs to consider, depending on the desired target platform
|
||||
internal static List<AzureSqlSkuCategory> GetEligibleSkuCategories(string targetPlatform, bool includePreviewSkus)
|
||||
{
|
||||
List<AzureSqlSkuCategory> eligibleSkuCategories = new List<AzureSqlSkuCategory>();
|
||||
|
||||
switch (targetPlatform)
|
||||
{
|
||||
case "AzureSqlDatabase":
|
||||
// Gen5 BC/GP DB
|
||||
eligibleSkuCategories.Add(new AzureSqlSkuPaaSCategory(
|
||||
AzureSqlTargetPlatform.AzureSqlDatabase,
|
||||
AzureSqlPurchasingModel.vCore,
|
||||
AzureSqlPaaSServiceTier.BusinessCritical,
|
||||
ComputeTier.Provisioned,
|
||||
AzureSqlPaaSHardwareType.Gen5));
|
||||
|
||||
eligibleSkuCategories.Add(new AzureSqlSkuPaaSCategory(
|
||||
AzureSqlTargetPlatform.AzureSqlDatabase,
|
||||
AzureSqlPurchasingModel.vCore,
|
||||
AzureSqlPaaSServiceTier.GeneralPurpose,
|
||||
ComputeTier.Provisioned,
|
||||
AzureSqlPaaSHardwareType.Gen5));
|
||||
break;
|
||||
|
||||
case "AzureSqlManagedInstance":
|
||||
// Gen5 BC/GP MI
|
||||
eligibleSkuCategories.Add(new AzureSqlSkuPaaSCategory(
|
||||
AzureSqlTargetPlatform.AzureSqlManagedInstance,
|
||||
AzureSqlPurchasingModel.vCore,
|
||||
AzureSqlPaaSServiceTier.BusinessCritical,
|
||||
ComputeTier.Provisioned,
|
||||
AzureSqlPaaSHardwareType.Gen5));
|
||||
|
||||
eligibleSkuCategories.Add(new AzureSqlSkuPaaSCategory(
|
||||
AzureSqlTargetPlatform.AzureSqlManagedInstance,
|
||||
AzureSqlPurchasingModel.vCore,
|
||||
AzureSqlPaaSServiceTier.GeneralPurpose,
|
||||
ComputeTier.Provisioned,
|
||||
AzureSqlPaaSHardwareType.Gen5));
|
||||
if (includePreviewSkus)
|
||||
{
|
||||
// Premium BC/GP
|
||||
eligibleSkuCategories.Add(new AzureSqlSkuPaaSCategory(
|
||||
AzureSqlTargetPlatform.AzureSqlManagedInstance,
|
||||
AzureSqlPurchasingModel.vCore,
|
||||
AzureSqlPaaSServiceTier.BusinessCritical,
|
||||
ComputeTier.Provisioned,
|
||||
AzureSqlPaaSHardwareType.PremiumSeries));
|
||||
|
||||
eligibleSkuCategories.Add(new AzureSqlSkuPaaSCategory(
|
||||
AzureSqlTargetPlatform.AzureSqlManagedInstance,
|
||||
AzureSqlPurchasingModel.vCore,
|
||||
AzureSqlPaaSServiceTier.GeneralPurpose,
|
||||
ComputeTier.Provisioned,
|
||||
AzureSqlPaaSHardwareType.PremiumSeries));
|
||||
|
||||
// Premium Memory Optimized BC/GP
|
||||
eligibleSkuCategories.Add(new AzureSqlSkuPaaSCategory(
|
||||
AzureSqlTargetPlatform.AzureSqlManagedInstance,
|
||||
AzureSqlPurchasingModel.vCore,
|
||||
AzureSqlPaaSServiceTier.BusinessCritical,
|
||||
ComputeTier.Provisioned,
|
||||
AzureSqlPaaSHardwareType.PremiumSeriesMemoryOptimized));
|
||||
|
||||
eligibleSkuCategories.Add(new AzureSqlSkuPaaSCategory(
|
||||
AzureSqlTargetPlatform.AzureSqlManagedInstance,
|
||||
AzureSqlPurchasingModel.vCore,
|
||||
AzureSqlPaaSServiceTier.GeneralPurpose,
|
||||
ComputeTier.Provisioned,
|
||||
AzureSqlPaaSHardwareType.PremiumSeriesMemoryOptimized));
|
||||
}
|
||||
break;
|
||||
|
||||
case "AzureSqlVirtualMachine":
|
||||
string assemblyPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
|
||||
|
||||
// load Azure VM capabilities
|
||||
string jsonFile = File.ReadAllText(Path.Combine(assemblyPath, RecommendationConstants.DataFolder, RecommendationConstants.SqlVmCapability));
|
||||
List<AzureSqlIaaSCapability> vmCapabilities = JsonConvert.DeserializeObject<List<AzureSqlIaaSCapability>>(jsonFile);
|
||||
|
||||
if (includePreviewSkus)
|
||||
{
|
||||
// Eb series (in preview) capabilities stored separately
|
||||
string computePreviewFilePath = Path.Combine(assemblyPath, RecommendationConstants.DataFolder, RecommendationConstants.SqlVmPreviewCapability);
|
||||
if (File.Exists(computePreviewFilePath))
|
||||
{
|
||||
jsonFile = File.ReadAllText(computePreviewFilePath);
|
||||
List<AzureSqlIaaSCapability> vmPreviewCapabilities = JsonConvert.DeserializeObject<List<AzureSqlIaaSCapability>>(jsonFile);
|
||||
|
||||
vmCapabilities.AddRange(vmPreviewCapabilities);
|
||||
}
|
||||
}
|
||||
|
||||
foreach (VirtualMachineFamily family in AzureVirtualMachineFamilyGroup.FamilyGroups[VirtualMachineFamilyType.GeneralPurpose]
|
||||
.Concat(AzureVirtualMachineFamilyGroup.FamilyGroups[VirtualMachineFamilyType.MemoryOptimized]))
|
||||
{
|
||||
var skus = vmCapabilities.Where(c => string.Equals(c.Family, family.ToString(), StringComparison.OrdinalIgnoreCase)).Select(c => c.Name);
|
||||
AzureSqlSkuIaaSCategory category = new AzureSqlSkuIaaSCategory(family);
|
||||
category.AvailableVmSkus.AddRange(skus);
|
||||
|
||||
eligibleSkuCategories.Add(category);
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return eligibleSkuCategories;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -293,6 +662,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Migration
|
||||
{
|
||||
if (!disposed)
|
||||
{
|
||||
this.DataCollectionController.Dispose();
|
||||
disposed = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,382 @@
|
||||
//
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
//
|
||||
|
||||
using Microsoft.SqlServer.DataCollection.Common.Contracts.Advisor;
|
||||
using Microsoft.SqlServer.DataCollection.Common.Contracts.ErrorHandling;
|
||||
using Microsoft.SqlServer.DataCollection.Common.Contracts.SqlQueries;
|
||||
using Microsoft.SqlServer.DataCollection.Common.ErrorHandling;
|
||||
using Microsoft.SqlServer.Migration.SkuRecommendation;
|
||||
using Microsoft.SqlServer.Migration.SkuRecommendation.Contracts.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
|
||||
namespace Microsoft.SqlTools.ServiceLayer.Migration
|
||||
{
|
||||
/// <summary>
|
||||
/// Controller to manage the collection, aggregation, and persistence of SQL performance and static data for SKU recommendation.
|
||||
/// </summary>
|
||||
public class SqlDataQueryController : IDisposable
|
||||
{
|
||||
// Timers to control performance and static data collection intervals
|
||||
private IList<System.Timers.Timer> timers = new List<System.Timers.Timer>() { };
|
||||
private int perfQueryIntervalInSec;
|
||||
private int numberOfIterations;
|
||||
|
||||
// Output folder to store data in
|
||||
private string outputFolder;
|
||||
|
||||
// Name of the server handled by this controller
|
||||
private string serverName;
|
||||
|
||||
// Data collector and cache
|
||||
private DataPointsCollector dataCollector = null;
|
||||
private SqlPerfDataPointsCache perfDataCache = null;
|
||||
|
||||
// Whether or not this controller has been disposed
|
||||
private bool disposedValue = false;
|
||||
|
||||
private ISqlAssessmentLogger _logger;
|
||||
|
||||
// since this "console app" doesn't have any console to write to, store any messages so that they can be periodically fetched
|
||||
private List<KeyValuePair<string, DateTime>> messages;
|
||||
private List<KeyValuePair<string, DateTime>> errors;
|
||||
|
||||
/// <summary>
|
||||
/// Create a new SqlDataQueryController.
|
||||
/// </summary>
|
||||
/// <param name="connectionString">SQL connection string</param>
|
||||
/// <param name="outputFolder">Output folder to save results to</param>
|
||||
/// <param name="perfQueryIntervalInSec">Interval, in seconds, at which perf counters are collected</param>
|
||||
/// <param name="numberOfIterations">Number of iterations of perf counter collection before aggreagtion</param>
|
||||
/// <param name="staticQueryIntervalInSec">Interval, in seconds, at which static/common counters are colltected</param>
|
||||
/// <param name="logger">Logger</param>
|
||||
public SqlDataQueryController(
|
||||
string connectionString,
|
||||
string outputFolder,
|
||||
int perfQueryIntervalInSec,
|
||||
int numberOfIterations,
|
||||
int staticQueryIntervalInSec,
|
||||
ISqlAssessmentLogger logger)
|
||||
{
|
||||
this.outputFolder = outputFolder;
|
||||
this.perfQueryIntervalInSec = perfQueryIntervalInSec;
|
||||
this.numberOfIterations = numberOfIterations;
|
||||
this._logger = logger;
|
||||
this.messages = new List<KeyValuePair<string, DateTime>>();
|
||||
this.errors = new List<KeyValuePair<string, DateTime>>();
|
||||
perfDataCache = new SqlPerfDataPointsCache(this.outputFolder, _logger);
|
||||
dataCollector = new DataPointsCollector(new string[] { connectionString }, _logger);
|
||||
|
||||
// set up timers to run perf/static collection at specified intervals
|
||||
System.Timers.Timer perfDataCollectionTimer = new System.Timers.Timer();
|
||||
perfDataCollectionTimer.Elapsed += (sender, e) => PerfDataQueryEvent();
|
||||
perfDataCollectionTimer.Interval = perfQueryIntervalInSec * 1000;
|
||||
timers.Add(perfDataCollectionTimer);
|
||||
|
||||
System.Timers.Timer staticDataCollectionTimer = new System.Timers.Timer();
|
||||
staticDataCollectionTimer.Elapsed += (sender, e) => StaticDataQueryAndPersistEvent();
|
||||
staticDataCollectionTimer.Interval = staticQueryIntervalInSec * 1000;
|
||||
timers.Add(staticDataCollectionTimer);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Start this SqlDataQueryController.
|
||||
/// </summary>
|
||||
public void Start()
|
||||
{
|
||||
foreach (var timer in timers)
|
||||
{
|
||||
timer.Start();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns whether or not this SqlDataQueryController is currently running.
|
||||
/// </summary>
|
||||
public bool IsRunning()
|
||||
{
|
||||
return this.timers.All(timer => timer.Enabled);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Collect performance data, adding the collected points to the cache.
|
||||
/// </summary>
|
||||
private void PerfDataQueryEvent()
|
||||
{
|
||||
try
|
||||
{
|
||||
int currentIteration = perfDataCache.CurrentIteration;
|
||||
|
||||
// Get raw perf data points
|
||||
var validationResult = dataCollector.CollectPerfDataPoints(CancellationToken.None, TimeSpan.FromSeconds(this.perfQueryIntervalInSec)).Result.FirstOrDefault();
|
||||
|
||||
if (validationResult != null && validationResult.Status == SqlAssessmentStatus.Completed)
|
||||
{
|
||||
IList<ISqlPerfDataPoints> result = validationResult.SqlPerfDataPoints;
|
||||
perfDataCache.AddingPerfData(result);
|
||||
serverName = this.perfDataCache.ServerName;
|
||||
|
||||
this.messages.Add(new KeyValuePair<string, DateTime>(
|
||||
string.Format("Performance data query iteration: {0} of {1}, collected {2} data points.", currentIteration, numberOfIterations, result.Count),
|
||||
DateTime.UtcNow));
|
||||
|
||||
// perform aggregation and persistence once enough iterations have completed
|
||||
if (currentIteration == numberOfIterations)
|
||||
{
|
||||
PerfDataAggregateAndPersistEvent();
|
||||
}
|
||||
}
|
||||
else if (validationResult != null && validationResult.Status == SqlAssessmentStatus.Error)
|
||||
{
|
||||
var error = validationResult.Errors.FirstOrDefault();
|
||||
|
||||
Logging(error);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logging(e);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Aggregate and persist the cached points, saving the aggregated points to disk.
|
||||
/// </summary>
|
||||
internal void PerfDataAggregateAndPersistEvent()
|
||||
{
|
||||
try
|
||||
{
|
||||
// Aggregate the records in the Cache
|
||||
int rawDataPointsCount = this.perfDataCache.GetRawDataPointsCount();
|
||||
|
||||
this.perfDataCache.AggregatingPerfData();
|
||||
int aggregatedDataPointsCount = this.perfDataCache.GetAggregatedDataPointsCount();
|
||||
|
||||
// Persist into local csv.
|
||||
if (aggregatedDataPointsCount > 0)
|
||||
{
|
||||
this.perfDataCache.PersistingCacheAsCsv();
|
||||
|
||||
this.messages.Add(new KeyValuePair<string, DateTime>(
|
||||
string.Format("Aggregated {0} raw data points to {1} performance counters, and saved to {2}.", rawDataPointsCount, aggregatedDataPointsCount, this.outputFolder),
|
||||
DateTime.UtcNow));
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logging(e);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Collect and persist static data, saving the collected points to disk.
|
||||
/// </summary>
|
||||
private void StaticDataQueryAndPersistEvent()
|
||||
{
|
||||
try
|
||||
{
|
||||
var validationResult = this.dataCollector.CollectCommonDataPoints(CancellationToken.None).Result.FirstOrDefault();
|
||||
if (validationResult != null && validationResult.Status == SqlAssessmentStatus.Completed)
|
||||
{
|
||||
// Common data result
|
||||
IList<ISqlCommonDataPoints> staticDataResult = new List<ISqlCommonDataPoints>();
|
||||
staticDataResult.Add(validationResult.SqlCommonDataPoints);
|
||||
serverName = staticDataResult.Select(p => p.ServerName).FirstOrDefault();
|
||||
|
||||
// Save to csv
|
||||
var persistor = new DataPointsPersistor(this.outputFolder);
|
||||
|
||||
serverName = staticDataResult.Select(p => p.ServerName).FirstOrDefault();
|
||||
persistor.SaveCommonDataPoints(staticDataResult, serverName);
|
||||
|
||||
this.messages.Add(new KeyValuePair<string, DateTime>(
|
||||
string.Format("Collected static configuration data, and saved to {0}.", this.outputFolder),
|
||||
DateTime.UtcNow));
|
||||
}
|
||||
else if (validationResult != null && validationResult.Status == SqlAssessmentStatus.Error)
|
||||
{
|
||||
var error = validationResult.Errors.FirstOrDefault();
|
||||
|
||||
Logging(error);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logging(e);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Log exceptions to file.
|
||||
/// </summary>
|
||||
/// <param name="ex">Exception to log</param>
|
||||
private void Logging(Exception ex)
|
||||
{
|
||||
this.errors.Add(new KeyValuePair<string, DateTime>(ex.Message, DateTime.UtcNow));
|
||||
|
||||
var error = new UnhandledSqlExceptionErrorModel(ex, ErrorScope.General);
|
||||
_logger.Log(error, ErrorLevel.Error, TelemetryScope.PerfCollection);
|
||||
_logger.Log(TelemetryScope.PerfCollection, ex.Message);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Log errors to file.
|
||||
/// </summary>
|
||||
/// <param name="error">Error to log</param>
|
||||
private void Logging(IErrorModel error)
|
||||
{
|
||||
this.errors.Add(new KeyValuePair<string, DateTime>(error.RawException.Message, DateTime.UtcNow));
|
||||
|
||||
_logger.Log(error, ErrorLevel.Error, TelemetryScope.PerfCollection);
|
||||
_logger.Log(TelemetryScope.PerfCollection, error.RawException.Message);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Fetches the latest messages, and then clears the message list.
|
||||
/// </summary>
|
||||
/// <param name="startTime">Only return messages from after this time</param>
|
||||
/// <returns>List of queued messages</returns>
|
||||
public List<string> FetchLatestMessages(DateTime startTime)
|
||||
{
|
||||
List<string> latestMessages = this.messages.Where(kvp => kvp.Value > startTime).Select(kvp => kvp.Key).ToList();
|
||||
this.messages.Clear();
|
||||
return latestMessages;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Fetches the latest messages, and then clears the message list.
|
||||
/// </summary>
|
||||
/// <param name="startTime">Only return messages from after this time</param>
|
||||
/// <returns>List of queued errors</returns>
|
||||
public List<string> FetchLatestErrors(DateTime startTime)
|
||||
{
|
||||
List<string> latestErrors = this.errors.Where(kvp => kvp.Value > startTime).Select(kvp => kvp.Key).ToList();
|
||||
this.messages.Clear();
|
||||
return latestErrors;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Dispose of this SqlDataQueryController.
|
||||
/// </summary>
|
||||
public void Dispose()
|
||||
{
|
||||
// Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method
|
||||
Dispose(disposing: true);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
if (!disposedValue)
|
||||
{
|
||||
if (disposing)
|
||||
{
|
||||
foreach (var timer in timers)
|
||||
{
|
||||
timer.Stop();
|
||||
}
|
||||
|
||||
if (perfDataCache.CurrentIteration > 2)
|
||||
{
|
||||
PerfDataAggregateAndPersistEvent(); // flush cache if there are enough data points
|
||||
}
|
||||
|
||||
this.perfDataCache = null;
|
||||
}
|
||||
|
||||
disposedValue = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cache to store intermediate SQL performance data before it is aggregated and persisted for SKU recommendation.
|
||||
/// </summary>
|
||||
public class SqlPerfDataPointsCache
|
||||
{
|
||||
public string ServerName { get; private set; }
|
||||
|
||||
public int CurrentIteration { get; private set; }
|
||||
|
||||
private string outputFolder;
|
||||
private ISqlAssessmentLogger logger;
|
||||
|
||||
private IList<IList<ISqlPerfDataPoints>> perfDataPoints = new List<IList<ISqlPerfDataPoints>>();
|
||||
private IList<AggregatedPerformanceCounters> perfAggregated = new List<AggregatedPerformanceCounters>();
|
||||
|
||||
/// <summary>
|
||||
/// Create a new SqlPerfDataPointsCache.
|
||||
/// </summary>
|
||||
/// <param name="outputFolder">Output folder to save results to</param>
|
||||
/// <param name="logger">Logger</param>
|
||||
public SqlPerfDataPointsCache(string outputFolder, ISqlAssessmentLogger logger = null)
|
||||
{
|
||||
this.outputFolder = outputFolder;
|
||||
this.logger = logger ?? new DefaultPerfDataCollectionLogger();
|
||||
CurrentIteration = 1;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Add the collected data points to the cache.
|
||||
/// </summary>
|
||||
/// <param name="result">Collected data points</param>
|
||||
public void AddingPerfData(IList<ISqlPerfDataPoints> result)
|
||||
{
|
||||
ServerName = result.Select(p => p.ServerName).FirstOrDefault();
|
||||
perfDataPoints.Add(result);
|
||||
CurrentIteration++;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Return the number of raw data points.
|
||||
/// </summary>
|
||||
public int GetRawDataPointsCount()
|
||||
{
|
||||
// flatten list
|
||||
return perfDataPoints.SelectMany(x => x).Count();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Return the number of aggregated data points.
|
||||
/// </summary>
|
||||
public int GetAggregatedDataPointsCount()
|
||||
{
|
||||
return perfAggregated.Count;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Aggregate the cached data points.
|
||||
/// </summary>
|
||||
public void AggregatingPerfData()
|
||||
{
|
||||
try
|
||||
{
|
||||
var aggregator = new CounterAggregator(logger);
|
||||
perfAggregated = aggregator.AggregateDatapoints(perfDataPoints);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw ex;
|
||||
}
|
||||
finally
|
||||
{
|
||||
perfDataPoints.Clear();
|
||||
// reset the iteration counter
|
||||
CurrentIteration = 1;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Save the cached and aggregated data points to disk.
|
||||
/// </summary>
|
||||
public void PersistingCacheAsCsv()
|
||||
{
|
||||
// Save to csv
|
||||
var persistor = new DataPointsPersistor(outputFolder);
|
||||
persistor.SavePerfDataPoints(perfAggregated, machineId: ServerName, overwrite: false);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user