Extreme Scaling with SQL Azure SQL Bits 7, York, October 2010 Martin Schmidt – Miracle A/S Denmark.

Slides:



Advertisements
Similar presentations
Help! My table is getting too big! How to divide and conquer SQL Relay 2014.
Advertisements

“Packaged” Application An application that I buy “off the shelf” and run myself “Packaged” Application An application that I buy “off the shelf”
Amazon RDS (MySQL and Oracle) and SQL Azure Emil Tabakov Telerik Software Academy academy.telerik.com.
© 2015 Dbvisit Software Limited | dbvisit.com An Introduction to Dbvisit Standby.
Deployment Options for Kentico CMS in Windows Azure.
Jeremy Kashel BI 200 End to End Master Data Management With SQL Server Master Data Services (MDS)
What Should the Design of Cloud- Based (Transactional) Database Systems Look Like? Daniel Abadi Yale University March 17 th, 2011.
© 2014 ScaleArc. All Rights Reserved. 1 Creating an Agile Data Environment for Apps in the Cloud Summer 2014.
Virtual techdays INDIA │ November 2010 SQL Azure Data Sync Shilpa Nirmale │ Associate Manager, Accenture.
MICROSOFT CONFIDENTIAL Sept 2009 | Page 1 | BDM Presentation.
Russ Houberg Senior Technical Architect, MCM KnowledgeLake, Inc.
Database Design Table design Index design Query design Transaction design Capacity Size limits Partitioning (shard) Latency Redundancy Replica overhead.
OM. Brad Gall Senior Consultant
itcamp12 # Premium conference on Microsoft technologies Serving 10 million requests per day How to solve the architecture challenges of a high.
Subtitle color From Windows Azure From Outside Microsoft Datacenter From Windows Azure & Outside Microsoft Datacenter Application / Browser Windows.
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
1 Taking that leap … TO THE CLOUD Anindya Roy. 2 Agenda  Which Cloud ?  Few vendors and offerings  Why Cloud ?  Few stories from my life  How Cloud.
January 2011 Travel Experts Website Prepared By : Gomaa, Kevin, and Lidiya.
Windows Azure Tour Benjamin Day Benjamin Day Consulting, Inc.
Virtual techdays INDIA │ august 2010 SQL Azure – Tips and Tricks Ramaprasanna Chellamuthu │ Developer Evangelist, Microsoft.
WINDOWS AZURE PLATFORM ROADMAP Eric Nelson Slide 1.
We will start soon. Feel free to ask (chat window) anything you want before we start.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
DTS Conversion to SSIS Conversion Best Practices Mike Davis
Communicate with All Workers Involved in the Process of Delivering High-Quality Health Care by Choosing Dossier365 on the Azure Platform MICROSOFT AZURE.
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
SQL Azure Intro and What’s New Level: Introductory to Intermediate Andy Thiru SQL/BI Developer.
IOS and Android with Windows Azure Websites Name Title Address Website.
1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007.
The Art of Database Sharding Maxym Kharchenko Amazon.com.
== Enovatio Delivers a Scalable Project Management Solution Minus Large Upfront Infrastructure Costs, Thanks to the Powerful Microsoft Azure Platform MICROSOFT.
Protecting SharePoint with System Center Data Protection Manager 2007 Chris Whitehead Premier Field Engineer Microsoft UK.
Intro to Datazen.
Mailjet and Microsoft Azure Offer All-in-One Infrastructure and Deliverability while Saving IT and Enterprise Time and Money with Scalability MICROSOFT.
Dynamo: Amazon’s Highly Available Key-value Store DAAS – Database as a service.
Text Microsoft to Or Tweet #uktechdays Questions?
Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –
Boost Developer Productivity with a 360- Degree View of Every Software Change by Using FinditEZ, Certified Microsoft Platform Ready for SQL Azure MICROSOFT.
Bring Your Own Security (BYOS™): Deploy Applications in a Manageable Java Container with Waratek Locker on Microsoft Azure MICROSOFT AZURE ISV PROFILE:
Easy-to-Use RedFlag System Delivers Notifications via Phone, , Text, Social Media, and More to Improve Effectiveness of Your Communications COMPANY.
Migrating Data to SQL Azure Arunraj Chandrasekaran Twitter June 21, 2011.
Smart Syncing: Travelers Get News, Information, and Entertainment along with Free Internet via WiFi COMPANY PROFILE: SIENN With a team across Europe, SIENN.
With xTV, Quickly Build Your Enterprise.TV Network, a Single-Destination, Real-Time Stream of Information to Inform Customers, Employees, Partners & Investors.
Technology Drill Down: Windows Azure Platform Eric Nelson | ISV Application Architect | Microsoft UK |
Building Cloud Solutions Presenter Name Position or role Microsoft Azure.
(re)-Architecting cloud applications on the windows Azure platform CLAEYS Kurt Technology Solution Professional Microsoft EMEA.
Azure SQL DW – Elastic Data Analytics in the cloud Josh Sivey | Microsoft TSP #492 | Phoenix.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Inspirirani ljudima. Ugasite mobitele. Hvala.. Paolo Pialorsi Senior Consultant PiaSys ( Publishing apps for SharePoint 2013 on Microsoft.
Windows Azure and iOS Chris Risner Windows Azure Technical Evangelist Microsoft
Azure Data Catalog and Power BI. Agenda Azure Data Catalog Overview 1 Publish a data set 2 Metadata 3 Extract and view 4 Q&A 5.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 19/09/2015David Postlethwaite.
Scaling out and in with Azure SQL DB Elastic Scale DBA-203 Warner Chaves, MCM/MVP, SQLTurbo.com, Pythian.com.
SQL Server as a Cloud Service November 11th 2015 Warner Chaves SQL MVP/MCM.
Windows Azure: Is the Relational Database Dead? Benjamin Day
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 18/06/2016David Postlethwaite.
SQL Server as a Cloud Service April 15th 2016 Warner Chaves Data Platform MVP/SQL Server MCM.
Architecting Enterprise Workloads on AWS Mike Pfeiffer.
Migrating to and Integrating with SQL Azure
Lead SQL BankofAmerica Blog: SQLHarry.com
of our Partners and Customers
7/18/2018 8:55 PM Migracija IoT rešenja na Azure PaaS model ili: Kako sam prestao da brinem o IT infrastrukturi i zavoleo Azure Nebojša Stojanović © Microsoft.
04 – Azure SQL Database Bret Stateham | Senior Technical Evangelist​
Windows Azure Caching – New Capabilities in the Next Release
MongoDB for the SQL DBA.
Understanding Azure SQL DB Service Tiers
Azure Enables Mobility, Easy Sync and Share, and Allows Companies to Retain Data Control MINI-CASE STUDY “Azure provides the full stack of technology that.
Cloud Data Replication with SQL Data Sync
Become the Data Platform Engineer of Tomorrow
Building global and highly-available services using Windows Azure
Presentation transcript:

Extreme Scaling with SQL Azure SQL Bits 7, York, October 2010 Martin Schmidt – Miracle A/S Denmark

Subtitle: The Safetrack story

Agenda O Speaker Info O Safetrack facts & system info O Safetrack architecture O Database design O Issues with current setup O The Azure platform O Sharding O Solution Walkthrough O Moving Exsisting Data to SQL Azure

Speaker info O Name: Martin Schmidt O O Blog: O

Agenda O Speaker Info O Safetrack facts & system info O Safetrack architecture O Database design O Issues with current setup O The Azure platform O Sharding O Solution Walkthrough O Moving Exsisting Data to SQL Azure

Safetrack facts O Danish Company – started 2005 O GPS tracking of trucks and excavators O Started out as an insurance service against theft O Today: A complete platform for fleet management O Tracks more than units O Website:

Unit Types

How does this Work?

How does this Work O All units are equipped with a GPS transmitter O Sends binary packages over GPRS O Built-in SIM card O Sends a package every 2 min when running O Sends a package every 15 min when parked O Data is sent using UDP Protocol

ME Length = 75 mm Width = 45 mm Height = 18 mm

Package data O Reporttime O Longitude O Latitude O Speed O KM Status O Inputs status information O Is the lift up / down O Is the engine running O Timecounter info on inputs O For how long has the engine been running O How long has the lift been in use

Agenda O Speaker Info O Safetrack facts & system info O Safetrack architecture O Database design O Issues with current setup O The Azure platform O Sharding O Solution Walkthrough O Moving Exsisting Data to SQL Azure

System Archietecture

Agenda O Speaker Info O Safetrack facts & system info O Safetrack architecture O Database design O Issues with current setup O The Azure platform O Sharding O Solution Walkthrough O Moving Exsisting Data to SQL Azure

Database Design

Agenda O Speaker Info O Safetrack facts & system info O Safetrack architecture O Database design O Issues with current setup O The Azure platform O Sharding O Solution Walkthrough O Moving Exsisting Data to SQL Azure

Issues ? O Database and application on same box O Everything runs on the same single server O Single Point of Failure O Hardware O Database O Services / Website O No HA solution O Limited scaling options (Buy bigger HW)

Issues ? O All elements are independend O Easy to split things O No ”secret” data O No personal or banking information O Not breaking the Danish data law

Issues ? O SQL Azure in the future? O Windows Azure in the future? O Why Not

Agenda O Speaker Info O Safetrack facts & system info O Safetrack architecture O Database design O Issues with current setup O The Azure platform O Sharding O Solution Walkthrough O Moving Exsisting Data to SQL Azure

SQL Azure O High Availibity = Free O 1 DB = 3 DB’s (automatic failover) O Size limitations O 1 – 50 GB O Safetrack database > 250 GB  O Get the database off the current box O Release more power to the Windows service

SQL Azure O Let Microsoft be your primary DBA! O SQL Azure = Black boks O Running your database with other unknown applications

Windows Azure O Moving the website to Windows Azure O Easy peasy O The Windows Service is not compatible with Azure at present O No support for UDP – TCP Only 

SQL Azure O Lets move the database to the Cloud O Latency from the local Windows service to SQL Azure is not a big issue. O Size is a issue, we will have to Shard the data across multiple databases O Sharding gives us scalability

Agenda O Speaker Info O Safetrack facts & system info O Safetrack architecture O Database design O Issues with current setup O The Azure platform O Sharding O Solution Walkthrough O Moving Exsisting Data to SQL Azure

Sharding facts O Partition data across multiple databases O Each database holds a subset of the data O A query needs only to look in one database O Sharding is no silver bullet, you still need to think O Important to choose the correct sharding key O Try to avoid fan-out queries, if possible

Agenda O Speaker Info O Safetrack facts & system info O Safetrack architecture O Database design O Issues with current setup O The Azure platform O Sharding O Solution Walkthrough O Moving Exsisting Data to SQL Azure

Solution walkthrough O Shard key candidates O UnitID O CustomerID O The winner is: O CustomerID O All reports on the web front end is based on customerID. This gives the customer the option to se the status of all his units.

Data Syncronisation O MS Data sync Framework O Requires SQL Agent to do scheduling O SQL Azure Data Sync (Dev Preview) O The winner so far O We will have a look in a minute O Pretty Slow  O SQL Server Integration Services O Still no scheduler O Windows Azure worker role O We need to test this

Database Design

DEMO O Enough Power Pointing

Agenda O Speaker Info O Safetrack facts & system info O Safetrack architecture O Database design O Issues with current setup O The Azure platform O Sharding O Solution Walkthrough O Moving Exsisting Data to SQL Azure

Loading data into Azure O Task: Load existing data into SQL Azure O Rows (ReportMessage) O 150 GB O Possible solutions O BCP Utility O SSIS

Loading data into Azure

O Slow, poor performance O Still working on improving performance O Tested throughput (Laptop) O 1000 Rows / sec

SQL Azure Ressources O SQL Azure webfrontend O O SQL Azure Labs O O SQL Azure team Blog O

More Ressources O PerformanceDUO O O Miracle A/S O O MiracleDB O O Safetrack O

Q & A O Questions?

Thank You

Coming up… P/X001 Understanding and Preventing SQL Injection Attacks Kevin Kline P/L001 SSIS Fieldnotes Darren Green P/L002 The (Geospatial) Shapes of Things to Come Simon Munro P/L005 End to End Master Data Management with SQL Server Master Data Services Jeremy Kashel P/T007 Understanding Microsoft Certification in SQL Server Chris Testa-O'Neill # SQLBITS