PL/SQL functions that use RESULT_CACHE can store results in the SGA for reuse across sessions. Stored subprograms are cached and shared among users, and reuse of parsed SQL and PL/SQL code in the shared pool reduces parsing and invocation overhead. A caller of a definer's-rights procedure needs EXECUTE privilege, while the definer's privileges govern access to referenced objects.
Community Discussion