Saying goodbye to SQL Server 2000

34
Andrew Fryer Evangelist Microsoft UK [email protected] http://blogs.technet.com/andrew

description

Saying goodbye to SQL Server 2000

Transcript of Saying goodbye to SQL Server 2000

Page 1: Saying goodbye to SQL Server 2000

Andrew FryerEvangelistMicrosoft [email protected] http://blogs.technet.com/andrew

Page 2: Saying goodbye to SQL Server 2000
Page 3: Saying goodbye to SQL Server 2000
Page 4: Saying goodbye to SQL Server 2000

• Microsoft® .NET Framework•Common Language Runtime integration•User-defined Aggregates•User-defined Data Types•User-defined Functions•SQL Server .NET Data Provider•Extended Triggers

• Data Types•Managed SQL Types•New XML Datatype•Varchar (MAX) Varbinary (MAX)

• SQL Server Engine•New Message Service Broker•HTTP Support (Native HTTP)•Database Tuning Advisor •Multiple Active Result Sets •Persisted Computed Columns•Snapshot Isolation Level •Scale Up Partitioning•VIA support •NUMA support

• Database Failure and Redundancy•Failover Clustering (up to 8 node)•Enhanced Multi-instance Support•Database Mirroring•Database Snapshots

• XML•XQUERY Support •XML Data Manipulation Language •FOR XML Enhancements•XML Schema (XSD) Support •MSXML 6.0 (Native)•.NET XML Framework

• Full-text Search•Indexing of XML Datatype

• Database Maintenance•Backup and Restore Enhancements•Checksum Integrity Checks•Dedicated Administrator Connection•Dynamic AWE•Fast Recovery•Highly-available Upgrade•Online Index Operations•Online Restore•Parallel DBCC•Parallel Index Operations

• Management Tools•New Management Studio•MDX Query Editor•Version Control Support•XML/A•SQLCMD Command Line Tool

• Performance Tuning•Profiler Enhancements•Profiling Analysis Services•Exportable Showplan •Exportable Deadlock Traces

• Replication•Auto-tuning replication agents•Oracle publication•Improved BLOB change tracking•Enhanced replication monitor

• SQL Client .NET Data Provider•Server Cursor Support•Asynch

• Security•All Permissions Grantable•Fine Grain Administration Rights•Separation of Users and Schema•Data encryption primitives

• MDAC•SNAC•Microsoft installer based setup•Support for Active Directory® deployment

• OLAP and Data Mining•Analysis Management Objects •Windows Integrated Backup and Restore•Web Service/XML for Analysis•DTS and DM Integration•New Data Mining Algorithms•Auto Packaging and Deployment

• Data Transformation Services•New Architecture (DTR + DTP)•Complex Control Flows•Control Flow Debugging•For Each Enumerations•Property Mappings•Full Data Flow Designer•Full DTS Control Flow Designer•Graphical Presentation of Pkg Execution•Immediate Mode and Project Mode•Package (Advanced) Deployment Tools•Custom Tasks and Transformations

• Reporting Services•Multiple Output Formats •Parameters (Static, Dynamic, Hierarchical)•Bulk Delivery of Personalized Content•Support Multiple Data Sources •STS (Web Parts, Doc Libraries)•Visual Design Tool•Charting, Sorting, Filtering, Drill-Through•Scheduling, Caching•Complete Scripting Engine•Scale Out architecture•Open XML Report Definition

• Notification Services and SQL Server Mobile

Page 5: Saying goodbye to SQL Server 2000

Transparent Data EncryptionTransparent Data EncryptionExternal Key ManagementExternal Key ManagementData AuditingData AuditingPluggable CPUPluggable CPUTransparent Failover for Database MirroringPolicy ManagementServer Group ManagementStreamlined InstallationEnterprise System ManagementPerformance Data CollectionSystem AnalysisData CompressionQuery Optimization ModesResource GovernorEntity Data ModelLINQVisual Entity DesignerEntity Aware AdaptersEntity Aware AdaptersSQL Server Change TrackingSQL Server Change Tracking

Synchronized Programming ModelSynchronized Programming ModelVisual Studio SupportVisual Studio SupportSQL Server Conflict DetectionSQL Server Conflict DetectionFILESTREAM data typeFILESTREAM data typeIntegrated Full Text SearchIntegrated Full Text SearchSparse ColumnsSparse ColumnsLarge User Defined TypesLarge User Defined TypesDate/Time Data TypeDate/Time Data TypeLOCATION data typeLOCATION data typeSPATIAL data typeSPATIAL data typeVirtual Earth IntegrationVirtual Earth IntegrationPartitioned Table ParallelismPartitioned Table ParallelismQuery OptimizationsQuery OptimizationsPersistent Lookups Persistent Lookups Change Data Capture Change Data Capture Backup Compression

MERGE SQL StatementMERGE SQL StatementData ProfilingData ProfilingStar Join

Enterprise Reporting Enterprise Reporting EngineEngineInternet Report Internet Report DeploymentDeploymentBlock ComputationsBlock ComputationsScale out AnalysisScale out AnalysisBI Platform BI Platform ManagementManagementExport to Word and Export to Word and ExcelExcelAuthor reports in Author reports in Word and ExcelWord and ExcelReport Builder Report Builder EnhancementsEnhancementsTABLIXTABLIXRich Formatted DataRich Formatted DataPersonalized Personalized PerspectivesPerspectives… … and many moreand many more

Page 6: Saying goodbye to SQL Server 2000
Page 7: Saying goodbye to SQL Server 2000
Page 8: Saying goodbye to SQL Server 2000
Page 9: Saying goodbye to SQL Server 2000
Page 10: Saying goodbye to SQL Server 2000

Updates an existing installation while preserving user dataInstance name remains the sameAutomated process

Page 11: Saying goodbye to SQL Server 2000
Page 12: Saying goodbye to SQL Server 2000

Install new instance of SQL ServerDatabase objects are copied between instancesCan be same server (named instance) or different serverMostly Manual process

Page 13: Saying goodbye to SQL Server 2000
Page 14: Saying goodbye to SQL Server 2000

ClusteringLog ShippingReplication

Page 15: Saying goodbye to SQL Server 2000

2000 – 2005 2000 - 2008

Analysis Services Different architecture and designer

Different architecture and designer

Reporting Services No significant Issues Issues with custom IIS/ SSRS settings

Data Transformation Services (DTS)

Runs natively Runs natively

Integration Services (SSIS)

DTS to SSIS Everything has changed

Everything has changed

Page 16: Saying goodbye to SQL Server 2000
Page 17: Saying goodbye to SQL Server 2000

AnalyzesConfiguration and objects within installed componentsTrace files (captured using Profiler/SQL Trace)T-SQL scripts (any script file)

Generates Detailed Issue Report:Before – potential showstoppers, must resolve before upgradingAfter – should be resolved after completing upgradeAnytimeAdvisory – notices and/or warnings

Page 18: Saying goodbye to SQL Server 2000

Analyzes SQL Server 2000/2005 database, trace files and script filesRead-only operation, can be CPU intensiveSupports remote executionSupports default and named instanceRequires .NET framework 2.0 sp1 or laterDownload latest version from web!

Page 19: Saying goodbye to SQL Server 2000
Page 20: Saying goodbye to SQL Server 2000

UA does not detect everything:Dynamic SQLMeta-data driven applications (both during application setup and regular use)Changes in system objects (stored procedures, functions, tables, etc…) but uses the same name

UA does not have rules for all known issuesor any “yet to be known” issues

Page 21: Saying goodbye to SQL Server 2000

Developed in conjunction with Scalability ExpertsAvailable for upgrades to SQL Server2005 and SQL Server 2008

Page 22: Saying goodbye to SQL Server 2000

Capture realistic workload from test/production Establish a baseline in ACT environment:

Restore SQL Server 2000/2005 database environmentReplay captured trace and record baseline data

Determine functional and performance measures of same application on SQL Server 2008 32-bit

Upgrade database to SQL Server 2008Replay captured trace and record functional and performance data

Repeat for x64 if required or just test against x64

Page 23: Saying goodbye to SQL Server 2000
Page 24: Saying goodbye to SQL Server 2000

Support for SQL 2000 Set by default after upgradeTrace flags for deprecated events

Page 25: Saying goodbye to SQL Server 2000

Replaced by Integration ServicesDeprecated in SQL Server 2008But you can still use a DTS packages as isBasic migration tool as part of setup3rd Party tool DTSXchange.

Page 26: Saying goodbye to SQL Server 2000
Page 27: Saying goodbye to SQL Server 2000

Identify Upgrade RequirementsAgree Acceptance CriteriaComplete the Upgrade ChecklistRun the latest Upgrade AdvisorPre-Upgrade ConsiderationsDetermine Appropriate Upgrade StrategyUpgrade ProcessPost Upgrade Considerations

Page 28: Saying goodbye to SQL Server 2000

Document existing solutionCapture performance baseline dataDevelop criteria and unit / verification testsOptional: capture query plans for complex queriesEnsure Clean EnvironmentBackup old instance / database and Verify it!Loop in Windows Administrators, SAN Administrators and Network Operations Optional: Access to Support

Page 29: Saying goodbye to SQL Server 2000

Document EVERY step to the last detail and follow the documentCheck database consistencyMonitor upgrade progress

Check timing and compare to test upgrade timing

Page 30: Saying goodbye to SQL Server 2000

Review all logsChange the compatibility level Change the page verify optionRevisit Upgrade Advisor recommendationsUpdate statistics to ensure performanceReconfigure Log ShippingRe-populate Full-Text catalogsVerify Agent jobs and maintenance tasksVerify security settings, especially cross server and/or cross-domain access privileges

Page 31: Saying goodbye to SQL Server 2000

Re-evaluate statisticsCheck Optimizer HintsDatabase Tuning AdvisorLeverage New ‘Low Cost’ Features

Backup compressionTransparent Data Encryption

Make use of schemasPlan DTS Migration

Page 32: Saying goodbye to SQL Server 2000

The smallest detail missed can break the entire upgradeA tested rollback plan is criticalDon’t jump to conclusions if performance issues are encounteredThere are lots of resources to help you and your partners/customers…

Page 33: Saying goodbye to SQL Server 2000

Download the Upgrade Technical Reference Guide:http://www.microsoft.com/downloads/details.aspx?FamilyID=66D3E6F5-

6902-4FDD-AF75-9975AEA5BEA7&displaylang=en Start Using SQL Server 2008 for managementhttp://www.microsoft.com/sql/2008/default.mspx Be aware of deprecated features in SQL Server 2008http://technet.microsoft.com/en-us/library/cc707789.aspx Get the latest SQL Server 2008 Upgrade Advisorhttp://www.microsoft.com/downloads/details.aspx?FamilyID=c6c3e9ef-ba29-

4a43-8d69-a2bed18fe73c&DisplayLang=en If you need the Upgrade Assistanthttp://www.scalabilityexperts.com/default.asp?action=article&ID=43 If you need a better DTS Migration Toolhttp://dtsxchange.com/If you really haven’t got a TechNet+ subscription or just needs some [email protected] and http://blogs.technet.com/andrew

Page 34: Saying goodbye to SQL Server 2000

© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after

the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.