Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • MySQL 8 Administrator???s Guide
  • Toc
  • feedback
MySQL 8 Administrator???s Guide

MySQL 8 Administrator???s Guide

By : Mehta, Oza, Subhash Shah
2.7 (10)
close
MySQL 8 Administrator???s Guide

MySQL 8 Administrator???s Guide

2.7 (10)
By: Mehta, Oza, Subhash Shah

Overview of this book

MySQL is one of the most popular and widely used relational databases in the world today. The recently released version 8.0 brings along some major advancements in the way your MySQL solution can be administered. This handbook will be your companion to understand the newly introduced features in MySQL and show you how you can leverage them to design a high-performance MySQL solution for your organization. This book starts with a brief introduction to the new features in MySQL 8, and then quickly jumping onto the crucial administration topics that you will find useful in your day-to-day work. Topics such as migrating to MySQL 8, MySQL benchmarking, achieving high performance by implementing the indexing techniques, and optimizing your queries are covered in this book. You will also learn how to perform replication, scale your MySQL solution and implement effective security techniques. There is also a special section on the common and not so common troubleshooting techniques for effective MySQL administration is also covered in this book. By the end of this highly practical book, you will have all the knowledge you need to tackle any problem you might encounter while administering your MySQL solution.
Table of Contents (17 chapters)
close

Storage requirements for data types

This section explains storage requirements for different data types in MySQL. The storage requirements depend on different factors. The storage engines represent data types and store raw data differently.

A table has a maximum row size of 65,535 bytes, even if the storage engine is capable of supporting larger rows. BLOB and TEXT data types are excluded.

The following table explains the storage details for numeric data types:

Data Type
Storage required
TINYINT 1 byte
SMALLINT 2 bytes
MEDIUMINT 3 bytes
INT, INTEGER 4 bytes
BIGINT 8 bytes
FLOAT(p)

4 bytes if 0<=p<=24,

8 bytes if 25<=p<=53

FLOAT 4 bytes
DOUBLE [precision], REAL 8 bytes
DECIMAL(M, D), NUMERIC(M, D) Varies
BIT(M) Approximately (M+7)/8 bytes

The following table...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete