Sofia, Bulgaria | 9-10 October Advanced Data Access Patterns with ADO.NET 2.0 Julie Lerman The Data Farm Julie Lerman The Data Farm.

Slides:



Advertisements
Similar presentations
SQL Server 2005 Query Notifications
Advertisements

Yukon – What is New Rajesh Gala. Yukon – What is new.NET Framework Programming Data Types Exception Handling Batches Databases Database Engine Administration.
ADO vs ADO.NET ADOADO.NET Client/server coupledDisconnected collection of data from data server Uses RECORDSET object (contains one table) Uses DATASET.
A comparison of MySQL And Oracle Jeremy Haubrich.
By Chris Pascucci and FLF
DEV351 ADO.NET Performance Pablo Castro Program Manager – ADO.NET Team Microsoft Corporation.
Chapter 10 ADO. What is ADO? ADO is a Microsoft technology ADO stands for ActiveX Data Objects ADO is a programming interface to access data in a database.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 4-1 David M. Kroenke Database Processing Chapter 2 Structured Query Language.
The Jukebox Orian Paz & Yair Cleper Instructor: Viktor Kulikov Semester: Spring 2009 Final Presentation.
Objective In this session we will discuss about : What is ADO. NET ?
Database Updates Made Easy In WebFocus Using SQL And HTML Painter Sept 2011 Lender Processing Services 1.
Discover, Master, InfluenceSlide 1 SQL Server Compact Edition and the Entity Framework Rob Sanders Readify.
Virtual techdays INDIA │ august 2010 Building ASP.NET applications using SQL Server Compact Chaitanya Solapurkar │ Partner Technical Consultant,
Introduction to ADO Entity Framework ir Denis VOITURON Source:
Chapter 8 Binding Data to Web Controls. ASP.NET 2.0, Third Edition2.
ASP.NET Whidbey Overview  Wallace B. McClure  Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow.
Overview of ADO.NET Whidbey  Wallace B. McClure  Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow.
How a little code can help with support.. Chris Barba – Developer at Cimarex Energy Blog:
Sofia, Bulgaria | 9-10 October TSQL Enhancements in SQL Server 2005 Stephen Forte CTO, Corzen Inc Microsoft Regional Director NY/NJ (USA) Stephen Forte.
Sofia, Bulgaria | 9-10 October Asynchronous Programming for ASP.NET 2.0 Developers Julie Lerman The Data Farm Julie Lerman The Data Farm.
Visual Studio ®.NET Data with XML Carlotta Eaton ( Associate Professor of IST New River Community College Slides by Microsoft Modified.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
Database Technical Session By: Prof. Adarsh Patel.
Introduction to SQL Steve Perry
DAT336 Connected vs Disconnected Data Access in ADO.NET Pablo Castro Program Manager – ADO.NET Team Microsoft Corporation.
ADO.NET A2 Teacher Up skilling LECTURE 3. What’s to come today? ADO.NET What is ADO.NET? ADO.NET Objects SqlConnection SqlCommand SqlDataReader DataSet.
Sofia, Bulgaria | 9-10 October Concurrency Management – ADO.NET 2.0 Presented By: Sahil Malik Presented By: Sahil Malik
Lecture Set 14 B new Introduction to Databases - Database Processing: The Connected Model (Using DataReaders)
1 Introduction to ADO.NET Microsoft ADO.NET 2.0 Step by Step Rebecca M Riordan Microsoft Press, 2006.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Working with Disconnected Data The DataSet and SqlDataAdapter ADO.NET - Lesson.
Objectives In this lesson, you will learn to: *Identify the need for ADO.NET *Identify the features of ADO.NET *Identify the components of the ADO.NET.
DAT 360: DTS in SQL Server 2000 Best Practices Euan Garden Group Manager, SQL Server Microsoft Corporation.
Integration Services in SQL Server 2008 Allan Mitchell SQL Server MVP.
Sofia, Bulgaria | 9-10 October Troubleshooting Web Site Performance Issues with Visual Studio Team System Martin Kulov Director,.NET Development National.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Introduction to ADO.NET ADO.NET - Lesson 01  Training time: 10 minutes  Author:
Windows Forms in Visual Studio 2005 Mike Pelton Systems Engineer Microsoft Ltd
Presented by Joseph J. Sarna Jr. JJS Systems, LLC
Lecture Set 14 B new Introduction to Databases - Database Processing: The Connected Model (Using DataReaders)
Oct * Brad Tutterow. VS 2008.NET 3.5LINQ Entity Framework  The ADO.NET Entity Framework is part of Microsoft’s next generation of.NET technologies.
Sofia, Bulgaria | 9-10 October The Query Governor Richard Campbell Stephen Forte Richard Campbell Stephen Forte.
Course FAQ’s I do not have any knowledge on SQL concepts or Database Testing. Will this course helps me to get through all the concepts? What kind of.
Mauricio Featherman, Ph.D. Washington St. University
DEV383 The ADO.NET DataSet and You Jackie Goldstein General Manager Renaissance Computer Systems
Module 4 Introduction ADO.NET.
Migrating Data to SQL Azure Arunraj Chandrasekaran Twitter June 21, 2011.
SQL Query Analyzer. Graphical tool that allows you to:  Create queries and other SQL scripts and execute them against SQL Server databases. (Query window)
Text TCS INTERNAL Oracle PL/SQL – Introduction. TCS INTERNAL PL SQL Introduction PLSQL means Procedural Language extension of SQL. PLSQL is a database.
Leverage SQL Server 2008 in Your.Net Code with Visual Studio 2008 SP1 David Sackstein John Bryce Training
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Data Access. ADO.NET ADO.NET is the primary library for building database solutions within the.NET Framework. ADO.NET does not replace ADO. ADO and OLEDB.
ADO .NET from. ADO .NET from “ADO .Net” Evolution/History of ADO.NET MICROSOFT .NET “ADO .Net” Evolution/History of ADO.NET History: Most applications.
DAT 390 Advanced ADO.NET Programming Techniques Jackie Goldstein Renaissance Computer Systems
Doing fast! Optimizing Query performance with ColumnStore Indexes in SQL Server 2012 Margarita Naumova | SQL Master Academy.
A Lap Around Columstore Martin Catherall SQL Saturday #464, Melbourne 20 th February 2016.
Introduction to Database Processing with ADO.NET
Introduction to Database Processing with ADO.NET
Visual Studio Database Tools (aka SQL Server Data Tools)
Chris Menegay Sr. Consultant TECHSYS Business Solutions
Tech·Ed North America /31/2018 4:35 PM
Optimizing Microsoft SQL Server 2008 Applications Using Table Valued Parameters, XML, and MERGE
Download Microsoft Exam Dumps - Valid Microsoft Question Answers - Realexamdumps.com
Transactional Replication A Deeper Dive Drew Furgiuele, Senior DBA IGS
Entity Framework Core (EF Core)
Please thank our sponsors!
Chapter 10 ADO.
Azure SQL DWH: Tips and Tricks for developers
Summit Nashville /3/2019 1:48 AM
Visual Studio + SQL Server Is Better
Change Tracking Live Data Warehouse
Why should I care about SQL, if I have ORM?
Presentation transcript:

Sofia, Bulgaria | 9-10 October Advanced Data Access Patterns with ADO.NET 2.0 Julie Lerman The Data Farm Julie Lerman The Data Farm

Sofia, Bulgaria | 9-10 October About Me ●.NET Consultant and Mentor ●20+ years developing ●Microsoft.NET MVP ●ASPInsider ●INETA Speaker ●Various publications & conferences ●Blogs: thedatafarm.com/blog, blog.ziffdavis.com/devlife ●Founder and leader of Vermont.NET ●INETA Speaker Committee, VTSDA Board ●.NET Consultant and Mentor ●20+ years developing ●Microsoft.NET MVP ●ASPInsider ●INETA Speaker ●Various publications & conferences ●Blogs: thedatafarm.com/blog, blog.ziffdavis.com/devlife ●Founder and leader of Vermont.NET ●INETA Speaker Committee, VTSDA Board

Sofia, Bulgaria | 9-10 October Agenda ●ADO.NET 2.0 DataSet performance ●Pushing huge data back to SQL Server ●Caching huge amounts of data ●Querying huge amounts of data in memory ●ADO.NET 2.0 DataSet performance ●Pushing huge data back to SQL Server ●Caching huge amounts of data ●Querying huge amounts of data in memory

Sofia, Bulgaria | 9-10 October New in ADO.NET 2.0 ●New features used in this session ●Batch Updating with DataAdapter ●SqlBulkCopy Class ●SqlDependency Class ●New features used in this session ●Batch Updating with DataAdapter ●SqlBulkCopy Class ●SqlDependency Class

Sofia, Bulgaria | 9-10 October ADO.NET 2.0 Performance ●DataSet Scalability across the board ●Can handle lots of rows ●Indexing Engine completely re-written ●Incremental indexing updates ●much more ●Low overhead for using Data Views ●Serialization: Faster, more compact ●Supports Binary & Schema-less serialization ●DataSet Scalability across the board ●Can handle lots of rows ●Indexing Engine completely re-written ●Incremental indexing updates ●much more ●Low overhead for using Data Views ●Serialization: Faster, more compact ●Supports Binary & Schema-less serialization

Sofia, Bulgaria | 9-10 October Demonstration Indexing Engine Performance

Sofia, Bulgaria | 9-10 October Moving BIG Data ●Getting data is easy and fast ●Uploading is a different story ●1.1 Update Options ●DataAdapter.Update – one row at a time ●Controlled stored procedure update – one row at a time ●Getting data is easy and fast ●Uploading is a different story ●1.1 Update Options ●DataAdapter.Update – one row at a time ●Controlled stored procedure update – one row at a time

Sofia, Bulgaria | 9-10 October Updating in 2.0 ●DataAdapter Batch Update ●Pushes groups of rows up to SQL Server ●SQL Server still updates one at a time ●Find sweet spot for UpdateBatchSize value ●SqlDataAdapter & OracleDataAdapter ●Bulk Copy ●Streamed Insert using SQL Server Bulk Copy ●DataAdapter Batch Update ●Pushes groups of rows up to SQL Server ●SQL Server still updates one at a time ●Find sweet spot for UpdateBatchSize value ●SqlDataAdapter & OracleDataAdapter ●Bulk Copy ●Streamed Insert using SQL Server Bulk Copy *slide slightly modified from original printed version

Sofia, Bulgaria | 9-10 October Demonstration Batch Update & Bulk Copy Class

Sofia, Bulgaria | 9-10 October Fast Updates w/BCP ●Use BCP to stream Inserts & Updates and Deletes to temptables ●Create & run a DML TSQL command to process inserts, updates and deletes from the temptables into the real tables ●Wrap it all in a transaction ●End to End streaming with DataReader ●Use BCP to stream Inserts & Updates and Deletes to temptables ●Create & run a DML TSQL command to process inserts, updates and deletes from the temptables into the real tables ●Wrap it all in a transaction ●End to End streaming with DataReader DML: Database Manipulation Language

Sofia, Bulgaria | 9-10 October Demonstration Using BCP & DML to process huge amounts of data

Sofia, Bulgaria | 9-10 October DataSet Caching ●DataSet improvements enable storing lots of data into cache ●SqlDependency enables automated notification of changes to.NET ●Combine SqlDependency and Caching for serious resource reduction ●DataSet improvements enable storing lots of data into cache ●SqlDependency enables automated notification of changes to.NET ●Combine SqlDependency and Caching for serious resource reduction

Sofia, Bulgaria | 9-10 October Demonstration SqlDependency & DataSet Cache Part 1

Sofia, Bulgaria | 9-10 October Break up Big cache ●SqlDependency is all or nothing ●Create separate dependencies for logical sections of your cache ●SqlDependency is all or nothing ●Create separate dependencies for logical sections of your cache

Sofia, Bulgaria | 9-10 October Demonstration SqlDependency & DataSet Cache Part 2: Achieve granularity

Sofia, Bulgaria | 9-10 October Query BIG DataSet ●Query a huge DataSet in cache ●In-Memory Querying is coming! ●LiNQ ●VB9/C#3 ●What about today? ●ADO.NET 2.0 has everything you need to build a simple Query Processor ●Great example of QP from ADO.NET Team Technical Lead Pablo Castro (“for demo only”) ●Query a huge DataSet in cache ●In-Memory Querying is coming! ●LiNQ ●VB9/C#3 ●What about today? ●ADO.NET 2.0 has everything you need to build a simple Query Processor ●Great example of QP from ADO.NET Team Technical Lead Pablo Castro (“for demo only”)

Sofia, Bulgaria | 9-10 October Sample Query Processor ●Takes advantage of new ADO.NET 2.0 tools ●Ability to query huge datasets ●Uses Caching ●Super Fast indexing ●DataTable.Select ●DataView ●Very simplistic compared to T-SQL ●*NOT* for production use ●Takes advantage of new ADO.NET 2.0 tools ●Ability to query huge datasets ●Uses Caching ●Super Fast indexing ●DataTable.Select ●DataView ●Very simplistic compared to T-SQL ●*NOT* for production use

Sofia, Bulgaria | 9-10 October Demonstration A look at a sample Query Processor written with ADO.NET 2.0

Sofia, Bulgaria | 9-10 October Summary ●ADO.NET 2.0’s performance and functional improvements put new power in our hands ●You can work with huge amounts of data efficiently ●Functionality like BatchUpdate gives you easy access to some of this power ●With a little more code, you can do wonders! ●ADO.NET 2.0’s performance and functional improvements put new power in our hands ●You can work with huge amounts of data efficiently ●Functionality like BatchUpdate gives you easy access to some of this power ●With a little more code, you can do wonders!

Sofia, Bulgaria | 9-10 October Resources ●PDC05 Session DAT408, Pablo Castro, ADO.NET Team Technical Lead ●ADO.NET Team Blog: blogs.msdn.com/dataaccess blogs.msdn.com/dataaccess ●MSDN Data Access Dev Center ●msdn.microsoft.com/data ●What’s New in ADO.NET 2.0, Julia Lerman, MSDN Magazine April 2005 ●PDC05 Session DAT408, Pablo Castro, ADO.NET Team Technical Lead ●ADO.NET Team Blog: blogs.msdn.com/dataaccess blogs.msdn.com/dataaccess ●MSDN Data Access Dev Center ●msdn.microsoft.com/data ●What’s New in ADO.NET 2.0, Julia Lerman, MSDN Magazine April 2005

Sofia, Bulgaria | 9-10 October ADO.NET 2.0 Bookshelf ●ADO.NET and System.Xml v 2.0 – The Beta Version: Alex Homer, Dave Sussman & Mark Fussell, Addison-Wesley ●PRO ADO.NET 2.0, Sahil Malik, APress ●Professional ADO.NET 2: Programming with SQL Server 2005, Oracle, and MySQL, Wallace B. McClure, Gregory A. Beamer, IV John J. Croft, J. Ambrose Little, Bill Ryan, Phil Winstanley, David Yack, Jeremy Zongker, WROX Press ●Programming Microsoft ADO.NET 2.0 Applications: Advanced Topics, Glenn Johnson, Microsoft Press ●Microsoft ADO.NET 2.0 Step by Step, Rebecca Riordan, Microsoft Press ●ADO.NET and System.Xml v 2.0 – The Beta Version: Alex Homer, Dave Sussman & Mark Fussell, Addison-Wesley ●PRO ADO.NET 2.0, Sahil Malik, APress ●Professional ADO.NET 2: Programming with SQL Server 2005, Oracle, and MySQL, Wallace B. McClure, Gregory A. Beamer, IV John J. Croft, J. Ambrose Little, Bill Ryan, Phil Winstanley, David Yack, Jeremy Zongker, WROX Press ●Programming Microsoft ADO.NET 2.0 Applications: Advanced Topics, Glenn Johnson, Microsoft Press ●Microsoft ADO.NET 2.0 Step by Step, Rebecca Riordan, Microsoft Press

Sofia, Bulgaria | 9-10 October Contact Info Julie Lerman Blogs blogs.ziffdavis.com/devlife Julie Lerman Blogs blogs.ziffdavis.com/devlife

Sofia, Bulgaria | 9-10 October Please fill out the survey forms! They are the key to amazing prizes that you can get at the end of each day Thank you!

Sofia, Bulgaria | 9-10 October