{"id":577311,"date":"2019-04-05T03:41:21","date_gmt":"2019-04-05T10:41:21","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/research\/?post_type=msr-project&p=577311"},"modified":"2021-05-20T13:39:41","modified_gmt":"2021-05-20T20:39:41","slug":"froid","status":"publish","type":"msr-project","link":"https:\/\/www.microsoft.com\/en-us\/research\/project\/froid\/","title":{"rendered":"Froid"},"content":{"rendered":"

Froid is an extensible, language-agnostic framework for optimizing imperative functions in databases. Currently, the benefits of UDFs (User-Defined Functions) such as modularity, readability, code reuse come with a huge performance penalty. The purpose of Froid is to enable developers to use the abstraction of UDFs without compromising on performance. Froid introduces a radically different approach to evaluating imperative UDFs that results in improvements of up to multiple orders of magnitude over the current state of the art.<\/p>\n

Aggify (opens in new tab)<\/span><\/a> is a related project that broadens the scope of Froid and expands its applicability by allowing optimization of cursor loops in UDFs.<\/p>\n

Froid is available as “Scalar UDF Inlining” in Microsoft SQL Server 2019 (Read the documentation) (opens in new tab)<\/span><\/a><\/p>\n

 <\/p>\n\t\t\t

\n\t\t\t
\n\t\t\t\t\t
\n\t\t