: Charles Bell
: Introducing the MySQL 8 Document Store
: Apress
: 9781484227251
: 1
: CHF 50.40
:
: Informatik
: English
: 545
: Wasserzeichen/DRM
: PC/MAC/eReader/Tablet
: PDF
Learn the new Document Store feature of MySQL 8 and build applications around a mix of the best features from SQL and NoSQL database paradigms. Don't allow yourself to be forced into one paradigm or the other, but combine both approaches by using the Document Store. 

MySQL 8 was designed from the beginning to bridge the gap between NoSQL and SQL. Oracle recognizes that many solutions need the capabilities of both. More specifically, developers need to store objects as loose collections of schema-less documents, but those same developers also need the ability to run structured queries on their data. With MySQL 8, you can do both!
?
< >Introducing the MySQL 8 Document Store presents new tools and features that make creating a hybrid database solution far easier than ever before. This book covers the vitally important MySQL Document Store, the new X Protocol for developing applications, and a new client shell called the MySQL Shell. Also covered are supporting technologies and concepts such as JSON, schema-less documents, and more. The book gives insight into how features work and how to apply them to get the most out of your MySQL experience. The book covers topics such as:
  • The headline feature in MySQL 8
  • MySQL's answer to NoSQL
  • New APIs and client protocols
Wh t You'll Learn
  • Create NoSQL-style applications by using the Document Store
  • Mix the NoSQL and SQL approaches by using each to its best advantage in a hybrid solution
  • Work with the new X Protocol for application connectivity in MySQL 8
  • Master the new X Developer Application Programming Interfaces
  • Combin SQL and JSON in the same database and application
  • Migra e existing applications to MySQL Document Store
Who This Book Is For
< r>
Developers and database professionals wanting to learn about the most profound paradigm-changing features of the MySQL 8 Document Store


Charles Bell conducts research in emerging technologies. He is a member of the Oracle MySQL Development team, and is a senior software developer for the MySQL Enterprise Backup team. He lives in a small town in rural Virginia with his loving wife. He received his Doctor of Philosophy in Engineering from Virginia Commonwealth University in 2005. 

Charles is an expert in the database field and has extensive knowledge and experience in software development and systems engineering. His research interests include 3D printers, microcontrollers, three-dimensional printing, database systems, software engineering, and sensor networks. He spends his limited free time as a practicing Maker, focusing on microcontroller projects and refinement of three-dimensional printers. 


 

Table of Contents5
About the Author12
About the Technical Reviewer13
Acknowledgments14
Introduction15
Chapter 1: Introducing MySQL 8 A New Beginning20
Old Features New Again22
JSON Data Type23
MySQL Shell27
X Plugin, X Protocol, and X DevAPI31
InnoDB Improvements33
New Features35
Data Dictionary36
Account Management37
Removed Options, Variables, and Features38
Paradigm Shifting Features39
Group Replication40
InnoDB Cluster44
Summary53
Chapter 2: Getting Started with MySQL55
Getting to Know MySQL55
How Do I Connect to MySQL?57
How to Get and Install MySQL60
Configuring and Managing Access to MySQL66
Configuration Files66
Creating Users and Granting Access69
Configuring the Document Store70
A MySQL Primer72
Creating Databases and Tables72
Searching for Data75
Creating Data79
Updating Data80
Deleting Data81
Using Indexes82
Views83
Triggers83
Simple Joins84
Stored Routines87
Summary88
Chapter 3: JSON Documents90
Concepts and Technologies: Jargon Explained91
Origins: Key, Value Mechanisms91
JSON93
Application Programming Interface93
NoSQL Interface94
Document Store95
Introducing JSON Documents96
JSON Format Rules96
Using JSON in MySQL98
Path Expressions103
JSON Functions111
Creating JSON Data113
Modifying JSON Data119
Searching JSON Data122
Utility Functions132
Combining SQL and JSON - Indexing JSON Data142
Summary150
Chapter 4: The MySQL Shell151
Getting Started152
Features153
Shell Commands155
Options157
Sessions and Modes160
Session Objects160
Modes Supported162
Connections162
Using a URI163
Using Individual Options164
Using Connections in Scripts165
Using SSL Connections166
Set Up and Install166
Install the MySQL Shell167
Setup the X Plugin171
Enable the X Plugin Using the MySQL Shell172
Enable the X Plugin Using the MySQL Client172
Tutorial: MySQL Shell by Example174
Installing the Sample Database175
SQL178
JavaScript185
Python188
Summary190
Chapter 5: X Developer API191
Overview192
Clients193
Target Language