Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
A Definitive Guide to Apache ShardingSphere

You're reading from   A Definitive Guide to Apache ShardingSphere Transform any DBMS into a distributed database with sharding, scaling, encryption features, and more

Arrow left icon
Product type Paperback
Published in Jul 2022
Publisher Packt
ISBN-13 9781803239422
Length 466 pages
Edition 1st Edition
Concepts
Arrow right icon
Authors (3):
Arrow left icon
Trista Pan Trista Pan
Author Profile Icon Trista Pan
Trista Pan
Zhang Liang Zhang Liang
Author Profile Icon Zhang Liang
Zhang Liang
Yacine Si Tayeb Yacine Si Tayeb
Author Profile Icon Yacine Si Tayeb
Yacine Si Tayeb
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Section 1: Introducing Apache ShardingSphere
2. Chapter 1: The Evolution of DBMSs, DBAs, and the Role of Apache ShardingSphere FREE CHAPTER 3. Chapter 2: Architectural Overview of Apache ShardingSphere 4. Section 2: Apache ShardingSphere Architecture, Installation, and Configuration
5. Chapter 3: Key Features and Use Cases – Your Distributed Database Essentials 6. Chapter 4: Key Features and Use Cases – Focusing on Performance and Security 7. Chapter 5: Exploring ShardingSphere Adaptors 8. Chapter 6: ShardingSphere-Proxy Installation and Startup 9. Chapter 7: ShardingSphere-JDBC Installation and Start-Up 10. Section 3: Apache ShardingSphere Real-World Examples, Performance, and Scenario Tests
11. Chapter 8: Apache ShardingSphere Advanced Usage – Database Plus and Plugin Platform 12. Chapter 9: Baseline and Performance Test System Introduction 13. Chapter 10: Testing Frequently Encountered Application Scenarios 14. Chapter 11: Exploring the Best Use Cases for ShardingSphere 15. Chapter 12: Applying Theory to Practical Real-World Examples 16. Other Books You May Enjoy Appendix: and the Evolution of the Apache ShardingSphere Open Source Community

Configuration – mode

The mode operation is very easy for developers and testers to use, and it also contains the production environment's deployment cluster operation mode.

ShardingSphere provides three operation modes, namely memory mode, local mode, and cluster mode. ShardingSphere mode doesn't support modifications and changes by DistSQL. Therefore, here, we will only present the YAML configuration method.

In the following sections, you will find that we have broken down the ShardingSphere mode configuration items into mode, repository, and props sections:

  • mode: With the operation mode configuration, you can configure memory, a single machine, and cluster mode. When using standalone mode or cluster mode, you can choose whether to override the remote configuration with the local configuration:
    • type: The operation mode: memory, standalone, and cluster
    • repository: The operation mode configuration
    • overwrite: Whether to overwrite remote configuration: true...
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 $19.99/month. Cancel anytime
Banner background image