13 Syntax Limits of Natively Complied Stores Procedures
What system stores procedure do you use to enable collection of stored procedure level stats on natively compiled stored procedures?
Sys.sp_xtp_control_proc_exec_stats
What system stored procedure do you use to enable the collection of query level stats on natively compiled stored procedures?
Sys.sp_xtp_control_query_exec_stats
How would you explicitly tell SQL to make data durable for an in memory table?
Use the DURABILITY = SCHEMA_AND_DATA
For instance:
WITH (MEMORY_OPTIMIZED = ON, DURABILITY = SCHEMA_AND_DATA
What are the durability options to make in memory tables more performant?
Example DURABLITY = SCHEMA_ONLY
Example ALTER DATABASE WorldWideTraders SET DELAYED_DURABILITY = ALLOWED
COMMIT TRANSACTION WITH (DELAYED_DURABLITY = ON)
What are good cases for natively compiled stored procedures?
Use Cases for In Memory Tables