{"id":2023,"date":"2013-09-17T09:15:00","date_gmt":"2013-09-17T16:15:00","guid":{"rendered":""},"modified":"2024-01-22T22:49:10","modified_gmt":"2024-01-23T06:49:10","slug":"new-amr-tool-simplifying-the-migration-to-in-memory-oltp","status":"publish","type":"post","link":"https:\/\/www.microsoft.com\/en-us\/sql-server\/blog\/2013\/09\/17\/new-amr-tool-simplifying-the-migration-to-in-memory-oltp\/","title":{"rendered":"New AMR Tool: Simplifying the Migration to In-Memory OLTP"},"content":{"rendered":"
As we have addressed in previous blog articles, the transition into SQL Server In-Memory OLTP is not as simple as flipping a switch. One of the design principles of In-Memory OLTP is that you would only need to make surgically precise migrations for your app to reap the most benefit from In-Memory OLTP for the least amount of work. With that in mind, we recognize that it is sometimes difficult to identify the appropriate targets for you to take advantage of In-Memory OLTP. To solve this problem, we have devised and integrated the AMR (Analyze, Migrate, Report) Tool into the SQL Server 2014 CTP 1 Management Studio to assist you in your transition to In-Memory OLTP.<\/span><\/p>\n The AMR Tool works well if you are:<\/span><\/p>\n The AMR Tool\u2019s analysis process is built with this goal in mind. With its analysis reports, you can easily identify the tables and stored procedures that can reap the most benefit when moved into In-Memory OLTP.<\/span><\/p><\/blockquote>\n You may understand your workload extremely well. By reading about In-Memory OLTP\u2019s characteristics and playing with it a bit, you know which objects you want to move into this new, efficient engine. The AMR Tool can help you validate your knowledge and support your decision with data straight from your workload instances.<\/span><\/p><\/blockquote>\n You know from experience and data what objects you need to migrate. You need a list of work items so that you can carefully plan your migration effort, estimate the amount of time needed for each object, and give a completion date of the migration. The AMR Tool can help you by identifying the incompatibilities in these objects and even do some of the work for you.<\/span><\/p><\/blockquote>\n As released in SQL Server 2014 CTP1, the AMR Tool consists of the following components:<\/span><\/p>\n This set of data collectors are ultra-lightweight and can easily attach to your SQL Server instances (in production or otherwise) as long as they are running SQL Server 2008 or later. They collect performance data points from DMVs in your SQL Server instance and deposit them to a designated database called a Management Data Warehouse for the analysis reports.<\/span><\/p><\/blockquote>\n This set of reports ingest data from the Management Data Warehouse into which the AMR data collectors have uploaded data. They use these data points to analyze your workload patterns and provide recommendations for migration based on:<\/span><\/p>\n The overview reports are designed so that it is easy for you to identify the tables and stored procedures with the best return on investment as illustrated below:<\/span><\/p><\/blockquote>\n The reports will provide a set of recommended tables or stored procedures for each basis. For example, if your workload has a contention issue, you may choose to follow the recommendations based on contention statistics and disregard the others. <\/span><\/p>\n Since natively-compiled stored procedures cannot access disk-based tables at this time, we highly recommend that you make your table migrations first. When you are already taking advantage of the multitudes of benefits memory-optimized tables provide, you can run the AMR tool again on a second pass and select stored procedures you want to compile with In-Memory OLTP.<\/span><\/p><\/blockquote>\n The setup and teardown of the AMR Tool is extremely simple:<\/span><\/p>\n To create a MDW, go to \u201cObject Explorer\u201d, expand \u201cManagement\u201d, right-click \u201cData Collection\u201d, mouse over \u201cTasks\u201d, and choose \u201cConfigure Management Data Warehouse\u201d. The wizard will guide you through the task of creating a MDW for use.<\/span><\/p><\/blockquote>\n To install data collectors on an instance, go to \u201cObject Explorer\u201d, expand \u201cManagement\u201d, right-click \u201cData Collection\u201d, mouse over \u201cTasks\u201d, and choose \u201cConfigure Data Collection\u201d. In the wizard, check \u201cTransaction Performance Collection Set\u201d in the list of collection sets.<\/span><\/p><\/blockquote>\n To tear down the AMR data collectors if you don\u2019t want them running any more, go to \u201cObject Explorer\u201d, expand \u201cManagement\u201d, right-click \u201cData Collection\u201d, mouse over \u201cTasks\u201d, and choose \u201cClean up Data Collection\u201d. In the wizard, check \u201cTransaction Performance Collection Set\u201d in the list of collection sets.<\/span><\/p><\/blockquote>\n If you are thinking about In-Memory OLTP for your app, why not give the new AMR Tool a try today? We hope that you\u2019ll like it!<\/span><\/p>\n SQL Server 2014 CTP1 is available for download <\/span>here<\/span><\/a>, or for more information please see the introduction and index to this complete series<\/a>.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":" As we have addressed in previous blog articles, the transition into SQL Server In-Memory OLTP is not as simple as flipping a switch.<\/p>\n","protected":false},"author":1457,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"_classifai_error":"","_classifai_text_to_speech_error":"","footnotes":""},"post_tag":[],"product":[],"content-type":[2448],"topic":[],"coauthors":[2487],"class_list":["post-2023","post","type-post","status-publish","format-standard","hentry","content-type-updates","review-flag-1-1593580431-15","review-flag-new-1593580247-437"],"yoast_head":"\n\n
\n
\n
\n
\n
\n
<\/span><\/p>\n\n
\n
\n
\n