Schweitzer Fachinformationen
Wenn es um professionelles Wissen geht, ist Schweitzer Fachinformationen wegweisend. Kunden aus Recht und Beratung sowie Unternehmen, öffentliche Verwaltungen und Bibliotheken erhalten komplette Lösungen zum Beschaffen, Verwalten und Nutzen von digitalen und gedruckten Medien.
Bitte beachten Sie
Von Mittwoch, dem 12.11.2025 ab 23:00 Uhr bis Donnerstag, dem 13.11.2025 bis 07:00 Uhr finden Wartungsarbeiten bei unserem externen E-Book Dienstleister statt. Daher bitten wir Sie Ihre E-Book Bestellung außerhalb dieses Zeitraums durchzuführen. Wir bitten um Ihr Verständnis. Bei Problemen und Rückfragen kontaktieren Sie gerne unseren Schweitzer Fachinformationen E-Book Support.
"MariaDB Essentials" Unlock the full potential of your database infrastructure with "MariaDB Essentials," a comprehensive guide that explores MariaDB's architecture, deployment patterns, performance optimization, and advanced data modeling. This book delves beneath the surface to explain the modular, extensible architecture of MariaDB, including its innovative pluggable storage engine model, memory management strategies, and the full lifecycle of SQL query execution. Readers will gain a deep understanding of MariaDB's internal mechanisms-from threading, concurrency, and metadata locking to cutting-edge plugin integrations-empowering database professionals to design resilient, high-performing systems. Designed for practitioners seeking both foundational knowledge and advanced techniques, "MariaDB Essentials" covers every phase of a database's lifecycle. Readers will find practical guidance for installation across bare metal, containers, and managed cloud platforms, along with fine-tuned deployment paradigms-emphasizing best practices for configuration, security, continuous delivery, and regulatory compliance. Advanced chapters tackle topics such as schema design, partitioning, multi-tenancy, indexing, transaction isolation, clustering, high-availability replication, automated backup and disaster recovery, and ongoing health monitoring, all illustrated with real-world trade-offs and optimizations. Concluding with a forward-looking tour of observability, integration, DevOps automation, and tooling, this book provides actionable insights into connecting MariaDB with modern ecosystems-including ETL, data streaming, monitoring platforms, and polyglot persistence patterns. Whether you are a DBA, backend developer, data engineer, or architect, "MariaDB Essentials" is your self-contained, authoritative resource for mastering the intricacies of MariaDB and building robust data platforms for the most demanding applications.
Bringing MariaDB from code to production is more than just running an installer-it's about tailoring a high-stakes engine to thrive in your environment, whether bare-metal, containerized, or in the cloud. In this chapter, you'll move beyond checklists and scripts, uncovering the real-world decisions, hidden pitfalls, and optimization levers that turn database deployments into robust, scalable foundations for complex applications.
The decision to install MariaDB either by compiling from source or by utilizing precompiled official binary packages hinges on multiple operational and technical considerations. Both approaches provide functional database systems but differ significantly in flexibility, control, optimization, and complexity.
Compiling MariaDB from source code entails retrieving the latest or a specific version's full source tree and manually executing the build and installation process. This procedure allows deep customization, including selecting compilation flags, enabling or disabling optional components, and integrating patches or unique configurations not available in standard builds. The primary benefit is ultimate control over how the server and its components are constructed, enabling tailored optimizations aligned with specific workloads, hardware configurations, or security policies.
A typical source build process involves the following steps: downloading the source tarball or cloning the official MariaDB repository, running cmake with desired options to generate build scripts, compiling using a tool such as make, and finally installing binaries to designated system paths. The flexibility here facilitates incorporating advanced instructions for architecture-specific optimizations (e.g., enabling SIMD extensions), experimenting with experimental features, or applying security hardening not yet adopted in binary releases.
wget https://downloads.mariadb.org/f/mariadb-10.5.13/source/mariadb-10.5.13.tar.gz tar -xzf mariadb-10.5.13.tar.gz cd mariadb-10.5.13 cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mariadb -DWITH_SSL=system make -j$(nproc) sudo make install
Despite these advantages, source compilation introduces challenges. The build environment must satisfy all dependencies, development libraries, and build tools, which can create significant initial setup overhead. Furthermore, debugging compilation errors or dependency conflicts demands high technical proficiency. Regularly maintaining and patching a source-compiled MariaDB is also more labor-intensive since upgrades rarely become a one-step process as with package managers. This can delay the integration of important security patches or performance improvements.
By contrast, installing MariaDB from official binary packages streamlines deployment with considerably lower complexity. These packages are precompiled and rigorously tested by the MariaDB developers for common Linux distributions and other platforms. Installation is typically achieved via native package managers (e.g., yum, apt, dnf) or pre-built binaries provided for Windows and macOS.
This installation model offers faster setup times, automatic resolution of dependencies, and seamless upgrades managed through the package manager. Security patches, bug fixes, and minor version updates are straightforward to apply, reducing operational risks. Binary packages also bundle stable default configurations and adhere to system conventions for file locations and permissions, mitigating misconfiguration risks.
However, the convenience of binary packages comes with trade-offs in customization. The precompiled nature limits users to framework-defined options and default optimizations. For example, binaries built for distribution-wide compatibility might not exploit cutting-edge processor features or may omit components unnecessary for the general user base. Users with highly specialized workloads, stringent performance goals, or security requirements might find these binaries insufficient or suboptimal.
Another notable consideration is version availability. Official repositories often lag the latest MariaDB development releases, primarily providing long-term stable versions. While this enhances reliability, it may not meet needs for experimental features or immediate access to recently introduced functionality. Users requiring newer versions typically need to add specific MariaDB repositories or resort to source builds.
Operationally, source installations grant full control over directory layout, ownership, and user permissions, enabling strict adherence to custom security policies. Binary packages tend to follow standard layouts, which might be ideal for most environments but less flexible in specialized contexts, such as shared hosting or embedded systems.
In performance-sensitive environments, the ability to compile MariaDB with architecture-specific optimizations can yield measurable improvements in query throughput and latency. Although binary packages target average compatibility, they cannot guarantee exploitation of all hardware accelerations present on the deployment platform. Moreover, custom builds allow integration of third-party patches or experimental storage engines not included by default in binary releases.
The practical implications can be summarized as follows:
The choice between the two depends on operational priorities. Enterprises prioritizing stability, quick deployment, and ease of maintenance often prefer official binary packages, leveraging distribution package managers to handle updates and dependencies reliably. Conversely, organizations with unique performance requirements, security constraints, or those pursuing cutting-edge innovation typically favor building from source to exercise complete control over their database environment.
Grasping these trade-offs ensures appropriate alignment between MariaDB installation method and organizational objectives, balancing ease of use against flexibility and tailored performance optimization.
The evolution of application deployment paradigms has moved decisively toward containerization and orchestration frameworks, redefining how database services like MariaDB are provisioned, scaled, and maintained. Containers encapsulate MariaDB along with its runtime dependencies into lightweight, portable images, ensuring environmental consistency across development, testing, and production. Orchestrated environments, exemplified by Kubernetes, add layers of automation and intelligent management, addressing stateful service complexities and fostering resilient, scalable database deployments.
A MariaDB container image typically bundles the MariaDB server binary, necessary configuration files, and a minimal Linux-based operating system layer. Official MariaDB Docker images are maintained with rigor, enabling users to leverage various tags representing versions and configurations. Best practice dictates pinning to specific image tags to avoid unintentional upgrades and ensuring security patches are applied promptly. The process of container image creation emphasizes reproducibility and immutability, essential attributes that facilitate rollback and continuous integration workflows.
Persistent storage is critical for database containers due to the stateful nature of data requiring durability beyond container lifecycle events. Docker volumes or Kubernetes persistent volume claims (PVCs) are used to decouple storage from ephemeral container storage. In Kubernetes, PersistentVolumes (PVs) sourced from network-attached storage, cloud storage providers, or local disk variants abstract physical storage, offering consistent and expandable data capacity. It is paramount to configure storage classes optimized for database workloads, prioritizing IOPS capabilities and consistency guarantees. Mounting persistent storage as volumes inside the container ensures data survivability despite pod rescheduling or failure.
Service discovery mechanisms integrated into container orchestration frameworks enable dynamic location and connectivity of MariaDB instances within a complex microservices ecosystem. Kubernetes employs DNS-based service discovery through the...
Dateiformat: ePUBKopierschutz: Adobe-DRM (Digital Rights Management)
Systemvoraussetzungen:
Das Dateiformat ePUB ist sehr gut für Romane und Sachbücher geeignet – also für „fließenden” Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an. Mit Adobe-DRM wird hier ein „harter” Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.Bitte beachten Sie: Wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!
Weitere Informationen finden Sie in unserer E-Book Hilfe.
Dateiformat: ePUBKopierschutz: ohne DRM (Digital Rights Management)
Das Dateiformat ePUB ist sehr gut für Romane und Sachbücher geeignet – also für „glatten” Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an. Ein Kopierschutz bzw. Digital Rights Management wird bei diesem E-Book nicht eingesetzt.