Die Präsentation wird geladen. Bitte warten

Die Präsentation wird geladen. Bitte warten

Joga für die Datenbank - Stretch-Database SQL Saturday 525 Patrick Heyde Microsoft – Technical

Ähnliche Präsentationen


Präsentation zum Thema: "Joga für die Datenbank - Stretch-Database SQL Saturday 525 Patrick Heyde Microsoft – Technical"—  Präsentation transkript:

1 Joga für die Datenbank - Stretch-Database SQL Saturday 525 Patrick Heyde Microsoft – Technical Evangelist @patrickheyde http://aka.ms/patrickheyde

2 Organizer SQLSaturday Rheinland 201611.06.2016

3 Bronze Sponsor SQLSaturday Rheinland 201611.06.2016

4 Silver Sponsor SQLSaturday Rheinland 201611.06.2016

5 Gold Sponsor SQLSaturday Rheinland 201611.06.2016

6 Große Datenbanken & Große Herausforderungen 100 GB500 GB1 TB5 TB10+ TB Re-Index Performance Tuining Backup / Restore Super Large Table 45 Milliarden Zeilen in einer Single Table (99% cold) 1.3 Billionen Zeilen in partitioned Table (>80% cold) Restore: 1+ Tage warten bis man wieder online ist, wobei 90% der Zeit auf den Restore von kalten Daten gewartet wird.

7 DBA – Wie löst man diese Aufgabe?  SLA einhalten bei Restore-DB  Re-index im Zeitfenster erfolgreich beenden  Query-Performance läßt über die Zeit nach

8 DBA – Wie löst man diese Aufgabe? SAN? SSD Traditionell Vorgehensweise

9 Lösungsmöglichkeiten  Hardware erweitern,  Mehr Storage in SAN, am besten gleich SSDs (für cold Data)  Mehr Data Center Kapazität  Fazit: Das löst nicht die Wartungs- und SLA-Herausforderung, man verschafft sich nur Zeit  Move data in eine andere Lokation –database, flat-files, backups, tapes  Data is near-line or offline  Delete older data  Unknown ob die Daten wertvoll sind  In manchen Fällen: Unacceptable oder illegal in einigen Branchen / gesetzliche Vorgaben Really ?

10 Genau hier setzt Stretch Database an!  Trennung von Hot- & Cold-Data ohne Schema-Änderung  kalten Daten in DB bleiben online  kalten Zeilen in der Tabellen nach Azure auslagern  Backup & Restore-Zeiten reduzieren  Keine Zunahme an Komplexität auslagern Online verfügbar Keine Anwendungsanpassung notwendig Z u s a t z : S u p p o r t f ü r A l w a y s E n c r y p t e d u n d R o w L e v e l S e c u r i t y E n c r y p t i o n K e y s b l e i b e n o n - p r e m i s e s I n k l. S u p p o r t f ü r D e u t s c h e s A z u r e D a t a C e n t e r

11 Was ist Stretch-Database?  Die erste Hybrid-Datenbank  einzigartig auf dem Markt und niemand am Markt hat ein vergleichbares Feature  Es kann erfolgreich IT-Budget einsparen und die Herausforderungen lösen Business SLA, performance, administration, design simplicity

12 Customers Products Order History Stretch to cloud Order History Was ist Stretch Database? Eine Lösung zum übertragen von kalten Tabellendaten nach Microsoft Azure. Kalten Daten bleiben online und werden Remote ausgeführt. Der Stretch Database Service fordert auf den Azure Stretch-SQL-Service zu verschlüsseln. Den Key kann man im Azure Key Vault hinterlegen. Azure SQL Server 2016 SQL App Order History

13 Azure Key Vault 11.06.2016SQLSaturday Rheinland 2016

14 Source SQL ServerMicrosoft Azure Internet boundary TRICKLE MIGRATION Remote Database Remote Table Source Database Cold/Historical Closed Data Hot/Active Data Creates a secure connection between the Source SQL Server and Azure Subscription (Stretch Database Service) Provisions remote service instance and migration begins Apps and Queries continue to run for both the local database and remote endpoint Security controls and maintenance remain local Wie funktioniert Stretch Database?

15 Business applications continue working without disruption DBA scripts and tools work as before; all controls still held in local SQL Server Developers continue building or enhancing applications with existing tools and methods Trickle migration Orders Orders History Order History Migration und Arbeiten ohne Unterbrechung

16 Wie passiert die Datenmigration  Es gibt keinen einmaligen Burst copy/migration Job um kalte Daten auszulagern Sondern  Es ist eine schleichende Migration. bspw. einige TB cold data migration pro Monat  Das Ziel von Stretch Database ist es:  man muss sich nicht um die Aufteilung sorgen, man definiert nur die Verteilung und überwacht den Verteilungsstatus  alles passiert automatisch innerhalb der Datenbank  Ein Db-Backup lokal produziert entsprechend in Azure ein Äquivalent, auch beim Restore

17 In welcher Edition ist es verfügbar? https://msdn.microsoft.com/en-us/library/cc645993.aspx

18 Demo

19 Die Stretched Database in Azure  Ist ein Azure eigenständiger Service  Der DB-PerformanceLevel kann freigewählt werden  Preview Limit aktuell: 1 TB  Was mag wohl das RTM / GA Limit sein?

20 Stretch-Database Service Pricing/Usage 11.06.2016SQLSaturday Rheinland 2016 Demo https://azure.microsoft.com/de-de/pricing/calculator/

21 Sample 11.06.2016SQLSaturday Rheinland 2016

22 28 Regions Worldwide, 22 ONLINE…huge capacity around the world…growing every year 100+ datacenters Top 3 networks in the world 2x AWS, 7x Google DC Regions G Series – Largest VM in World, 32 cores, 448GB Ram, SSD… Operational Announced/Not Operational Central US Iowa West US California East US Virginia US Gov Virginia North Central US Illinois US Gov Iowa South Central US Texas Brazil South Sao Paulo State West Europe Netherlands China North * Beijing China South * Shanghai Japan East Tokyo, Saitama Japan West Osaka India South Chennai East Asia Hong Kong SE Asia Singapor e Australia South East Victoria Australia East New South Wales Operated by 21Vianet ** Data Stewardship by Deutsche Telekom India Central Pune Canada East Quebec City Canada Central Toronto India West Mumbai Germany North East ** Magdeburg Germany Central ** Frankfurt North Europe Ireland East US 2 Virginia United Kingdom Regions United Kingdom Regions Microsoft Cloud Infrastructure

23 Fragen Danke

24 Quellen  Enable Stretch Database  http://sql-articles.com/articles/dba/sql-server-2016-drop-disable- database-table-stretch-feature/ http://sql-articles.com/articles/dba/sql-server-2016-drop-disable- database-table-stretch-feature/  https://msdn.microsoft.com/en-us/library/mt622661.aspx https://msdn.microsoft.com/en-us/library/mt622661.aspx  Filter Row to Stretch a part of a table  https://msdn.microsoft.com/en-us/library/mt613432.aspx https://msdn.microsoft.com/en-us/library/mt613432.aspx  https://msdn.microsoft.com/en-us/library/dn935011.aspx  Limits of Stretch Database  https://msdn.microsoft.com/en-us/library/mt605114.aspx https://msdn.microsoft.com/en-us/library/mt605114.aspx  Backup Stretch enabled Databases  https://msdn.microsoft.com/en-us/library/dn934993.aspx https://msdn.microsoft.com/en-us/library/dn934993.aspx

25 Save the date! 11.06.2016SQLSaturday Rheinland 2016 8. October 2016 – New Microsoft Office

26 Save the date! 11.06.2016SQLSaturday Rheinland 2016 8. October 2016 – New Microsoft Office


Herunterladen ppt "Joga für die Datenbank - Stretch-Database SQL Saturday 525 Patrick Heyde Microsoft – Technical"

Ähnliche Präsentationen


Google-Anzeigen