Add table of contents to router documentation

The TOC was added only to the long documentation files to make them easier
to navigate. Also modified the headings for Avro and Binlog routers and did
some minor cleanup.
This commit is contained in:
Esa Korhonen
2018-11-23 16:15:44 +02:00
parent e287e29ad0
commit ff22624d3c
4 changed files with 225 additions and 92 deletions

View File

@ -1,16 +1,34 @@
# SchemaRouter Router
# SchemaRouter
The SchemaRouter router provides an easy and manageable sharding SOLUTION by
The SchemaRouter provides an easy and manageable sharding solution by
building a single logical database server from multiple separate ones. Each
database is shown to the client and queries targeting unique databases are
routed to their respective servers. In addition to providing simple
database-based sharding, the schemarouter router also enables cross-node
database-based sharding, the schemarouter also enables cross-node
session variable usage by routing all queries that modify the session to all
nodes.
From 2.3.0 onwards, the SchemaRouter is capable of table family sharding,
in addition to being capable of sharding databases.
Table of Contents
=================
* [Routing Logic](#routing-logic)
* [Configuration](#configuration)
* [Router Parameters](#router-parameters)
* [ignore_databases](#ignore_databases)
* [ignore_databases_regex](#ignore_databases_regex)
* [preferred_server](#preferred_server)
* [Table Family Sharding](#table-family-sharding)
* [Router Options](#router-options)
* [max_sescmd_history](#max_sescmd_history)
* [disable_sescmd_history](#disable_sescmd_history)
* [refresh_databases](#refresh_databases)
* [refresh_interval](#refresh_interval)
* [Limitations](#limitations)
* [Examples](#examples)
## Routing Logic
If a command line client is used, i.e. `mysql`, and a direct connection to
@ -34,7 +52,7 @@ configuration in the next chapter.
## Configuration
Here is an example configuration of the schemarouter router:
Here is an example configuration of the schemarouter:
```
[Shard Router]