14 - Server-side Logic Execution / User-defined Functions (CMU Advanced Databases / Spring 2023)
CMU Database Group · 73:47
Embedding application logic in the database via user-defined functions (UDFs) cuts network round trips and enables reuse, but engines treat procedural UDFs as black boxes—so they cannot estimate cost or selectivity, c...