Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mastering MariaDB

You're reading from   Mastering MariaDB Debug, secure, and back up your data for optimum server performance with MariaDB

Arrow left icon
Product type Paperback
Published in Sep 2014
Publisher
ISBN-13 9781783981540
Length 384 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
 Razzoli Razzoli
Author Profile Icon Razzoli
Razzoli
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Mastering MariaDB
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Understanding the Essentials of MariaDB FREE CHAPTER 2. Debugging 3. Optimizing Queries 4. Transactions and Locks 5. Users and Connections 6. Caches 7. InnoDB Compressed Tables 8. Backup and Disaster Recovery 9. Replication 10. Table Partitioning 11. Data Sharding 12. MariaDB Galera Cluster Index

Support for partitioning


All versions of MariaDB support version partitioning. However, there are two cases where partitioning is not available for a MariaDB installation:

  • If MariaDB has been compiled without support to partitioning—while all official distributions have this support, partitioning is not compiled by default. If we compile the server from sources, we should specify the -DWITH_PARTITION_STORAGE_ENGINE compile option.

  • If MariaDB has been started with the partitioning disabled—the option to do this is --skip-partition. In this case, we will simply need to restart MariaDB without this option. Disabling partitioning is generally not considered a useful optimization.

Checking whether the MariaDB installation supports partitioning is simple. Since partitioning is implemented as a plugin, we will just need to query the PLUGINS table in the information_schema database:

MariaDB [(none)]> SELECT * FROM information_schema.PLUGINS WHERE PLUGIN_NAME = 'partition'\G
********************...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images