Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 40.8Mb
PDF (A4) - 40.8Mb
PDF (RPM) - 40.1Mb
HTML Download (TGZ) - 10.1Mb
HTML Download (Zip) - 10.2Mb
HTML Download (RPM) - 8.7Mb
Man Pages (TGZ) - 244.6Kb
Man Pages (Zip) - 349.8Kb
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 components or plugins. This difference makes user_defined_functions preferable to mysql.func for checking which UDFs are installed. See Section 27.12.19.12, “The user_defined_functions Table”.