![](https://csdnimg.cn/release/download_crawler_static/12078357/bg12.jpg)
MySQL 5.7 Reference Manual
xviii
19.1 Preproduction Status — Legal Notice ....................................................................... 2866
19.2 Key Concepts .......................................................................................................... 2866
19.3 Setting Up MySQL as a Document Store .................................................................. 2867
19.3.1 Installing MySQL Shell .................................................................................. 2869
19.3.2 Starting MySQL Shell .................................................................................... 2873
19.4 Quick-Start Guide: MySQL Shell for JavaScript ......................................................... 2873
19.4.1 Introduction ................................................................................................... 2874
19.4.2 Import Database Sample ............................................................................... 2875
19.4.3 MySQL Shell ................................................................................................ 2875
19.4.4 Documents and Collections ........................................................................... 2877
19.4.5 Relational Tables .......................................................................................... 2887
19.4.6 Documents in Tables .................................................................................... 2892
19.5 Quick-Start Guide: MySQL Shell for Python .............................................................. 2893
19.5.1 Introduction ................................................................................................... 2894
19.5.2 Import Database Sample ............................................................................... 2895
19.5.3 MySQL Shell ................................................................................................ 2895
19.5.4 Documents and Collections ........................................................................... 2897
19.5.5 Relational Tables .......................................................................................... 2907
19.5.6 Documents in Tables .................................................................................... 2912
19.6 Quick-Start Guide: MySQL for Visual Studio ............................................................. 2913
19.7 X Plugin .................................................................................................................. 2915
19.7.1 Using Secure Connections with X Plugin ....................................................... 2915
19.7.2 X Plugin Options and Variables ..................................................................... 2915
19.7.3 Monitoring X Plugin ...................................................................................... 2926
20 InnoDB Cluster ................................................................................................................... 2931
20.1 Introducing InnoDB Cluster ...................................................................................... 2931
20.2 Creating an InnoDB Cluster ..................................................................................... 2933
20.2.1 Deployment Scenarios .................................................................................. 2933
20.2.2 InnoDB Cluster Requirements ....................................................................... 2933
20.2.3 Methods of Installing ..................................................................................... 2934
20.2.4 Sandbox Deployment of InnoDB Cluster ........................................................ 2934
20.2.5 Production Deployment of InnoDB Cluster ..................................................... 2937
20.2.6 Adopting a Group Replication Deployment ..................................................... 2945
20.3 Using MySQL Router with InnoDB Cluster ................................................................ 2946
20.4 Working with InnoDB Cluster ................................................................................... 2949
20.5 Known Limitations ................................................................................................... 2958
21 MySQL NDB Cluster 7.5 and NDB Cluster 7.6 .................................................................... 2961
21.1 NDB Cluster Overview ............................................................................................. 2965
21.1.1 NDB Cluster Core Concepts .......................................................................... 2966
21.1.2 NDB Cluster Nodes, Node Groups, Replicas, and Partitions ............................ 2969
21.1.3 NDB Cluster Hardware, Software, and Networking Requirements .................... 2971
21.1.4 What is New in NDB Cluster ......................................................................... 2973
21.1.5 MySQL Server Using InnoDB Compared with NDB Cluster ............................. 2985
21.1.6 Known Limitations of NDB Cluster ................................................................. 2988
21.2 NDB Cluster Installation ........................................................................................... 2998
21.2.1 The NDB Cluster Auto-Installer ...................................................................... 3001
21.2.2 Installation of NDB Cluster on Linux .............................................................. 3012
21.2.3 Installing NDB Cluster on Windows ............................................................... 3021
21.2.4 Initial Configuration of NDB Cluster ............................................................... 3030
21.2.5 Initial Startup of NDB Cluster ........................................................................ 3032
21.2.6 NDB Cluster Example with Tables and Data .................................................. 3033
21.2.7 Safe Shutdown and Restart of NDB Cluster ................................................... 3036
21.2.8 Upgrading and Downgrading NDB Cluster ..................................................... 3037
21.3 Configuration of NDB Cluster ................................................................................... 3039
21.3.1 Quick Test Setup of NDB Cluster .................................................................. 3040
21.3.2 Overview of NDB Cluster Configuration Parameters, Options, and Variables ..... 3042
21.3.3 NDB Cluster Configuration Files .................................................................... 3058
21.3.4 Using High-Speed Interconnects with NDB Cluster ......................................... 3230