SQL Server Enterprise Edition | 2000 | 2005 | 2008 |
Database Failover | Mainly Replication | Mirroring introduced | Enhanced Database Mirroring |
Database Recovery | users to wait until incomplete transactions rolled back | can reconnect to a recovering database after the transaction log has been rolled forward | Enhanced snapshot and mirroring, backup compression which can be further integrated in Log Shipping |
Dedicated Administrator Connection | | Introduce DAC to access a running server even if the server is not responding or is otherwise unavailable | Enhancements to DAC |
Online Operations | | Introduce index Operations and Restore possible while database online | Introduce partial database availability |
Replication | | enhanced replication using a new peer-to-peer model | identity range management,peer to peer and replication monitor improvements |
Scalability and performance | | table partitioning, snapshot isolation, 64-bit support, Improved replication performance, Introduce covering indexes, Statement-Level Recompiles | Improved core SSIS,SSRS,SSAS processing engines. Performance data collection, Extended profile Events, Backup compression, improved Data compression, single common framework for performance related data collection, Resource Governor |
Security | | Surface Area Configuration tool, password policies, DDL triggers, catalog views, granular permission sets Encryption | Data Auditing and External Key Management introduced |
Availability and Reliability | | Memory can be added on the fly and recognized | CPU can be added on the fly and recognized |
Application Framework | | Service Broker, Notification Services, SQL Server Mobile, and SQL Server Express | Service Broker interface |
Developer Productivity | | CLR/.NET Framework Integration, Visual Studio Integration, SQL Management Objects, XML Web services, XML Data Type | Date Time Data Type, HierarchyID, LINQ, SQL Server Change Tracking, Table Valued Parameters, Spatial data |
Improved BI | | A complete BI platform | Enhanced features and performance |
Monday, December 15, 2008
Comparison of SQL Server 2000,2005,2008 features
Tuesday, December 02, 2008
Monday, December 01, 2008
SQL Server DMV query to get the CPU usage
declare @ts_now bigint;
select @ts_now = cpu_ticks / convert(float, cpu_ticks_in_ms) from sys.dm_os_sys_info;
with SystemHealth (ts_record, record)
as (select timestamp, convert(xml, record) as record
from sys.dm_os_ring_buffers
where ring_buffer_type = N'RING_BUFFER_SCHEDULER_MONITOR'
and record like '% %')
,ProcessRecord (record_id, SystemIdle, SQLProcessUtilization, ts_record)
as (select
record.value('(./Record/@id)[1]', 'int') as record_id
,record.value('(./Record/SchedulerMonitorEvent/SystemHealth/SystemIdle)[1]', 'int') as SystemIdle
,record.value('(./Record/SchedulerMonitorEvent/SystemHealth/ProcessUtilization)[1]', 'int') as SQLProcessUtilization
,ts_record
from SystemHealth)
select top 15
record_id
,dateadd(ms, -1 * (@ts_now - ts_record), GetDate()) as EventTime
,SQLProcessUtilization
,SystemIdle
,100 - SystemIdle - SQLProcessUtilization as OtherProcessUtilization
from ProcessRecord
order by record_id desc
select @ts_now = cpu_ticks / convert(float, cpu_ticks_in_ms) from sys.dm_os_sys_info;
with SystemHealth (ts_record, record)
as (select timestamp, convert(xml, record) as record
from sys.dm_os_ring_buffers
where ring_buffer_type = N'RING_BUFFER_SCHEDULER_MONITOR'
and record like '% %')
,ProcessRecord (record_id, SystemIdle, SQLProcessUtilization, ts_record)
as (select
record.value('(./Record/@id)[1]', 'int') as record_id
,record.value('(./Record/SchedulerMonitorEvent/SystemHealth/SystemIdle)[1]', 'int') as SystemIdle
,record.value('(./Record/SchedulerMonitorEvent/SystemHealth/ProcessUtilization)[1]', 'int') as SQLProcessUtilization
,ts_record
from SystemHealth)
select top 15
record_id
,dateadd(ms, -1 * (@ts_now - ts_record), GetDate()) as EventTime
,SQLProcessUtilization
,SystemIdle
,100 - SystemIdle - SQLProcessUtilization as OtherProcessUtilization
from ProcessRecord
order by record_id desc
Subscribe to:
Posts (Atom)