azure storage
DESCRIPTION
Vortrag über Azure Storage im Rahmen von Team Nord Conference in HamburgTRANSCRIPT
Windows AzureAlexander Galkin Alexander IsakovESP, MCSA, MCT SP, MCTS
Ablauf1. What is Windows Azure2. Azure as Data Storage3. Azure as Application Server4. Mobile Services
Cloud Computing
Software-as-a-Service
consume
SaaSPlatform-as-a-Service
build
PaaSInfrastructure-as-a-Service
host
IaaS
Datenarten
Documents/Lists
Images Tables
Non-structured, binary data
Partially structured Data
Data in relational tables
Blob storage Table Storage SQL AzureKurze Beschreibung BLOB-Datenbank, Dateisystem NoSQL-Datenbank, Key-Value
StorageKlassisches RDMS
Für welche Daten geeignet Binäre Daten Semi-struktirierte Daten Strukturierte Daten
Größeneinschränkung Gesamt: 100 TB, 200GB für Block- und 1TB für Seiten-BLOB
Gesamt: 100TB, 252 Spalten pro Tabelle, 1MB pro Eintrag
DB-Größe: 150 GB
Abrechnungsmodel Nach tatsächlicher Größe und Zugriffe
Nach tatsächlicher Größe und Zugriffe
Nur nach maximaler Datenbankgröße
Protokolle REST (HTTP) REST (OData) TDS
Abfragen Block- bzw,. Seitenweiser Zugriff Einfache Abfragen mit OData T-SQL
Skalierbarkeit Automatisch nach Last Automatisch nach Last Manuell durch Federations
Transaktionen Keine Über Entitätsgruppen Datenbankweit
Geo-Replikation Automatisch mit Failover mit CND-Option
Automatisch mit Failover Manuelle durch Data Sync
* Without Drive uad Queue.
Data Storage in Azure*
Azure Blob Storage
Unstructured Data StorageManaged serviceHundreds of gigabytes per blob in size 100TB per storage accountREST APIGeo-replication for disaster recovery
Blob Storage
BlobContainerAccount
http://<account>.blob.core.windows.net/<container>/<blobname>
Pages/ Blocks
contoso
PIC01.JPG
Block/Page
Block/Page
PIC02.JPG
images
VID1.AVIvideos
1. Höhe Verfügbarkeit: 99,9% nach SLA.
2. Datenredundanz: dreifache Geo-Replikation.
3. Zwei Arten von Blobs: Blockblobs (optimiert für Streaming u.a. über CDN) und Seitenblob (optimiert für zufälliger Zugriff)
4. Dreistufige Hierarchie: Konto→ Container→BLOB
5. Drei Zugriffslevels: private, public read, full public.
6. Jeder BLOB kann bis 8KB KV-Metadaten haben.
Key Facts
Azure Blob Storage
DemoBLOB Storage
Azure Table StorageNoSQL Data StorageFully managed PaaSKey-valueHierarchicalREST APIGeo replication
Storage Account: MovieData
Star WarsMatrixFan Boys
Table Name: Movies
Entity
Table
Account
Table Storage ConceptsEntityTableAccount
contoso
Name =…Email = …
Name =…EMailAdd=
customers
Photo ID =…Date =…
photos
Photo ID =…Date =…
No Fixed Schema
FIRST LAST BIRTHDATE
Wade Wegner 2/2/1981
Nathan Totten 3/15/1965
Nick Harris May 1, 1976
FAV SPORT
Canoeing
1. Höhe Verfügbarkeit: 99,9% nach SLA.
2. Datenredundanz: dreifache Geo-Replikation.
3. Drei obligatorische Spalten: PartitionKey + RowKey als String (Primärschlüssel und Sharding), und TimeStamp (optimistische Konkurrenz)
4. Bis 252 benutzerdefinierte Spalten pro Tabelle
5. Dreistufige Hierarchie: Konto→ Tabelle→Entität
Key Facts
Azure Table Storage
PartitionKey(Kategorie)
RowKey(Titel)
TimeStamp Author Erschreinungsjahr
Krimi Illuminati … Dan Brown 2004
Krimi Veblendung … Stieg Larsson 2005
Sci-Fi Babylon 5 … Joe Straczynski 1998
Sci-Fi Sternkriege … George Lucas 1981
Wahl und Bedeutung von PartitionKey
Azure Table Storage
Server ATable = Books
[Krimi]
Server BTable = Books
[Sci-Fi]
DemoTable Storage
Windows Azure SQL Database
Relational Data StorageRelational database as a serviceFully managedHigh availability, scalability, & global reachFamiliar language and framework support
• RDBMS mit Tabellen, Sichten, gespeicherten Prozeduren, Indizen, Triggern, eigenen Datentypen.
• Nicht alle Features vom MS SQL Server werden unterstützt (CLR, Mirroring, räumliche Daten, Dateigruppen fehlen)Whitepaper: http://go.microsoft.com/?linkid=9692818
• Zwei Editions: Web Edition (1-5Gb), Business Edition (10-150Gb)
• Verbingunsendpunkt liegt hinter einer Firewall und soll nicht für Internet zugänglich sein.
Key Facts
Azure SQL
DemoSQL Azure
Azure SQL Infrastruktur
SQL Server
DB1Web
DB2Business
Fire
wal
l
Cloud App
Title
Desktop-Anwendung
Title
Webanwendung (SL bzw. HTML5)