Download presentation
Presentation is loading. Please wait.
Published byBartholomew Simon Modified over 9 years ago
1
SVR201 SQL Server 2005 Mobile Edition: The Evolution Of SQL Server CE Scott Smith Program Manager Visual Studio for Devices Microsoft Corporation
3
Agenda Introduction SQL Server CE Evolved New Features and Demos Release Schedule Resources
4
SQL Mobile Introduction Fully-Relational Database in 1-2 MB Footprint Off-Line Data Cache for Occasionally Connected Mobile Users Powerful Built-In Data Synchronization Technology Security features Tight Integration with Visual Studio.NET 2005 and SQL Server 2005
5
SQL Mobile Supported Platforms PocketPC 2003, Phone Edition Smart Phone 5.0 Windows CE.NET 5.0 TabletPC
6
SQL Server CE Evolved Leapfrog feature release: Integration with SQL Server 2005 Integration with Visual Studio 2005 and.NET CF v2.0 Desktop Development and Deployment Integration with Enterprise Apps (DTS) Significant New Functionality Evolution: Reliability and Performance Multiple Connections, Multiple Subscriptions SmartPhone, TabletPC Support Upgrade Tool for SQL Server CE DBs
7
SQL Mobile Data Access Native Stack Managed Stack SQL Server Mobile Edition CLR /.NET CF SQL Server CE Data Provider ADO.NET VB.NET / C# VS 2005 C++ OLEDB CE OLEDB Provider QP / Cursor Engine / ES Storage Engine / Replication Tracking
8
SQL Mobile New Features – Storage Engine Storage engine re-written to further optimize for mobile applications Multi-User support Row level locking data Page level locking index Lock Escalation Improved stability ACID transaction support Auto re-use of empty pages
9
SQL Mobile New Features – Query Processor Cost-Based Optimization QP uses statistics support in storage engine to improve cost-based planning Execution Plan and Query Hints View the plan and refine your query Named parameters Updateable scrollable cursor via SqlCeResultSet Scrolling access Update in place Random access
10
SqlCeResultSet And Mutiple Connections To DB
11
SQL Server 2005 Management Studio Integration Same user experience, SQL Server or SQL Mobile Functionally equivalent Object Explorer Query Editor Management Dialogs Capabilities Create SQL Mobile Databases Show Plan and Hints Faster Optimization Enhanced Publication Subscription Wizard DTS Support
12
SQL Server 2005 Management Studio Integration
13
Visual Studio 2005 Integration Integrated with Server Explorer Connect and enumerate SDF on device, emulator, or desktop Manage database schema, view / edit data Drag and Drop Generation Drag tables and columns onto form to create databound controls SmartTasks accelerate creating Master / Details forms Typed ResultSet class baked into generated code SqlCeResultSet class, enables performant, type safe, cursor style development Enabled in the DataSource window for drag and drop development End to End development. Add SDF to your project If the database hasn’t changed, it won’t get deployed Ensures the database is R/W for databases under source control Database in Server Explorer shows the database management tools
14
Visual Studio.NET 2005 Integration
15
CLR /.NET CF Synchronization Client Agent: Replication andRDA OLEDB / Replication API IIS CLIENTSERVER Storage Engine / Repl Tracking Server Agent: Replication and Remote Data Access HTTP XML/BizTalk/CS 2002 802.11b/a/g, CDPD, GSM, CDMA, TDMA, etc. Enterprise Backend Oracle / db2 / etc SQL Mobile Data Provider Data Provider SQL Server Client Data Provider ADO.NET Visual Studio 2005 (VB.NET & C#) Managed Stack TDS Ethernet Well Connected Occasionally Connected OLEDB CE Visual Studio 2005 Native Stack OLEDB Provider QP/Cursor Engine/ES SQL Server Mobile
16
Remote Data Access Leveraged in.NET CF via SqlCeRemoteDataAccess Pull Operation Values may come from a table or stored procedure Tracking off, return results of any SQL statement Tracking on, pull directly from a table Can filter data to reduce data size Push Changes Back to Server
17
Merge Replication.NET CF provides managed wrapper SqlCeReplication SQL Server 2005 Mobile Edition receives initial snapshot from SQL Server Both SQL Server 2005 Mobile Edition and SQL Server can modify the data Conflict resolution can be customized Changes reconciled on next synchronization Local SQL Server 2005 Mobile Edition changes sent to SQL Server SQL Server changes sent to SQL Server 2005 Mobile Edition
18
SQL Mobile Synch Enhancement Sync Performance Partitioned Groups Dynamic Snapshots (BCP) Article Partition Options Article Upload Options Column level tracking Improved Sync Control Multi-user sync Progress notifications Multiple Subscriptions in the same db SQL Workbench integration Improved Web Configuration Wizard New Subscription Wizard Subsequent Sync Support Supportability Re-sync to restored publisher Server Agent Diagnostics Server Agent Statistics 15 min summary Per client sync summary Dr Watson Agility Managed custom resolver Article Ordering SQL 2K support Connection retry timeout Compression level
19
Synchronizing Data
20
Multi-User Considerations Multiple threads accessing database, possibly while synchronizing More developer responsibility: Understand locking levels Manage underlying data changes during synchronization Avoid RI Errors @compensate_for_errors Understand muti-user RDA limitations http://msdn.microsoft.com/library/default.asp?url=/librar y/en-us/dnsql90/html/sql2k5mobilesynch.asp
21
SQL Mobile Schedule Ships with SQL Server 2005 and Visual Studio 2005 Schedule SQL Mobile Beta 1 included in: Whidbey Beta 1 Yukon Beta 2 SQL Mobile Beta 2 included in: Whidbey (VS2005) Beta 2 Yukon (SQL SERVER 2005) April CTP VS2005B2 and SQL Server 2005 April CTP work well together!
22
Resources MSDN http://msdn.microsoft.com/SQL/SQLCE/default.aspx http://www.microsoft.com/sql/ce/mobility/beta1.asp http://www.microsoft.com/sql/ce/default.asp Newsgroupsmicrosoft.public.sqlserver.cemicrosoft.private.whidbey.sqlmobilemicrosoft.private.whidbey.smartdevices Case Studies http://www.microsoft.com/SQL/ce/productinfo/casestudies.asp
23
Related MEDC 2005 Sessions CLI338: Data Centric Scenarios in CF – Jim Wilson SVR304: Synchronizing Data with.NET CF 2.0 and SS2005 – Jim Wilson CLI336: Database Driven Apps with VB and SQL Mobile – Neil Enns SVR408: SQL Server CE Performance Tuning – Darren Shaffer HOL336S: Developing a SQL Mobile Application with VS2005 and SS2005
24
Questions?
25
After The Conference… Develop Build InstallBuildJoin Install Enter Enter Join Full-featured trial versions of Windows CE and/or Windows XP Embedded Cool stuff & tell us about it: msdn.microsoft.com/embedded/community msdn.microsoft.com/embedded/community Windows Embedded Partner Program: www.mswep.com www.mswep.com Windows Mobile 5.0 Eval Kit including Visual Studio 2005 Beta 2 Mobile2Market Contest and win up to $25000: mobile2marketcontest.com mobile2marketcontest.com Microsoft Solutions Partner Program: partner.microsoft.com partner.microsoft.com
26
Tools & Resources msdn.microsoft.com/ embedded microsoft.public. windowsxp.embedded windowsce.platbuilder windowsce.platbuilder windowsce.embedded.vc windowsce.embedded.vc blogs.msdn.com/ mikehall Windows CE 5.0 Eval Kit Windows XP Embedded Eval Kit msdn.microsoft.com/ mobility microsoft.public. pocketpc.developer smartphone.developer dotnet.framework.compactframework blogs.msdn.com/ windowsmobile vsdteam netcfteam Windows Mobile 5.0 Eval Kit Websites Newsgroups Blogs Tools Build Develop
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.