MariaDB Cookbook
eBook - ePub

MariaDB Cookbook

Daniel Bartholomew

Condividi libro
  1. 282 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

MariaDB Cookbook

Daniel Bartholomew

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

In Detail

MariaDB is a new database that has become very popular. It is easy to install and use, even on personal systems. It is evolving and expanding to meet the database needs of today, tomorrow, and into the future. MariaDB is a drop in replacement for MySQL it also has a lot of new features and performance enhancements that differentiate it from MySQL. It is also powerful enough to be the database of choice for some of the biggest and most popular websites in the world.

This practical guide unlocks the advanced features of MariaDB's capabilities, including new storage engines, performance enhancing optimizations, and other advanced abilities. If you're looking to backend your enterprise, cloud, or embedded or mobile apps with a fast, free, open source, and familiar SQL database, MariaDB is perfect for you.

We begin with installing MariaDB and configuring it to unlock powerful optimizations that can speed up certain queries exponentially. We will then move on to using the extra storage engines included with MariaDB, such as TokuDB and the CONNECT engine. With those mastered, it's then time to branch out from single to multi-server installations, so we will dive into MariaDB's clustering and replication features, learning how to efficiently search and index our data, work with NoSQL-style data, and connect MariaDB with a Cassandra cluster. It's a dangerous world out there, so last of all, we wrap things up with recipes on securing MariaDB.

This is your ideal guide for getting the most out of MariaDB.

Approach

A practical cookbook, filled with advanced recipes , and plenty of code and commands used for illustration,which will make your learning curve easy and quick.

Who this book is for

This book is for anyone who wants to learn more about databases in general or MariaDB in particular. Some familiarity with SQL databases is assumed, but the recipes are approachable to almost anyone with basic database skills.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
MariaDB Cookbook è disponibile online in formato PDF/ePub?
Sì, puoi accedere a MariaDB Cookbook di Daniel Bartholomew in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Computer Science e Desktop Applications. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2014
ISBN
9781783284399
Edizione
1

MariaDB Cookbook


Table of Contents

MariaDB Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with MariaDB
Introduction
Installing MariaDB on Windows
How to do it...
How it works...
There's more...
HeidiSQL
The Feedback plugin
See also
Installing MariaDB on Linux
Getting ready
How to do it...
How it works...
See also
Installing MariaDB on Mac OS X
Getting ready
How to do it…
How it works...
Enabling the Feedback plugin
Getting ready
How to do it...
How it works...
There's more...
See also
Switching between InnoDB and XtraDB
How to do it...
How it works...
See also
Creating a backup user
How to do it…
How it works...
Making backups with XtraBackup
Getting ready
How to do it...
How it works...
There's more...
Restoring from a backup
XtraBackup and NFS
Making backups with mysqldump
Getting ready
How to do it…
How it works...
There's more...
--add-drop-database
--add-drop-table
--add-locks
Checking and optimizing tables automatically with mysqlcheck and cron
How to do it…
How it works...
There's more…
Security
Using progress reporting in the mysql client
How to do it…
How it works...
There's more…
Disabling progress reporting
Progress reporting in mytop
2. Diving Deep into MariaDB
Introduction
Importing the data exported by mysqldump
How to do it...
How it works...
There's more...
See also
Using SHOW EXPLAIN with running queries
Getting ready
How to do it...
How it works...
There's more...
See also
Using LIMIT ROWS EXAMINED
Getting ready
How to do it...
How it works...
There's more...
Using LIMIT with LIMIT ROWS EXAMINED
Warning of incomplete results
Using INSTALL SONAME
How to do it...
How it works...
There's more...
Plugin names versus filenames
INSTALL SONAME versus INSTALL PLUGIN
See also
Producing HTML output
Getting ready
How to do it...
How it works...
There's more...
See also
Producing XML output
Getting ready
How to do it...
How it works...
See also
Migrating a table from MyISAM to Aria
Getting ready
How to do it...
How it works...
See also
Migrating a table from MyISAM or Aria to InnoDB or XtraDB
Getting ready
How to do it...
How it works...
There's more...
See also
3. Optimizing and Tuning MariaDB
Introduction
Using SHOW STATUS to check if a feature is being used
How to do it...
How it works...
There's more...
See also
Controlling MariaDB optimizer strategies
How to do it...
How it works...
There's more...
See also
Using extended keys with InnoDB and XtraDB
How to do it...
How it works...
There's more...
See also
Configuring the Aria two-step deadlock detection
How to do it...
How it works...
There's more...
See also
Configuring the MyISAM segmented key cache
How to do it...
How it works...
There's more...
Setting the number of segments to 1
Determining the optimal number of segments
Other key cache variables
See also
Configuring threadpool
How to do it...
How it works...
There's more...
The thread_pool_stall_limit, thread_pool_max_threads, and extra_port variables
The thread_pool_idle_timeout variable
Pool-of-threads differences on Windows and Linux
See also
Configuring the Aria pagecache
How to do it...
How it works...
There's more...
See also
Optimizing queries with the subquery cache
Getting ready
How to do it...
How it works...
There's more...
See also
Optimizing semijoin subqueries
How to do it...
How it works...
There's more...
See also
Creating an index
Getting ready
How to do it...
How it works...
There's more...
See also
Creating a full-text index
Getting ready
How to do it...
How it works...
There's more...
See also
Removing an index
Getting ready
How to do it...
How it works...
There's more...
See also
Using ...

Indice dei contenuti