Leanpub Header

Skip to main content

Datenbanken

Skalierung, Datenmodelle, Cloud

Entwickler:innen haben heute eine Vielzahl von Optionen, wenn es um die Wahl einer Datenbank für ihre Anwendung geht. Dieses Buch gibt einen Überblick über Datenmodelle, Konzepte zur Skalierung und Betriebsformen – von relationalen Systemen über dokumenten- und graphbasierte Ansätze bis hin zu Zeitreihen- und Vektordatenbanken. Es bietet Hilfestellung bei der Auswahl und Einordnung für unterschiedliche Anwendungsszenarien.

The authors are letting you choose the price you pay for this book!

Pick Your Price...
PDF
EPUB
74
Pages
About

About

About the Book

Für die meisten Anwendungen ist die zuverlässige Speicherung und Bereitstellung von Daten eine zentrale Komponente. Die Daten einer Anwendung leben oft länger als der Anwendungsquellcode. Quellcode lässt sich vergleichsweise einfach erweitern, refaktorieren oder auf eine neue Frameworkversion anpassen, Bugfixes lassen sich meist relativ einfach deployen. Fehlerhafte oder verlorene Daten lassen sich dagegen nur schwer wiederherstellen. Änderungen an den Strukturen eines produktiven Datenbestands sind oftmals zeitintensiv und erfordern sorgfältige Planung. Fehler in der Datenmodellierung werden uns entsprechend länger verfolgen. Auch der Wechsel einer Datenbank ist teuer, zeitintensiv und manchmal verlustbehaftet. Ein Wechsel von MySQL zu PostgreSQL ist aufwendig, weil alle datenbankspezifischen Funktionen gefunden und ersetzt werden müssen. Ein Wechsel von MongoDB auf MySQL noch aufwendiger, weil es einen kompletten Wechsel des Datenmodells und des Schemamanagements erfordert. Bei der Auswahl eines Datenmodells und einer Datenbank sollte also entsprechend sorgfältig vorgegangen werden, um unliebsame Überraschungen zu vermeiden.

Das Angebot an Datenbanken und anderen Speichermöglichkeiten ist in den letzten Jahren weiter gewachsen. Neben klassischen relationalen und dokumentenbasierten Systemen kommen zunehmend spezialisierte Lösungen zum Einsatz – darunter Zeitreihendatenbanken, Graphdatenbanken oder Vektordatenbanken für semantische Suche und KI-gestützte Anwendungen. Diese Vielfalt eröffnet neue Möglichkeiten, macht die Auswahl aber auch komplexer.

Daraus ergeben sich neue Herausforderungen für die Auswahl passender Datenbanken. In diesem Buch möchten wir einige Aspekte herausgreifen, die wir dabei für bedenkenswert halten. Die Themen reichen von der Vorstellung unterschiedlicher Datenmodelle über Aspekte der Skalierung wie Replikation und Sharding, Methodiken und Überlegungen für den Betrieb in der Cloud und Kubernetes bis hin zur Einordnung konkreter Systeme und ihrer Einsatzbereiche.

Share this book

Categories

Price

Pick Your Price...

Minimum price

$7.99

$7.99

You pay

$7.99

Authors earn

$6.39
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 1)

1
The author will earn $12.00 from your purchase!
You can get credits monthly with a Reader Membership

Author

About the Authors

Christine Koppelt

Christine Koppelt works as a Senior Consultant at innoQ Deutschland GmbH. Her focus is on the implementation and modernization of digitization projects for medium-sized companies. Her main interests are software architecture, infrastructure and data engineering.

---

Christine Koppelt arbeitet als Senior Consultant bei der innoQ Deutschland GmbH. Ihr Schwerpunkt sind die Realisierung und Modernisierung von Digitalisierungsprojekten für mittelständische Unternehmen. Dabei beschäftigt sie sich vor allem mit den Themen Softwarearchitektur, Infrastruktur und Data Engineering.

Lucas Dohmen

Experienced software engineer and team lead, systems architect, consultant and trainer. Two decades’ worth of experience across different technologies and organizations. Co-author of “The Rails Way” book series. Seasoned conference speaker and podcaster. Founder and maintainer of multiple open-source projects. I particularly enjoy collaborating remotely and asynchronously, helping people and organizations grow their potential.

INNOQ

We’re an IT consultancy with offices in Germany and Switzerland. We provide software architecture consulting, product development, and training services.

Marco Steinke

Marco Steinke works as Consultant at INNOQ, where he specializes in software architecture. His professional interests also encompass artificial intelligence, with a particular emphasis on the design and incorporation of AI systems.

Robert Glaser

Robert Glaser ist Head of Data & AI bei INNOQ. Mit einem Hintergrund im Software Engineering und einer Leidenschaft für benutzerfreundliche Webanwendungen begleitet er heute Unternehmen durch die KI-Landschaft. Dabei unterstützt er sie bei der Entwicklung von Strategien und Produkten für schwierige technische Herausforderungen. Fasziniert von der Vielseitigkeit generativer KI, moderiert er den Podcast „AI und jetzt“. Ihm ist die Brücke zwischen Technologie und Business ein Herzensanliegen. In seiner Freizeit erkundet er die lokale Food Szene.

Contents

Table of Contents

  • 1 Motivation
  • 2 Datenmodelle
    • 2.1 Aggregat-orientiert
    • 2.2 SQL & NewSQL
    • 2.3 Graphen
    • 2.4 Datenstrukturen
    • 2.5 Zeitreihen
    • 2.6 Zusammenfassung
  • 3 Skalierung
    • 3.1 Was wollen wir skalieren?
    • 3.2 Sharding
    • 3.3 Replikation
    • 3.4 Kombination von Sharding und Replikation
    • 3.5 Verfügbarkeit
    • 3.6 Konfliktentdeckung und -behandlung
    • 3.7 Zusammenfassung
  • 4 Betriebsaspekte
    • 4.1 Trends
    • 4.2 Database Reliability Engineering
    • 4.3 Virtuelle Maschine, Managed Service oder Kubernetes?
    • 4.4 Backup, Restore & Recovery
  • 5 Beispiele
    • 5.1 Relationale Datenbank: PostgreSQL
    • 5.2 Datenstruktur Server: Redis
    • 5.3 Zeitreihendatenbank: InfluxDB
    • 5.4 Graphdatenbank: Neo4j
    • 5.5 NewSQL Datenbank: CockroachDB
  • 6 Auswahl einer Datenbank

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub