{"id":6044,"date":"2013-10-07T11:38:51","date_gmt":"2013-10-07T11:38:51","guid":{"rendered":"https:\/\/test.simple-talk.com\/uncategorized\/new-database-profiling-support-in-ants-performance-profiler\/"},"modified":"2016-07-28T10:53:56","modified_gmt":"2016-07-28T10:53:56","slug":"new-database-profiling-support-in-ants-performance-profiler","status":"publish","type":"post","link":"https:\/\/www.red-gate.com\/simple-talk\/blogs\/new-database-profiling-support-in-ants-performance-profiler\/","title":{"rendered":"New database profiling support in ANTS Performance Profiler"},"content":{"rendered":"<p>In May last year, the <a href=\"http:\/\/www.red-gate.com\/products\/dotnet-development\/ants-performance-profiler\/?utm_source=simpletalk&amp;utm_medium=publink&amp;utm_campaign=antsperformanceprofiler&amp;utm_content=mysql-support\">ANTS Performance Profiler<\/a> team added the ability to <a href=\"http:\/\/www.codeproject.com\/Articles\/419712\/Analyze-performance-from-your-NET-code-through-to\">profile database requests<\/a> your application makes to SQL Server or Oracle. The really cool thing is that you&#8217;re shown those requests in the application&#8217;s call tree, so you can see what .NET code caused those queries to run. It&#8217;s particularly helpful if you&#8217;re using an ORM which automagically generates and runs queries for you, but which doesn&#8217;t necessarily do it in the most efficient way possible.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4270\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2013\/10\/database-profiling.png\" width=\"640\" height=\"121\" alt=\"database-profiling.png\" \/><\/p>\n<p>Now by popular demand, <strong>we&#8217;ve added support for profiling MySQL (or <a href=\"https:\/\/mariadb.org\/\">MariaDB<\/a>) and PostgreSQL<\/strong>, so you can see queries run against those databases too.<\/p>\n<p>Some of you have also said that you&#8217;re using the Devart dotConnect data providers instead of the native .NET ones, so we&#8217;ve added support for those drivers too. Hope it helps!<\/p>\n<p>For the record, here&#8217;s a list of supported connectors (ones in bold are new):<\/p>\n<p>SQL Server<\/p>\n<ul>\n<li>.NET Framework Data Provider<\/li>\n<li><b>Devart dotConnect for SQL Server<\/b><\/li>\n<\/ul>\n<p>Oracle<\/p>\n<ul>\n<li>.NET Framework Data Provider<\/li>\n<li>Oracle Data Provider for .NET<\/li>\n<li><b>Oracle Fully Managed Data Provider for .NET<\/b> (added in v9.2, released 17 July 2015)<\/li>\n<li><b>Devart dotConnect for Oracle<\/b><\/li>\n<\/ul>\n<p>MySQL \/ MariaDB<\/p>\n<ul>\n<li><b>MySQL Connector\/Net<\/b><\/li>\n<li><b>Devart dotConnect for MySQL<\/b><\/li>\n<\/ul>\n<p>PostgreSQL<\/p>\n<ul>\n<li><b>Npgsql .NET Data Provider for PostgreSQL<\/b><\/li>\n<li><b>Devart dotConnect for PostgreSQL<\/b><\/li>\n<\/ul>\n<p>SQL Server Compact Edition<\/p>\n<ul>\n<li>.NET Framework Data Provider for SQL Server Compact Edition<\/li>\n<li><b>Devart dotConnect for SQL Server Pro<\/b><\/li>\n<\/ul>\n<p>Have we missed a connector or database which you&#8217;d find useful? Tell us about it in the comments or by emailing <a href=\"mailto:dotnetteam@red-gate.com\">dotnetteam@red-gate.com<\/a>.<\/p>\n<p>Ben<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In May last year, the ANTS Performance Profiler team added the ability to profile database requests your application makes to SQL Server or Oracle. The really cool thing is that you&#8217;re shown those requests in the application&#8217;s call tree, so you can see what .NET code caused those queries to run. It&#8217;s particularly helpful if&#8230;&hellip;<\/p>\n","protected":false},"author":19615,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[],"coauthors":[],"class_list":["post-6044","post","type-post","status-publish","format-standard","hentry","category-blogs"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/6044","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/users\/19615"}],"replies":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/comments?post=6044"}],"version-history":[{"count":20,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/6044\/revisions"}],"predecessor-version":[{"id":25783,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/6044\/revisions\/25783"}],"wp:attachment":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/media?parent=6044"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/categories?post=6044"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/tags?post=6044"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/coauthors?post=6044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}