Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 40.6Mb
PDF (A4) - 40.7Mb
PDF (RPM) - 40.3Mb
HTML Download (TGZ) - 10.7Mb
HTML Download (Zip) - 10.7Mb
HTML Download (RPM) - 9.3Mb
Man Pages (TGZ) - 243.0Kb
Man Pages (Zip) - 348.2Kb
Info (Gzip) - 3.9Mb
Info (Zip) - 3.9Mb
Excerpts from this Manual

MySQL 8.0 Reference Manual  /  ...  /  Obtaining User-Defined Function Information

5.7.2 Obtaining User-Defined Function Information

The Performance Schema user_defined_functions table contains information about the currently installed user-defined functions (UDFs):

SELECT * FROM performance_schema.user_defined_functions;

The mysql.func system table also lists installed UDFs, but only those installed using CREATE FUNCTION. The user_defined_functions table lists UDFs installed using CREATE FUNCTION as well as UDFs installed automatically by server components or plugins. This difference makes user_defined_functions preferable to mysql.func for checking which UDFs are installed. See Section 26.12.19.9, “The user_defined_functions Table”.