-- -----------------------------------------------------------------------------------
-- File Name    : consumer_group_usage.sql
-- Author       : DBA Learning Hub
-- Description  : Lists usage information of consumer groups.
-- Call Syntax  : @consumer_group_usage
-- Requirements : Access to the v$ views.
-- Last Modified: 15/07/2025
-- -----------------------------------------------------------------------------------
SELECT name,
       consumed_cpu_time
FROM   v$rsrc_consumer_group
ORDER BY name;
