You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SET GLOBAL enterprise_license='eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJEYXRhYmVuZCBDbG91ZCIsImlhdCI6MTc1MjA0NzM0MSwibmJmIjoxNzUyMDE5MjAwLCJleHAiOjE3ODM2NDE2MDAsInR5cGUiOiJ0cmlhbCIsIm9yZyI6Ind1YnhfdGVzdCJ9.cdRFWq6EtS94GUYdpHFp2uCISZz5y4oo-3oQXtgsJXGo6MBMMqBM9ElK1JDA6K3kzSWz1Dj4YUKIeprf_MeH0g';
-- Create workload group
CREATE WORKLOAD GROUP analytics WITH cpu_quota = '10%', memory_quota = '10%', max_concurrency = 3;
-- Create user and grant permissions
CREATE USER ana IDENTIFIED BY '123';
GRANT ALL ON *.* TO ana;
-- Assign user to workload group
ALTER USER ana WITH SET WORKLOAD GROUP = 'analytics';
CREATE TABLE yy AS SELECT number FROM numbers(2048000);