Home Microsoft SQL Server DigiMailing iRN Contact


  No additional text.

CREATE VIEW dbo.sysutility_ucp_dac_cpu_utilization AS
    -- dac_object_type = 1
    -- processor_resource_type = 3
    -- target_type = 5
    SELECT dp.dac_name
        , dp.dac_server_instance_name
        , SUM(CASE WHEN dp.utilization_type = 1 THEN 1 ELSE 0 END) AS under_utilized_count
        , SUM(CASE WHEN dp.utilization_type = 2 THEN 1 ELSE 0 END) AS over_utilized_count
    FROM msdb.dbo.sysutility_ucp_dac_policies AS dp
		INNER JOIN msdb.dbo.sysutility_ucp_policy_violations pv
			ON dp.policy_id = pv.policy_id AND dp.powershell_path = pv.target_query_expression
    WHERE dp.resource_type = 3
        AND dp.target_type = 5
    GROUP BY dp.dac_name, dp.dac_server_instance_name
Last revision
See also

  sp_sysutility_ucp_calculate_dac_health (Procedure)
sysutility_ucp_dac_cpu_utilizations (View)


  Query a named instance
SQL 2008 R2
Deprecated procedures in SQL2008
Reporting Services item-level role definitions
Create all your missing indexes
Converting datetime field
Start MSSQL Server Profiler at time
Replicating MSSQL Server views
Exploring Microsoft Sharepoint
The OLE DB provider "SQLNCLI10" for linked server indicates.
Mobile solar charger
Oracle to SQL Server replication
Cannot insert the value NULL into column
Undocumented Microsoft SQL Server 2008
Zoekmachine optimalisatie
SQL Servers hidden objects
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
sIFR; de combinatie tussen HTML en Flash