Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introducing Microsoft® Visual Studio® 2005 Team Edition for Database Professionals Andy Cheung ISV Developer Evangelist Microsoft Hong Kong.

Similar presentations


Presentation on theme: "Introducing Microsoft® Visual Studio® 2005 Team Edition for Database Professionals Andy Cheung ISV Developer Evangelist Microsoft Hong Kong."— Presentation transcript:

1 Introducing Microsoft® Visual Studio® 2005 Team Edition for Database Professionals Andy Cheung ISV Developer Evangelist Microsoft Hong Kong

2 Business Analyst PMO Operations CIO Application Support Architect Project Manager Tester Designer Visual Studio Team System Developer

3 Visual Studio Team System Business Analyst PMO Operations CIO Application Support Architect Project Manager Tester Designer Developer DB Pro Team Edition for Database Professionals Expand to database teamsExpand to database teams Manage Database ChangeManage Database Change Extend Team productivity and collaborationExtend Team productivity and collaboration Integrated qualityIntegrated quality

4 Conceptual Overview  Difficult to manage change to the schema  Production database is one version of the truth for data and schema  Database administrator (DBA) doesn’t have access to changes until he/she has deploy or reject choice  Changes often made to production database and not rolled back into test Production Database Management Studio TuningMonitoring “One Version of the Truth” for Data and Schema Schema Schema Changes

5 Conceptual Overview Production Database Management Studio TuningMonitoring “One Version of the Truth” for Data “One Version of the Truth” for Schema OfflineOffline Under Source ControlUnder Source Control Schema Schema Changes Changes can be rolled out in a scheduled, managed way Scripts allow administrators to mange change updates  Schema change now managed in Visual Studio Team System and Team Foundation Server  Production Database is now “One version of the truth” only for Data  DBA doesn’t have access to changes until he/she has deploy or reject choice  “One Version of the truth for Schema” is Under Source Control

6 Creating a Project Core concept: offline database developmentCore concept: offline database development Simply a series of files collected together into a single logical collectionSimply a series of files collected together into a single logical collection The files represent the truth of your schemaThe files represent the truth of your schema Can be included in complete solutionCan be included in complete solution Connects to SCCI providers for versioning such as Team Foundation ServerConnects to SCCI providers for versioning such as Team Foundation Server

7 Offline Development Import database schema to populate project from existing databaseImport database schema to populate project from existing database Changes to schema traditionally have immediate affectChanges to schema traditionally have immediate affect With offline project nothing changes until you deploy the changeWith offline project nothing changes until you deploy the change

8 8 Establish the project environment DatabaseProject Import schema DBA Check in to Source Control DBDev Production Database Staging Database SCM

9 9 Isolated Iterative Development DBA DBDev Production Database Sand box Staging Database Sand box SCM SyncSync Check-outCheck-out Edit/RefactorEdit/Refactor TestTest Check-inCheck-in Work is being driven and tracked via work itemsWork is being driven and tracked via work items

10 10 Build Cycle DBA DBDev Production Database Staging Database SCM Daily Build Test Get Latest Test Database Daily Build Output Can also be used in a “Continuous” build environment

11 11 Deploy the project environment DatabaseProject DBA Sync from Label DBDev Production Database Staging Database SCM SQL Deploy Script Build Deploy Refine deploy script Verify

12 12 Benefits of Approach Managed, project oriented evolution of database schema Application and database schema can now be managed together Work in “isolation”, deploying only when changes verified through empirical means Leverage VSTS work item tracking and process guidance increases team collaboration and unity

13 What We Can Test Stored ProceduresStored Procedures FunctionsFunctions TriggersTriggers Arbitrary SQLArbitrary SQL Support at Release to Market (RTM) to automatically deploy changes to test system and generate dataSupport at Release to Market (RTM) to automatically deploy changes to test system and generate data Deterministic data generation ensures stable test stateDeterministic data generation ensures stable test state Can test with your application tier because of common frameworkCan test with your application tier because of common framework

14 Test Data To create a solid foundation for testing we support data generationTo create a solid foundation for testing we support data generation Deterministic – always generate the same layoutDeterministic – always generate the same layout Matched to your schema and very customizableMatched to your schema and very customizable Extensible mechanism, build your own generatorsExtensible mechanism, build your own generators Feature: DataGeneratorFeature: DataGenerator

15 Incorporate the database professionals into the software life cycle and provide them with a foundation for change management and process integration.  Change Management  Project-Based Development  Project Model that represents schema as objects providing a “personal sandbox” for offline development that lives within a Visual Studio solution  Team Collaboration with Work Item and Process Integration with Microsoft ® Visual Studio ® 2005 Team Foundation Server  Automated Change Support  Rename Refactoring with the ability to preview pending changes prior to execution  Comparison Tools (Schema and Data Compare) allow comparisons and synchronization of schema and data with design/test/production databases  Source/Version Control of all database objects with the ability to reverse engineer a database to bring it under Source Control  Database Unit Testing  Leverages the Test Project Infrastructure  Generate “Real and Meaningful” Data Values through the ability to import information such as Row Counts and histograms from a real database  Data Generator provides Repetitive Dataset Generation for tests based on saved settings  Build / Deployment  MSBuild Integration for Database Deployments/Builds based on Projects  Either Create a new Database at the target location or Update an Existing Schema

16 NEW Microsoft Technical Support Newsgroup FREE! Supported by experienced senior engineers of the Microsoft Global Technical Support Center (GTSC) Usually get an answer within 2 business days from Mondays to Fridays Supported products  Visual Studio  Microsoft Exchange Server  Microsoft SQL Server  Management Server  Windows Server 2003 http://www.microsoft.com/hk/community/newsgroup.mspx

17 © 2006 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.


Download ppt "Introducing Microsoft® Visual Studio® 2005 Team Edition for Database Professionals Andy Cheung ISV Developer Evangelist Microsoft Hong Kong."

Similar presentations


Ads by Google