25
SQL Server 2008 Prepared By: Taufiq H. Ghilan

Sql server2008

Embed Size (px)

DESCRIPTION

comparison between SQL Server 2008 and Oracle.

Citation preview

Page 1: Sql server2008

SQL Server 2008

Prepared By: Taufiq H. Ghilan

Page 2: Sql server2008

Agenda

SQL Server 2008 System RequirementsSQL Server Platform FeaturesBusiness Intelligence, BIHigh availability & IntegrityLive MigrationSQL Server Dynamic Memory UsageT-SQL FeaturesFileStreamDate and Time VariablesComparison among DB Players in Market

Page 3: Sql server2008

System Requirements

Operating System RequirementsWindows Server 2003 Service Pack 2Windows Server 2008Windows VistaWindows XP Service Pack 2

32-bit systems Minimum Requirements:Intel compatible Pentium III 600 MHz (1 GHz recommended)

64-bit systems Minimum Requirements:1 GHz CPU or Higher512 MB RAM (1 GB recommended)267 MB of available hard disk space

Page 4: Sql server2008

Platform Features

Transparent data encryption External key managementData auditingHot add CPUTransparent failoverPolicy implementation Auto synchronization (conflict detection)

Page 5: Sql server2008

SQL Server 2008 R2 isYour First Choice

Complex event processingHigh volumeSingle sourceSecure and accessibility scalabilityLive Migration

Page 6: Sql server2008

SQL Provides live Migration Feature

Live Migration

SQL ServerSQL Server

Hyper-V Hyper-VShared StorageiSCSI, SAS, Fiber

Page 7: Sql server2008

SQL Server 2008 R2

Reliable and provides Redundancy

Page 8: Sql server2008

Business Intelligence (BI)

IIS Agnostic SSRSRender to MS-WordIncorporates Dundas ControlsScale out analysis (read_only)Best practice Design AlertsNew Cube Design ToolsSubspace computations/aggregationsSSRS, SQL Server Report Service, free with SQL Server 2008

Page 9: Sql server2008

Intelligent Data Platform

Business Intelligence (BI)

Page 10: Sql server2008

SQL Server Reporting Services…

Excellent & highly designed reporting tools under your fingertips Flexible Report LayoutNew data region structure: Tablix

The best table merged with the best Matrix:

Page 11: Sql server2008

SQL Server 2008 R2

High availability and integrity of database is one of key components.

Page 12: Sql server2008

Better High Availability with Live Migration

1 2

VM

NO LOSS OF SERVICE

Shared StorageiSCSI, SAS, Fiber

Host cluster

LiveMigration

AVAILABILITY WITH LOWER COMPLEXITY

MANAGE LOADS ON VMS ACROSS PHYSICAL MACHINE

EASIER MANAGEMENT THROUGH SYSTEM CENTER VMM

Page 13: Sql server2008

How does Dynamic Memory Benefit SQL Server?

~12,500 SQL Batches/sec~7500 Sustained Read IOPs

(~11-13ms response time)

Shared StorageiSCSI, SAS, Fibre

LiveMigration

1

Host cluster

8 VMs with 12GB Memory

1

8 VMs with 12GB Memory

~12,500 SQL Batches/sec~12,000 Sustained Read IOPs

(~11-13ms response time)

Shared StorageiSCSI, SAS, Fibre

LiveMigration

1

Host cluster

8 VMs with 7.5GB Memory

1

8 VMs with 7.5GB MemoryVS.

• Without Dynamic Memory VMs would have to be sized at 7.5GB (static).

• More memory = Less I/O

• Same SQL Throughput with only about 60% of the total IOPs.

• Remember: This will be workload dependent.

Page 14: Sql server2008

T-SQL FeaturesTable value parametersFileStream object storageMergeVariable initializersRow constructors with > 1 rowCompound operators (+=)New collationsSparse Columns (indexing)CLR UDT 2 GB capacityIntellisense addedGrouping sets ( extension of Group by clause)

Page 15: Sql server2008

T-SQL Data Types

Geometry (for planar shapes, i.e. whse layout)Geography ( for GPS coordinates)Hierarchy IDDateTimeDatetime2Datetimeoffset (timezone)

Page 16: Sql server2008

Date/Time Variables

Page 17: Sql server2008

File stream

Filestream storage attribute on varbinary (max) columnIncludes transactional access through Win32 API

PathName()Get_Filestream_Transaction_context()openSqlFileStream()

Page 18: Sql server2008

Weakness of SQL CTP (RS)

Services had to be set to Local systemClient tolls failed to install initiallyMove objects only by dragging the “move” icon“move” icon is not always visibleReportName not populatedReportServer not automatically configured on localhost.

Page 19: Sql server2008

The database comparison among different vendors

Maintainer First Public Release Latest Stable Version

Oracle Oracle Corporation 1979 11g Release 2 DB2 IBM 1983 9.7 SQL Server Microsoft 1989 2008 R2 (v10.5) Sybase ASE, Adaptive Server Enterprise

Sybase 1987 15.0

Windows support Mac OS UNIX OS Oracle Yes Yes Yes DB2 Yes Yes Yes SQL Server Yes No No Sybase yes No Yes

Page 20: Sql server2008

The database comparison among different vendors continued…

Referential Integrity Transaction support Unicode Interface Oracle Yes Yes Yes GUI and SQL DB2 Yes Yes Yes GUI and SQL SQL Server Yes Yes Yes GUI and SQL Sybase Yes Yes Yes SQL Max DB size Max table size Max Row size Max Column per

table Oracle Unlimited 4 GB* Block Size 8KB 1000 DB2 512 TB 512 TB 32677 B 1012 SQL Server 524258 TB 524258 TB Unlimited 30000 Sybase Unlimited 16 EB 65530 B 65135

Page 21: Sql server2008

The database comparison among different vendors continued…

Maximum Binary Value size

maximum Character value sizes

Maximum Binary Value size

Maximum column name size

Oracle unlimited 4000 B 128 bits 30 DB2 2 GB 32 GB 64 bits 128 SQL Server

2GB 2 GB 126 bits 128

Sybase 4GB 4 GB 64 bits 128

Indexes support Parallel Query Oracle R Tree, Cluster Table, Expression,

Reverse, Bitmap, Full-text, Partial Yes

DB2 Expression, Reverse, Bitmap, Full-text Yes SQL Server Expression, Reverse, Full-text, spatial Yes Sybase Reverse, Full-text -

Page 22: Sql server2008

The database comparison among different vendors continued…

Partitioning brute-force protection Oracle Range, Hash, Composite, list yes DB2 Range, Hash, Composite, list No SQL Server Range No Sybase Range, Hash, List No

Page 23: Sql server2008

SQL Server 2008 provides a comprehensive and scalable BI platform that lets you:

Unlock your data silosDeliver relevant information to users through Microsoft OfficeDrive insights within your organization through powerful reports and comprehensive analytics

Part of Microsoft’s End-to-End BI offering:Complete and integratedPervasive delivery through Microsoft OfficeEnterprise-grand and affordableAffordable solution compared for the long term compared with others

Page 24: Sql server2008

Your Choice IS SQL Server 2008 R2

Page 25: Sql server2008

Thank You…