ALTER RESOURCE GOVERNOR RECONFIGURE;
CREATE RESOURCE POOL pMAX_CPU_65
WITH (MAX_CPU_PERCENT = 65);
GO
CREATE WORKLOAD GROUP gMAX_CPU_65
USING pMAX_CPU_65;
GO
CREATE FUNCTION dbo.ClassifierFunction() RETURNS sysname
WITH SCHEMABINDING
AS
BEGIN
DECLARE @workload_group_name AS sysname;
IF (SUSER_NAME() = 'Permanent')
SET @workload_group_name = 'gMAX_CPU_65';
ELSE
SET @workload_group_name = 'default';
RETURN @workload_group_name;
END;
GO
Wednesday, August 27, 2025
MS-SQL CPU limit
Subscribe to:
Posts (Atom)
كتابة الابحاث
ملاحظات أساسية عند كتابة الأبحاث 1- ظبط حجم الخط 14 Simplified Arabic بالنسبة للكتابة العربي و Times new Roman في الكتابة الانجليزي. 2- المس...
-
Allow AutoCAD License Check on FortiGate Identify the Licensing Server URLs and Ports Used by AutoCAD Autodesk’s licensing servers requir...
-
Run CMD as administrator cd "C:\Program Files\Microsoft Office\Office16" cscript ospp.vbs /sethst:kms.digiboy.ir cscript ospp...
-
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation To disable automatic daylight time adjustment, Add Value name D...