{"id":241559,"date":"2023-05-30T08:32:12","date_gmt":"2023-05-30T15:32:12","guid":{"rendered":"https:\/\/virtual-dba.com\/?p=241559"},"modified":"2023-06-01T11:06:07","modified_gmt":"2023-06-01T18:06:07","slug":"when-to-use-natively-compiled-stored-procedures-in-sql-server","status":"publish","type":"post","link":"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/","title":{"rendered":"When to Use Natively Compiled Stored Procedures in SQL Server"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What Are Natively Compiled Stored Procedures?<\/h2>\n\n\n\n<p>These procedures are a new feature introduced in SQL Server 2014 that allows for faster and more efficient execution of queries and business logic that access memory-optimized tables. Memory-optimized tables are tables that are stored entirely in memory and use a lock-free data structure to support high concurrency and low latency.<\/p>\n\n\n\n<p>These procedures are different from the classic interpreted stored procedures in several ways:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>They are compiled into machine code when they are created, not when they are executed. The machine code is stored as a DLL file on the SQL Server machine.<\/li>\n\n\n\n<li>They can only reference memory-optimized tables, not disk-based tables.<\/li>\n\n\n\n<li>They have certain restrictions on the Transact-SQL syntax and features they can use compared to interpreted stored procedures. For example, they must use schema binding, atomic blocks, and explicit transaction isolation levels.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">When to Use Natively Compiled Stored Procedures?<\/h2>\n\n\n\n<p>The main benefit of using natively compiled stored procedures is performance. By eliminating the interpretation overhead and optimizing the query execution plan, these procedures can run much faster than interpreted stored procedures. In some cases, the performance improvement can be up to 30 times. This can be especially useful for applications that require high throughput, low latency, and real-time analytics.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"566\" height=\"161\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/1-natively-compiled-stored-procedures-query-processing-pipeline-for-disk-based-tables.png\" alt=\"When to Use Natively Compiled Stored Procedures in SQL Server: Query Processing Pipeline for Disk-based Tables\" class=\"wp-image-241560\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/1-natively-compiled-stored-procedures-query-processing-pipeline-for-disk-based-tables.png 566w, https:\/\/virtual-dba.com\/wp-content\/uploads\/1-natively-compiled-stored-procedures-query-processing-pipeline-for-disk-based-tables-480x137.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 566px, 100vw\" \/><figcaption class=\"wp-element-caption\"><strong>Query processing pipeline for disk-based tables<\/strong><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"604\" height=\"161\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/2-natively-compiled-stored-procedures-query-processing-pipeline-for-memory-optimized-tables.png\" alt=\"When to Use Natively Compiled Stored Procedures in SQL Server: Query Processing Pipeline for Memory-optimized Tables\" class=\"wp-image-241561\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/2-natively-compiled-stored-procedures-query-processing-pipeline-for-memory-optimized-tables.png 604w, https:\/\/virtual-dba.com\/wp-content\/uploads\/2-natively-compiled-stored-procedures-query-processing-pipeline-for-memory-optimized-tables-480x128.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 604px, 100vw\" \/><figcaption class=\"wp-element-caption\"><strong>Query processing pipeline for memory-optimized tables<\/strong><\/figcaption><\/figure>\n\n\n\n<p>Some examples of scenarios where natively compiled stored procedures can be beneficial are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Processing high volumes of data from IoT devices or sensors<\/li>\n\n\n\n<li>Performing complex calculations or aggregations on large data sets<\/li>\n\n\n\n<li>Implementing business rules or validations on transactional data<\/li>\n\n\n\n<li>Loading or transforming data into memory-optimized tables<\/li>\n\n\n\n<li>Querying data from memory-optimized tables for reporting or analysis<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">When Not to Use Natively Compiled Stored Procedures?<\/h2>\n\n\n\n<p>However, natively compiled stored procedures also have some drawbacks and limitations that you should consider before using them:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>They require more memory than interpreted stored procedures because they store the machine code and the metadata in memory.<\/li>\n\n\n\n<li>They are more complicated to modify than interpreted stored procedures because they need to be dropped and recreated every time you make a change.<\/li>\n\n\n\n<li>They are incompatible with some Transact-SQL features you may need or want to use, such as cursors, triggers, dynamic SQL, error handling, and specific data types and functions.<\/li>\n\n\n\n<li>They depend on memory-optimized tables, which also have limitations and considerations, such as no foreign keys, identity columns, check constraints, and parallelism.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Natively compiled stored procedures are a powerful tool for improving the performance of queries and business logic that access memory-optimized tables in SQL Server. However, they are not a silver bullet that can solve all your problems. Therefore, you should carefully evaluate your requirements and expectations before deciding whether to use them or not.<\/p>\n\n\n\n<p>In this blog post, we explained when to use and when not to use natively compiled stored procedures in SQL Server. We hope this helps you make an informed decision about whether to adopt this feature or not.<\/p>\n\n\n\n<p>Thank you for reading! If you have any questions, please <a href=\"https:\/\/virtual-dba.com\/contact-us\/\">contact us<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What Are Natively Compiled Stored Procedures? These procedures are a new feature introduced in SQL Server 2014 that allows for faster and more efficient execution of queries and business logic that access memory-optimized tables. Memory-optimized tables are tables that are stored entirely in memory and use a lock-free data structure to support high concurrency and [&hellip;]<\/p>\n","protected":false},"author":59,"featured_media":241601,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","content-type":"","footnotes":""},"categories":[4166,55],"tags":[60,4134],"class_list":["post-241559","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-sql-server","tag-sql-server","tag-sql-server-performance-tuning"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.1 (Yoast SEO v27.1.1) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>When to Use Natively Compiled Stored Procedures in SQL Server<\/title>\n<meta name=\"description\" content=\"Learn the pros and cons of using natively compiled stored procedures in SQL Server for accessing memory-optimized tables.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"When to Use Natively Compiled Stored Procedures in SQL Server\" \/>\n<meta property=\"og:description\" content=\"Learn the pros and cons of using natively compiled stored procedures in SQL Server for accessing memory-optimized tables.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-30T15:32:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-01T18:06:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/When-to-Use-Natively-Compiled-Stored-Procedures-in-SQL-Server.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"557\" \/>\n\t<meta property=\"og:image:height\" content=\"291\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ken Haff\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:site\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ken Haff\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/\"},\"author\":{\"name\":\"Ken Haff\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/8921c8551455c88e6da338f28f7db365\"},\"headline\":\"When to Use Natively Compiled Stored Procedures in SQL Server\",\"datePublished\":\"2023-05-30T15:32:12+00:00\",\"dateModified\":\"2023-06-01T18:06:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/\"},\"wordCount\":507,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/When-to-Use-Natively-Compiled-Stored-Procedures-in-SQL-Server.jpg\",\"keywords\":[\"sql server\",\"sql server performance tuning\"],\"articleSection\":[\"Blog\",\"SQL Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/\",\"url\":\"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/\",\"name\":\"When to Use Natively Compiled Stored Procedures in SQL Server\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/When-to-Use-Natively-Compiled-Stored-Procedures-in-SQL-Server.jpg\",\"datePublished\":\"2023-05-30T15:32:12+00:00\",\"dateModified\":\"2023-06-01T18:06:07+00:00\",\"description\":\"Learn the pros and cons of using natively compiled stored procedures in SQL Server for accessing memory-optimized tables.\",\"breadcrumb\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/#primaryimage\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/When-to-Use-Natively-Compiled-Stored-Procedures-in-SQL-Server.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/When-to-Use-Natively-Compiled-Stored-Procedures-in-SQL-Server.jpg\",\"width\":557,\"height\":291,\"caption\":\"When to Use Natively Compiled Stored Procedures in SQL Server\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/virtual-dba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"When to Use Natively Compiled Stored Procedures in SQL Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/virtual-dba.com\/#website\",\"url\":\"https:\/\/virtual-dba.com\/\",\"name\":\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\",\"description\":\"Remote Database Administration\",\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/virtual-dba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/virtual-dba.com\/#organization\",\"name\":\"Virtual-DBA: Remote DBA | Remote Database Administration\",\"alternateName\":\"Virtual-DBA powered by XTIVIA\",\"url\":\"https:\/\/virtual-dba.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg\",\"width\":557,\"height\":291,\"caption\":\"Virtual-DBA: Remote DBA | Remote Database Administration\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/virtual_dba\",\"https:\/\/www.linkedin.com\/showcase\/36220649\/\",\"https:\/\/www.youtube.com\/channel\/UCx3AIeUQ2ziTLKZSJDZ-SEg\"],\"description\":\"Eliminate database downtime and spiraling costs with XTIVIA\u2019s Virtual-DBA. In today\u2019s always-on business world, gaps in 24x7 on-call DBA support, neglected maintenance and security, or a stretched team struggling with overwhelming workloads can lead to costly disruptions and threaten business continuity. XTIVIA\u2019s Virtual-DBA provides the immediate, expert database administration you need, exactly when you need it, ensuring optimal performance, ironclad security, and significant cost savings without the burden of expanding your in-house team. The goal of Virtual-DBA is to provide a cost-effective solution for organizations seeking to optimize the security, management, maintenance, availability, and performance of their critical business systems, whether self-managed or cloud-managed (e.g., AWS RDS, Azure SQL Database). We accomplish this through a comprehensive remote DBA service offering designed specifically to meet the Oracle\u00ae, DB2\u00ae, Informix\u00ae, MySQL\u2122, PostgreSQL\u00ae, MongoDB\u00ae, MariaDB, and Microsoft SQL Server\u00ae, CockroachDB, Databricks, AWS, and Azure needs of our clients.\",\"email\":\"info@xtivia.com\",\"telephone\":\"8886853101\",\"legalName\":\"XTIVIA, Inc\",\"foundingDate\":\"1992-05-01\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"201\",\"maxValue\":\"500\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/8921c8551455c88e6da338f28f7db365\",\"name\":\"Ken Haff\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/771e9bc96721a00bb741fc19620fa62a291df050a23dd669af66b0a6f7f121f5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/771e9bc96721a00bb741fc19620fa62a291df050a23dd669af66b0a6f7f121f5?s=96&d=mm&r=g\",\"caption\":\"Ken Haff\"},\"url\":\"https:\/\/virtual-dba.com\/author\/ken-haff\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"When to Use Natively Compiled Stored Procedures in SQL Server","description":"Learn the pros and cons of using natively compiled stored procedures in SQL Server for accessing memory-optimized tables.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/","og_locale":"en_US","og_type":"article","og_title":"When to Use Natively Compiled Stored Procedures in SQL Server","og_description":"Learn the pros and cons of using natively compiled stored procedures in SQL Server for accessing memory-optimized tables.","og_url":"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/","og_site_name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","article_published_time":"2023-05-30T15:32:12+00:00","article_modified_time":"2023-06-01T18:06:07+00:00","og_image":[{"width":557,"height":291,"url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/When-to-Use-Natively-Compiled-Stored-Procedures-in-SQL-Server.jpg","type":"image\/jpeg"}],"author":"Ken Haff","twitter_card":"summary_large_image","twitter_creator":"@virtual_dba","twitter_site":"@virtual_dba","twitter_misc":{"Written by":"Ken Haff","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/#article","isPartOf":{"@id":"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/"},"author":{"name":"Ken Haff","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/8921c8551455c88e6da338f28f7db365"},"headline":"When to Use Natively Compiled Stored Procedures in SQL Server","datePublished":"2023-05-30T15:32:12+00:00","dateModified":"2023-06-01T18:06:07+00:00","mainEntityOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/"},"wordCount":507,"commentCount":0,"publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/When-to-Use-Natively-Compiled-Stored-Procedures-in-SQL-Server.jpg","keywords":["sql server","sql server performance tuning"],"articleSection":["Blog","SQL Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/","url":"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/","name":"When to Use Natively Compiled Stored Procedures in SQL Server","isPartOf":{"@id":"https:\/\/virtual-dba.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/#primaryimage"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/When-to-Use-Natively-Compiled-Stored-Procedures-in-SQL-Server.jpg","datePublished":"2023-05-30T15:32:12+00:00","dateModified":"2023-06-01T18:06:07+00:00","description":"Learn the pros and cons of using natively compiled stored procedures in SQL Server for accessing memory-optimized tables.","breadcrumb":{"@id":"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/#primaryimage","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/When-to-Use-Natively-Compiled-Stored-Procedures-in-SQL-Server.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/When-to-Use-Natively-Compiled-Stored-Procedures-in-SQL-Server.jpg","width":557,"height":291,"caption":"When to Use Natively Compiled Stored Procedures in SQL Server"},{"@type":"BreadcrumbList","@id":"https:\/\/virtual-dba.com\/blog\/when-to-use-natively-compiled-stored-procedures-in-sql-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/virtual-dba.com\/"},{"@type":"ListItem","position":2,"name":"When to Use Natively Compiled Stored Procedures in SQL Server"}]},{"@type":"WebSite","@id":"https:\/\/virtual-dba.com\/#website","url":"https:\/\/virtual-dba.com\/","name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","description":"Remote Database Administration","publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/virtual-dba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/virtual-dba.com\/#organization","name":"Virtual-DBA: Remote DBA | Remote Database Administration","alternateName":"Virtual-DBA powered by XTIVIA","url":"https:\/\/virtual-dba.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg","width":557,"height":291,"caption":"Virtual-DBA: Remote DBA | Remote Database Administration"},"image":{"@id":"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/virtual_dba","https:\/\/www.linkedin.com\/showcase\/36220649\/","https:\/\/www.youtube.com\/channel\/UCx3AIeUQ2ziTLKZSJDZ-SEg"],"description":"Eliminate database downtime and spiraling costs with XTIVIA\u2019s Virtual-DBA. In today\u2019s always-on business world, gaps in 24x7 on-call DBA support, neglected maintenance and security, or a stretched team struggling with overwhelming workloads can lead to costly disruptions and threaten business continuity. XTIVIA\u2019s Virtual-DBA provides the immediate, expert database administration you need, exactly when you need it, ensuring optimal performance, ironclad security, and significant cost savings without the burden of expanding your in-house team. The goal of Virtual-DBA is to provide a cost-effective solution for organizations seeking to optimize the security, management, maintenance, availability, and performance of their critical business systems, whether self-managed or cloud-managed (e.g., AWS RDS, Azure SQL Database). We accomplish this through a comprehensive remote DBA service offering designed specifically to meet the Oracle\u00ae, DB2\u00ae, Informix\u00ae, MySQL\u2122, PostgreSQL\u00ae, MongoDB\u00ae, MariaDB, and Microsoft SQL Server\u00ae, CockroachDB, Databricks, AWS, and Azure needs of our clients.","email":"info@xtivia.com","telephone":"8886853101","legalName":"XTIVIA, Inc","foundingDate":"1992-05-01","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"201","maxValue":"500"}},{"@type":"Person","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/8921c8551455c88e6da338f28f7db365","name":"Ken Haff","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/771e9bc96721a00bb741fc19620fa62a291df050a23dd669af66b0a6f7f121f5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/771e9bc96721a00bb741fc19620fa62a291df050a23dd669af66b0a6f7f121f5?s=96&d=mm&r=g","caption":"Ken Haff"},"url":"https:\/\/virtual-dba.com\/author\/ken-haff\/"}]}},"_links":{"self":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/241559","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/users\/59"}],"replies":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/comments?post=241559"}],"version-history":[{"count":0,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/241559\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media\/241601"}],"wp:attachment":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media?parent=241559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/categories?post=241559"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/tags?post=241559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}