Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 40.9Mb
PDF (A4) - 41.0Mb
PDF (RPM) - 39.7Mb
HTML Download (TGZ) - 9.5Mb
HTML Download (Zip) - 9.6Mb
HTML Download (RPM) - 8.1Mb
Man Pages (TGZ) - 256.7Kb
Man Pages (Zip) - 366.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.20.9, “The user_defined_functions Table”.