Book Image

MariaDb Essentials

Book Image

MariaDb Essentials

Overview of this book

This book will take you through all the nitty-gritty parts of MariaDB, right from the creation of your database all the way to using MariaDB’s advanced features. At the very beginning, we show you the basics, that is, how to install MariaDB. Then, we walk you through the databases and tables of MariaDB, and introduce SQL in MariaDB. You will learn about all the features that have been added in MariaDB but are absent in MySQL. Moving on, you’ll learn to import and export data, views, virtual columns, and dynamic columns in MariaDB. Then, you’ll get to grips with full-text searches and queries in MariaDb. You’ll also be familiarized with the CONNECT storage engine. At the end of the book, you’ll be introduced to the community of MariaDB.
Table of Contents (15 chapters)
MariaDB Essentials
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we started by examining the possible techniques used to represent heterogeneous data in a relational database. All the approaches we discussed have some pros and some cons, so the best choice depends on our needs.

Then, we discussed dynamic columns. They solve the problem in an easy way, by treating a table column as a dynamic object. In fact, different rows can have different dynamic columns. Attributes can even be added or dropped at any time. We examined the functions used to do this. We also demonstrated that dynamic columns can be nested.

In the last section, we built a PERSISTENT virtual column on a dynamic column, and then indexed the PERSISTENT column. This is a very important technique, because it is the only way to index a dynamic column.

In the next chapter, you will learn how to make full-text search queries with MariaDB.