<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Azure &#8211; Presplay Cloud Tech*</title>
	<atom:link href="https://posts.presplay.cloud/category/azure/feed/" rel="self" type="application/rss+xml" />
	<link>https://posts.presplay.cloud</link>
	<description>Trends and Inventions in technology</description>
	<lastBuildDate>Mon, 03 Jan 2022 15:46:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>

<image>
	<url>https://posts.presplay.cloud/wp-content/uploads/2018/02/cropped-presplay-2-32x32.png</url>
	<title>Azure &#8211; Presplay Cloud Tech*</title>
	<link>https://posts.presplay.cloud</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Monitor metrics on Azure Database for PostgreSQL &#8211; Flexible Server</title>
		<link>https://posts.presplay.cloud/monitor-metrics-on-azure-database-for-postgresql-flexible-server/</link>
					<comments>https://posts.presplay.cloud/monitor-metrics-on-azure-database-for-postgresql-flexible-server/#respond</comments>
		
		<dc:creator><![CDATA[Presplay]]></dc:creator>
		<pubDate>Sat, 22 May 2021 13:25:38 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Cloud Database]]></category>
		<guid isPermaLink="false">https://presplay.cloud/?p=22474</guid>

					<description><![CDATA[Monitoring data about your servers helps you troubleshoot and optimize for your workload. Azure Database for PostgreSQL provides various monitoring options to provide insight into the behavior of your server. Metrics Azure Database for PostgreSQL provides various metrics that give insight into the behavior of the resources supporting the PostgreSQL server. Each metric is emitted&#8230;]]></description>
										<content:encoded><![CDATA[<p><main id="main" class="content " dir="ltr" lang="en-us" role="main" data-bi-name="content"><img decoding="async" src="https://tecnologiaenvivo.com/wp-content/uploads/2016/09/postgress.jpg" alt="Conceptos básicos de bases de datos. - Uneweb Instituto" /><br />
Monitoring data about your servers helps you troubleshoot and optimize for your workload. Azure Database for PostgreSQL provides various monitoring options to provide insight into the behavior of your server.</main></p>
<h2 id="metrics" class="heading-anchor">Metrics</h2>
<p>Azure Database for PostgreSQL provides various metrics that give insight into the behavior of the resources supporting the PostgreSQL server. Each metric is emitted at a one-minute frequency, and has up to <a href="https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/data-platform-metrics#retention-of-metrics" data-linktype="relative-path">93 days of history</a>. You can configure alerts on the metrics. Other options include setting up automated actions, performing advanced analytics, and archiving history. For more information, see the <a href="https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/data-platform-metrics" data-linktype="relative-path">Azure Metrics Overview</a>.</p>
<h3 id="list-of-metrics" class="heading-anchor">List of metrics</h3>
<p>The following metrics are available for PostgreSQL flexible server:</p>
<div class="table-scroll-wrapper has-inner-focus" tabindex="0" role="group" aria-label="Horizontally scrollable data">
<table class="table">
<caption class="visually-hidden">LIST OF METRICS</caption>
<thead>
<tr>
<th>Metric</th>
<th>Metric Display Name</th>
<th>Unit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>active_connections</td>
<td>Active Connections</td>
<td>Count</td>
<td>The number of connections to your server.</td>
</tr>
<tr>
<td>backup_storage_used</td>
<td>Backup Storage Used</td>
<td>Bytes</td>
<td>Amount of backup storage used. This metric represents the sum of storage consumed by all the full database backups, differential backups, and log backups retained based on the backup retention period set for the server. The frequency of the backups is service managed. For geo-redundant storage, backup storage usage is twice that of the locally redundant storage.</td>
</tr>
<tr>
<td>connections_failed</td>
<td>Failed Connections</td>
<td>Count</td>
<td>Failed connections.</td>
</tr>
<tr>
<td>connections_succeeded</td>
<td>Succeeded Connections</td>
<td>Count</td>
<td>Succeeded connections.</td>
</tr>
<tr>
<td>cpu_credits_consumed</td>
<td>CPU Credits Consumed</td>
<td>Count</td>
<td>Number of credits used by the flexible server. Applicable to Burstable tier.</td>
</tr>
<tr>
<td>cpu_credits_remaining</td>
<td>CPU Credits Remaining</td>
<td>Count</td>
<td>Number of credits available to burst. Applicable to Burstable tier.</td>
</tr>
<tr>
<td>cpu_percent</td>
<td>CPU percent</td>
<td>Percent</td>
<td>Percentage of CPU in use.</td>
</tr>
<tr>
<td>disk_queue_depth</td>
<td>Disk Queue Depth</td>
<td>Count</td>
<td>Number of outstanding I/O operations to the data disk.</td>
</tr>
<tr>
<td>iops</td>
<td>IOPS</td>
<td>Count</td>
<td>Number of I/O operations to disk per second.</td>
</tr>
<tr>
<td>maximum_used_transactionIDs</td>
<td>Maximum Used Transaction IDs</td>
<td>Count</td>
<td>Maximum transaction ID in use.</td>
</tr>
<tr>
<td>memory_percent</td>
<td>Memory percent</td>
<td>Percent</td>
<td>Percentage of memory in use.</td>
</tr>
<tr>
<td>network_bytes_egress</td>
<td>Network Out</td>
<td>Bytes</td>
<td>Amount of outgoing network traffic.</td>
</tr>
<tr>
<td>network_bytes_ingress</td>
<td>Network In</td>
<td>Bytes</td>
<td>Amount of incoming network traffic.</td>
</tr>
<tr>
<td>read_iops</td>
<td>Read IOPS</td>
<td>Count</td>
<td>Number of data disk I/O read operations per second.</td>
</tr>
<tr>
<td>read_throughput</td>
<td>Read Throughput</td>
<td>Bytes</td>
<td>Bytes read per second from disk.</td>
</tr>
<tr>
<td>storage_free</td>
<td>Storage Free</td>
<td>Bytes</td>
<td>The amount of storage space available.</td>
</tr>
<tr>
<td>storage_percent</td>
<td>Storage percent</td>
<td>Percentage</td>
<td>Percent of storage space used. The storage used by the service may include the database files, transaction logs, and the server logs.</td>
</tr>
<tr>
<td>storage_used</td>
<td>Storage Used</td>
<td>Bytes</td>
<td>Percent of storage space used. The storage used by the service may include the database files, transaction logs, and the server logs.</td>
</tr>
<tr>
<td>txlogs_storage_used</td>
<td>Transaction Log Storage Used</td>
<td>Bytes</td>
<td>Amount of storage space used by the transaction logs.</td>
</tr>
<tr>
<td>write_throughput</td>
<td>Write Throughput</td>
<td>Bytes</td>
<td>Bytes written per second to disk.</td>
</tr>
<tr>
<td>write_iops</td>
<td>Write IOPS</td>
<td>Count</td>
<td>Number of data disk I/O write operations per second.</td>
</tr>
</tbody>
</table>
</div>
<h2 id="server-logs" class="heading-anchor">Server logs</h2>
<p>Azure Database for PostgreSQL allows you to configure and access Postgres&#8217; standard logs. To learn more about logs, visit the <a href="https://docs.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-logging" data-linktype="relative-path">logging concepts doc</a>.</p>
<p>&nbsp;</p>
<section id="recommendations-section" data-bi-name="recommendations">
<hr class="hr" />
<h2 class="title is-3 has-margin-top-large">Recommended content</h2>
<ul id="recommendations-list" class="has-margin-bottom-large" aria-live="polite" aria-relevant="additions" aria-label="recommendations list">
<li class="margin-top-xs ">
<article class="card">
<div class="card-content">
<h3>Backup and restore in Azure Database for PostgreSQL &#8211; Flexible Server</h3>
<p class="card-content-description has-three-lines">Learn about the concepts of backup and restore with Azure Database for PostgreSQL &#8211; Flexible Server</p>
</div>
</article>
</li>
<li class="margin-top-xs ">
<article class="card">
<div class="card-content">
<h3>Logical decoding &#8211; Azure Database for PostgreSQL &#8211; Single Server</h3>
<p class="card-content-description has-three-lines">Describes logical decoding and wal2json for change data capture in Azure Database for PostgreSQL &#8211; Single Server</p>
</div>
</article>
</li>
<li class="margin-top-xs ">
<article class="card">
<div class="card-content">
<h3>Monitor and tune &#8211; Azure Database for PostgreSQL &#8211; Single Server</h3>
<p class="card-content-description has-three-lines">This article describes monitoring and tuning features in Azure Database for PostgreSQL &#8211; Single Server.</p>
</div>
</article>
</li>
<li class="margin-top-xs ">
<article class="card">
<div class="card-content">
<h3>Logical replication and logical decoding &#8211; Azure Database for PostgreSQL &#8211; Flexible Server</h3>
<p class="card-content-description has-three-lines">Learn about using logical replication and logical decoding in Azure Database for PostgreSQL &#8211; Flexible Server</p>
</div>
</article>
</li>
<li class="margin-top-xs expandable is-expanded">
<article class="card">
<div class="card-content">
<h3>Limits &#8211; Azure Database for PostgreSQL &#8211; Flexible Server</h3>
<p class="card-content-description has-three-lines">This article describes limits in Azure Database for PostgreSQL &#8211; Flexible Server, such as number of connection and storage engine options.</p>
</div>
</article>
</li>
<li class="margin-top-xs expandable is-expanded">
<article class="card">
<div class="card-content">
<h3>Extensions &#8211; Azure Database for PostgreSQL &#8211; Flexible Server</h3>
<p class="card-content-description has-three-lines">Learn about the available Postgres extensions in Azure Database for PostgreSQL &#8211; Flexible Server</p>
</div>
</article>
</li>
<li class="margin-top-xs expandable is-expanded">
<article class="card">
<div class="card-content">
<h3>Query Performance Insight &#8211; Azure Database for PostgreSQL &#8211; Single Server</h3>
<p class="card-content-description has-three-lines">This article describes the Query Performance Insight feature in Azure Database for PostgreSQL &#8211; Single Server.</p>
</div>
</article>
</li>
<li class="margin-top-xs expandable is-expanded">
<article class="card">
<div class="card-content">
<h3>Compute and Storage Options &#8211; Azure Database for PostgreSQL &#8211; Flexible Server</h3>
<p class="card-content-description has-three-lines">This article describes the compute and storage options in Azure Database for PostgreSQL &#8211; Flexible Server.</p>
</div>
</article>
</li>
</ul>
</section>
]]></content:encoded>
					
					<wfw:commentRss>https://posts.presplay.cloud/monitor-metrics-on-azure-database-for-postgresql-flexible-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Performance Recommendations in Azure Database for PostgreSQL &#8211; Single Server</title>
		<link>https://posts.presplay.cloud/performance-recommendations-in-azure-database-for-postgresql-single-server/</link>
					<comments>https://posts.presplay.cloud/performance-recommendations-in-azure-database-for-postgresql-single-server/#respond</comments>
		
		<dc:creator><![CDATA[Presplay]]></dc:creator>
		<pubDate>Sat, 22 May 2021 13:19:42 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Cloud Database]]></category>
		<guid isPermaLink="false">https://presplay.cloud/?p=22471</guid>

					<description><![CDATA[Applies to: Azure Database for PostgreSQL &#8211; Single Server versions 9.6, 10, 11 The Performance Recommendations feature analyses your databases to create customized suggestions for improved performance. To produce the recommendations, the analysis looks at various database characteristics including schema. Enable Query Store on your server to fully utilize the Performance Recommendations feature. After implementing any performance recommendation,&#8230;]]></description>
										<content:encoded><![CDATA[<p><main id="main" class="content " dir="ltr" lang="en-us" role="main" data-bi-name="content"><strong>Applies to:</strong> Azure Database for PostgreSQL &#8211; Single Server versions 9.6, 10, 11</p>
<p><img decoding="async" src="https://res.cloudinary.com/practicaldev/image/fetch/s--twVcwT-B--/c_imagga_scale,f_auto,fl_progressive,h_900,q_auto,w_1600/https://dev-to-uploads.s3.amazonaws.com/i/kbjzeples71613068b1i.jpg" alt="A simple guide to use PostgreSQL - DEV Community" /></p>
<p>The Performance Recommendations feature analyses your databases to create customized suggestions for improved performance. To produce the recommendations, the analysis looks at various database characteristics including schema. Enable <a href="https://docs.microsoft.com/en-us/azure/postgresql/concepts-query-store" data-linktype="relative-path">Query Store</a> on your server to fully utilize the Performance Recommendations feature. After implementing any performance recommendation, you should test performance to evaluate the impact of those changes.</p>
<h2 id="permissions" class="heading-anchor">Permissions</h2>
<p><strong>Owner</strong> or <strong>Contributor</strong> permissions required to run analysis using the Performance Recommendations feature.</p>
<h2 id="performance-recommendations" class="heading-anchor">Performance recommendations</h2>
<p>The <a href="https://docs.microsoft.com/en-us/azure/postgresql/concepts-performance-recommendations" data-linktype="relative-path">Performance Recommendations</a> feature analyzes workloads across your server to identify indexes with the potential to improve performance.</p>
<p>Open <strong>Performance Recommendations</strong> from the <strong>Intelligent Performance</strong> section of the menu bar on the Azure portal page for your PostgreSQL server.</p>
<p><span class="mx-imgBorder"><img decoding="async" src="https://docs.microsoft.com/en-us/azure/postgresql/media/concepts-performance-recommendations/performance-recommendations-page.png" alt="Performance Recommendations landing page" data-linktype="relative-path" /></span></p>
<p>Select <strong>Analyze</strong> and choose a database, which will begin the analysis. Depending on your workload, th analysis may take several minutes to complete. Once the analysis is done, there will be a notification in the portal. Analysis performs a deep examination of your database. We recommend you perform analysis during off-peak periods.</p>
<p>The <strong>Recommendations</strong> window will show a list of recommendations if any were found.</p>
<p><span class="mx-imgBorder"><img decoding="async" src="https://docs.microsoft.com/en-us/azure/postgresql/media/concepts-performance-recommendations/performance-recommendations-result.png" alt="Performance Recommendations new page" data-linktype="relative-path" /></span></p>
<p>Recommendations are not automatically applied. To apply the recommendation, copy the query text and run it from your client of choice. Remember to test and monitor to evaluate the recommendation.</p>
<h2 id="recommendation-types" class="heading-anchor">Recommendation types</h2>
<p>Currently, two types of recommendations are supported: <em>Create Index</em> and <em>Drop Index</em>.</p>
<h3 id="create-index-recommendations" class="heading-anchor">Create Index recommendations</h3>
<p><em>Create Index</em> recommendations suggest new indexes to speed up the most frequently run or time-consuming queries in the workload. This recommendation type requires <a href="https://docs.microsoft.com/en-us/azure/postgresql/concepts-query-store" data-linktype="relative-path">Query Store</a> to be enabled. Query Store collects query information and provides the detailed query runtime and frequency statistics that the analysis uses to make the recommendation.</p>
<h3 id="drop-index-recommendations" class="heading-anchor">Drop Index recommendations</h3>
<p>Besides detecting missing indexes, Azure Database for PostgreSQL analyzes the performance of existing indexes. If an index is either rarely used or redundant, the analyzer recommends dropping it.</p>
<h2 id="considerations" class="heading-anchor">Considerations</h2>
<ul>
<li>Performance Recommendations is not available for <a href="https://docs.microsoft.com/en-us/azure/postgresql/concepts-read-replicas" data-linktype="relative-path">read replicas</a>.</li>
</ul>
<h2 id="next-steps" class="heading-anchor">Next steps</h2>
<ul>
<li>Learn more about <a href="https://docs.microsoft.com/en-us/azure/postgresql/concepts-monitoring" data-linktype="relative-path">monitoring and tuning</a> in Azure Database for PostgreSQL.</li>
</ul>
<p></main></p>
<section id="recommendations-section" data-bi-name="recommendations">
<hr class="hr" />
<h2 class="title is-3 has-margin-top-large">Recommended content</h2>
<ul id="recommendations-list" class="has-margin-bottom-large" aria-live="polite" aria-relevant="additions" aria-label="recommendations list">
<li class="margin-top-xs ">
<article class="card">
<div class="card-content">
<h3>Logical replication and logical decoding &#8211; Azure Database for PostgreSQL &#8211; Flexible Server</h3>
<p class="card-content-description has-three-lines">Learn about using logical replication and logical decoding in Azure Database for PostgreSQL &#8211; Flexible Server</p>
</div>
</article>
</li>
<li class="margin-top-xs ">
<article class="card">
<div class="card-content">
<h3>Limits &#8211; Azure Database for PostgreSQL &#8211; Flexible Server</h3>
<p class="card-content-description has-three-lines">This article describes limits in Azure Database for PostgreSQL &#8211; Flexible Server, such as number of connection and storage engine options.</p>
</div>
</article>
</li>
<li class="margin-top-xs ">
<article class="card">
<div class="card-content">
<h3>Planned maintenance notification &#8211; Azure Database for PostgreSQL &#8211; Single Server</h3>
<p class="card-content-description has-three-lines">This article describes the Planned maintenance notification feature in Azure Database for PostgreSQL &#8211; Single Server</p>
</div>
<div class="card-content">
<h3>Logical decoding &#8211; Azure Database for PostgreSQL &#8211; Single Server</h3>
<p class="card-content-description has-three-lines">Describes logical decoding and wal2json for change data capture in Azure Database for PostgreSQL &#8211; Single Server</p>
</div>
<div class="card-content">
<h3>Backup and restore in Azure Database for PostgreSQL &#8211; Flexible Server</h3>
<p class="card-content-description has-three-lines">Learn about the concepts of backup and restore with Azure Database for PostgreSQL &#8211; Flexible Server</p>
</div>
<div class="card-content">
<h3>Overview of business continuity with Azure Database for PostgreSQL &#8211; Flexible Server</h3>
<p class="card-content-description has-three-lines">Learn about the concepts of business continuity with Azure Database for PostgreSQL &#8211; Flexible Server</p>
</div>
<div class="card-content">
<h3>Query Performance Insight &#8211; Azure Database for PostgreSQL &#8211; Single Server</h3>
<p class="card-content-description has-three-lines">This article describes the Query Performance Insight feature in Azure Database for PostgreSQL &#8211; Single Server.</p>
</div>
<div class="card-content"></div>
</article>
</li>
</ul>
</section>
]]></content:encoded>
					
					<wfw:commentRss>https://posts.presplay.cloud/performance-recommendations-in-azure-database-for-postgresql-single-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Five Ways To Migrate Your On-Premises SQL Database To Azure</title>
		<link>https://posts.presplay.cloud/five-ways-to-migrate-your-on-premises-sql-database-to-azure/</link>
					<comments>https://posts.presplay.cloud/five-ways-to-migrate-your-on-premises-sql-database-to-azure/#respond</comments>
		
		<dc:creator><![CDATA[Presplay]]></dc:creator>
		<pubDate>Tue, 20 Feb 2018 04:49:46 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Cloud Database]]></category>
		<category><![CDATA[Oracle]]></category>
		<guid isPermaLink="false">https://presplay.cloud/?p=9000</guid>

					<description><![CDATA[There are currently three deployment options for SQL Server Database on the cloud. Well, four, if you count Azure SQL Databases in elastic pool. But Azure SQL DB in elastic pool is essentially just Azure SQL Databases grouped into an elastic pool so you can maximize what you’re paying for and share the resources. Anyway,&#8230;]]></description>
										<content:encoded><![CDATA[<p>There are currently three deployment options for SQL Server Database on the cloud. Well, four, if you count Azure SQL Databases in elastic pool. But Azure SQL DB in elastic pool is essentially just Azure SQL Databases grouped into an elastic pool so you can maximize what you’re paying for and share the resources.</p>
<p>Anyway, I digress. Right now, you can either put your SQL Server database in a SQL Server in an Azure VM, in a Managed Instance, or in an Azure SQL Database. Now, there are different considerations for choosing one over the other, but that’s a whole different blog post. In this post, we are going to focus on how you can move your on-premises SQL Server database to Azure.  Here’s a neat table comparing the possible ways for the three:</p>
<table border="1" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td width="264"></td>
<td width="183"><b>SQL Server in Azure VM</b></td>
<td width="211"><b>Managed Instance</b></td>
<td width="211"><b>Azure SQL Database (Singleton/Elastic Pool)</b></td>
</tr>
<tr>
<td width="264">Backup &amp; Restore</td>
<td width="183">Yes</td>
<td width="211">Yes</td>
<td width="211">No</td>
</tr>
<tr>
<td width="264">Dettach/Attach</td>
<td width="183">Yes</td>
<td width="211">No</td>
<td width="211">No</td>
</tr>
<tr>
<td width="264">Mirroring/Availability Groups</td>
<td width="183">Yes</td>
<td width="211">No</td>
<td width="211">No</td>
</tr>
<tr>
<td width="264">Log Shipping</td>
<td width="183">Yes</td>
<td width="211">No</td>
<td width="211">No</td>
</tr>
<tr>
<td width="264">Replication</td>
<td width="183">Yes</td>
<td width="211">Yes</td>
<td width="211">Yes</td>
</tr>
<tr>
<td width="264">DMA/DMS</td>
<td width="183">Yes</td>
<td width="211">Yes</td>
<td width="211">Yes</td>
</tr>
<tr>
<td width="264">Bulk Load</td>
<td width="183">Yes</td>
<td width="211">Yes</td>
<td width="211">Yes</td>
</tr>
</tbody>
</table>
<p>Most every strategy you have for migrating SQL Server on-premises will work for SQL Server in Azure VM. This is the most common way of migrating to the cloud. It is easy since it is essentially just moving your old server to a new server.  Managed Instance also allows you to restore Native SQL Server backups from on-premises SQL Server, so it is fairly compatible and moving is more or less smooth. The challenge comes when moving your existing SQL Server Databases to Azure SQL Database. Due to security reasons and infrastructure differences you cannot restore a SQL Server backup to Azure. So this often leaves a lot of people scratching their heads about how to move their existing databases to Azure SQL Database. Here are five ways to migrate your on-premises SQL Database to Azure:</p>
<ol>
<li>
<h6><a href="https://www.microsoft.com/download/details.aspx?id=53595">Data Migration Assistant/ Data Migration Service</a> <strong><br />
</strong></h6>
<p>This is the service/tool that Azure specifically created for this task.  The tool can also perform assessments to identify feature parity and database compatibility issues when moving your SQL Server to any of the available deployment options for SQL Server from on-premises SQL Server to Azure SQL Database. It will present you with a report identifying all those, as well as possible fixes for the different Database Compatibility level available for your chosen target. For the migration, DMA/DMS has offline and online options. Offline allows you to either migrate just the schema or the schema and data in one shot. You would likely use this method for testing/POC, for small databases, or those applications that can afford longer downtime while you move the data. The online option allows you to keep the on-premises database and the Azure SQL Database continuously synchronizing after you have moved the initial schema/data. This way you have ample time for the Azure SQL Database to get caught up and then decide when to cut-over and start pointing your application to the Azure SQL Database.  Microsoft’s Doc has a detailed step by step on how to do both <a href="https://docs.microsoft.com/en-us/azure/dms/tutorial-sql-server-to-azure-sql">offline</a> and <a href="https://docs.microsoft.com/en-us/azure/dms/tutorial-sql-server-azure-sql-online">online</a> migration to Azure SQL Database.</li>
<li>
<h6>Replication<strong><br />
</strong></h6>
<p>You can add an Azure SQL Database as a subscriber to a transactional replication. This can let you migrate the data and objects from your on-premises SQL  Server to Azure SQL Database. Since you cannot restore backups, you can only initiate this replication from a snapshot. Similar to online migration for DMS, you can start your synching well before your scheduled migration and when everything is synchronized, decide when you can cut-over and re-point your applications to the azure sql database. One thing to note, you can only replicate tables with a primary key. So if you have a number of tables without them, you’ll need to get creative or pair it with other techniques to move those tables.</li>
<li>
<h6>DACPAC</h6>
<p>Dacpac is a single file containing the definitions for your database schema –  tables, view, stored procedures,  functions, and other database objects. Sort of like a schema, only backup. You can create and restore one to Azure SQL Database using SSDT, SSMS or SQLpackage.exe. Since this only migrates your schema, you’ll need to pair it with other techniques to bring your data to Azure SQL DB. You’d likely use this for POC/test or for new applications that do not require any data to migrate. You can create a dacpac file and deploy one using SSDT, sqlpackage.exe or SSMS.</li>
<li>
<h6>BACPAC</h6>
<p>BACPAC is similar to DACPAC but encapsulates both schema and data.  So you can bring your entire database to Azure SQL Database. This single file stores the information in json format. This strategy is applicable to small databases. You can create a BACPAC file and import one using SSDT, sqlpackage.exe or SSMS.</li>
<li>
<h6>Generate SQL Scripts</h6>
<p>Sql Server Management Studio has a Generate SQL Script UI. You can right click a database-&gt; Tasks -&gt; Generate SQL Scripts. If you’ve been working with SQL Server, you’ve probably used this before. What you may not have noticed before is when you click on Advanced, you can actually control what the script provides you. Specifically, you can change the Engined Type from Stand-Alone or Azure SQL Database. So the script provided is compatible with it. You can also actually specify on type of data to script whether to output Schema Only or Schema and Data.  So for what it’s worth, it is your TSQL version of DACPAC or BACPAC. The advantage of this is you can add/modify the resulting TSQL script as you need to. Similar to BACPAC, if you are scripting the data, it is applicable for small databases but not bigger databases. If you review the resulting script, it is actually writing your data as individual insert commands per row.</p>
<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-106476" src="https://blog.pythian.com/wp-content/uploads/Capture-3.png" sizes="(max-width: 837px) 100vw, 837px" srcset="https://blog.pythian.com/wp-content/uploads/Capture-3.png 837w, https://blog.pythian.com/wp-content/uploads/Capture-3-465x405.png 465w, https://blog.pythian.com/wp-content/uploads/Capture-3-350x305.png 350w" alt="" width="837" height="729" /></li>
</ol>
<p>Azure provides a very helpful tool for planning your migration, the <a href="https://datamigration.microsoft.com/scenario/sql-to-azuresqldb?step=1">Azure Database Migration Guide</a>. You can change the source and destination and it will provide you with a guide for the pre-migration, migration, and post-migration tasks that you need to be aware of as well as links to the resources and tools for each step. If you are planning a migration, be sure to check the page beforehand to assist you in your planning.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://posts.presplay.cloud/five-ways-to-migrate-your-on-premises-sql-database-to-azure/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
