Book Image

MariaDb Essentials

By : Kenler
Book Image

MariaDb Essentials

By: Kenler

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 (10 chapters)
9
Index

Creating and importing CSV files

CSV is the most common file format used for data interchange. CSV files are readable by a human being, so they can be examined or modified with a simple text editor, like vim or gedit on Linux, or Notepad++ on Windows. The format rules are very simple, so it is also very easy to write a script that reads, writes, or modifies the CSV data. Among the human-readable data formats, CSV is the least verbose, which makes it suitable for non-trivial amounts of data.

There are other, human-readable formats such as JSON or XML, as well. They are much more flexible than CSV: they can be used to store any type of data, including trees, graphs, and non-structured information. Because of this characteristic, they require more space, and parsing them requires more complex programs. CSV has been designed for tabular data, which makes it optimal when we need to interchange or back-up relational databases.

CSV stands for Comma Separated Values. A CSV file always consists of...