{"id":663,"date":"2014-09-25T22:52:01","date_gmt":"2014-09-25T22:52:01","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/2014\/09\/25\/release-management-console-times-out-when-launched\/"},"modified":"2022-05-26T05:45:15","modified_gmt":"2022-05-26T13:45:15","slug":"release-management-console-times-out-when-launched","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/release-management-console-times-out-when-launched\/","title":{"rendered":"Release Management Console times out when launched"},"content":{"rendered":"<p>When the <strong>Release Management Console<\/strong> application is loaded, it defaults to the <strong>Traffic Overview<\/strong> page. If the database is not optimized, the query used to load such statistics may take a long time to execute. This may be due to recent updates such as an upgrade of your Release Management Server where existing statistics may now be staled.<\/p>\n<p>By default, SQL Server already handles updating such statistics as needed. However, you can force this update manually in order to expedite the process.<\/p>\n<p>If you are experiencing such delays, consider updating the Release Management database <a href=\"http:\/\/msdn.microsoft.com\/en-ca\/library\/ms187348.aspx\" target=\"_blank\" rel=\"noopener\">query optimization statistics<\/a> as follow:<\/p>\n<p><strong>NOTE:<\/strong> <em>To update the statistics on the database you should either be <strong>DBO<\/strong> of that database or <strong>SysAdmin<\/strong> on SQL instance.<\/em><\/p>\n<h2>Using SQL Server Management Studio<\/h2>\n<ol>\n<li>Launch <a title=\"SQL Server Management Studio\" href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms174173.aspx\" target=\"_blank\" rel=\"noopener\"><strong>SQL Server Management Studio<\/strong><\/a>.<\/li>\n<li>Open a <strong>New Query<\/strong> window.<\/li>\n<li>Paste the following script snippet in the query window.<br \/>\n<span style=\"font-family: Courier New\">USE [ReleaseManagement] <br \/>EXEC sp_updatestats <br \/>GO<\/span><\/li>\n<li>Press <strong>F5<\/strong> to execute the command.<\/li>\n<\/ol>\n<h2>Using SQLCMD from the command line<\/h2>\n<ol>\n<li>Save the following script snippet to a file called <strong>rm_updatestats.sql<\/strong>.<br \/>\n<span style=\"font-family: Courier New\">USE [ReleaseManagement] <br \/>EXEC sp_updatestats <br \/>GO<\/span><\/li>\n<li>Locate the <strong>SQLCMD.EXE<\/strong> executable. It should be located in a path similar to <span style=\"font-family: Courier New\">C:Program FilesMicrosoft SQL Server110ToolsBinn<\/span><span style=\"font-family: Calibri\">, depending on the version of and location where your SQL Server is installed.<\/span><\/li>\n<li>Run the script file.\n<ol>\n<li>Open a command prompt window.<\/li>\n<li>In the Command Prompt window, type: <span style=\"font-family: Courier New\"><strong>sqlcmd \u2013S <myServerinstanceName> \u2013i [Path]rm_updatestats.sql<\/strong> <br \/><\/span><span style=\"font-family: Calibri\">Where, <span style=\"font-family: Courier New\"><strong><myserverinstanceName><\/strong><\/span> is your specific server name instance; and <span style=\"font-family: Courier New\"><strong>[Path]<\/strong><\/span> is the location of the <span style=\"font-family: Courier New\"><strong>rm_updatestats.sql<\/strong><\/span> file.<\/span><\/li>\n<li>Press <strong>ENTER<\/strong>.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>Verify the results by loading the Release Management Console again and observing the improvements.<\/p>\n<h3>Update &#8211; Feb. 6, 2015<\/h3>\n<p><strong>NOTE:<\/strong> For customers with Update 4, we have added a scheduled job at the time of RM server configuration. If this has to run successfully, customers have to make sure SQL Server Agent is enabled on the DB<br \/>\nserver hosting RM.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2014\/09\/4718.SQLServerAgentNode.png\" alt=\"\" width=\"408\" height=\"91\" border=\"0\" \/> \n\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When the Release Management Console application is loaded, it defaults to the Traffic Overview page. If the database is not optimized, the query used to load such statistics may take a long time to execute. This may be due to recent updates such as an upgrade of your Release Management Server where existing statistics may [&hellip;]<\/p>\n","protected":false},"author":65,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[226,1],"tags":[],"class_list":["post-663","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ci","category-devops"],"acf":[],"blog_post_summary":"<p>When the Release Management Console application is loaded, it defaults to the Traffic Overview page. If the database is not optimized, the query used to load such statistics may take a long time to execute. This may be due to recent updates such as an upgrade of your Release Management Server where existing statistics may [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=663"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/663\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}