HOMEMySQL — MySQL Cluster Overview

MySQL Cluster Overview

This is a chaotic collection of my MySQL Cluster experience...

Table of Contents

* config.ini template * MySQL Cluster restore * Monitoring (cmon)
* my.cnf template * Skript for converting tables to NDB * Configuration Tool
* Skript from Bernd * MySQL Cluster memory sizing * General Rules and/or experience

config.ini template

A generic config.ini to start with. It is pretty much what MySQL Cluster experts recommend right now...

my.cnf template

A generic my.cnf to start with MySQL Cluster.

Genral rules and/or experience

MySQL Cluster v5.0

MySQL Cluster v5.1

binlog_cache_size    = TimeBetweenGlobalCheckpoints/1000 (default 2000)
(default 32 kbyte)     * total traffic (Mbyte/s) (for example 5 Mbyte/s)
                     = 2000 ms / 1000 ms/s * 5 Mbyte/s
                     ≌ 10 Mybte
# cat /proc/sys/vm/lower_zone_protection
# cat /proc/meminfo
# sysctl vm | egrep 'page-cluster|lower-zone-protection'

Literature


HOME