github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/acceptancetests/repository/charms/mysql/config.yaml (about) 1 options: 2 dataset-size: 3 default: '80%' 4 description: How much data do you want to keep in memory in the DB. This will be used to tune settings in the database server appropriately. Any more specific settings will override these defaults though. This currently sets innodb_buffer_pool_size or key_cache_size depending on the setting in preferred-storage-engine. If query-cache-type is set to 'ON' or 'DEMAND' 20% of this is given to query-cache-size. Suffix this value with 'K','M','G', or 'T' to get the relevant kilo/mega/etc. bytes. If suffixed with %, one will get that percentage of RAM devoted to dataset and (if enabled) query cache. 5 type: string 6 preferred-storage-engine: 7 default: InnoDB 8 type: string 9 description: Tune the server for usage of this storage engine. Other possible value is MyISAM. Comma separated will cause settings to split resources evenly among given engines. 10 tuning-level: 11 default: safest 12 type: string 13 description: Valid values are 'safest', 'fast', and 'unsafe'. If set to safest, all settings are tuned to have maximum safety at the cost of performance. Fast will turn off most controls, but may lose data on crashes. unsafe will turn off all protections. 14 flavor: 15 default: distro 16 type: string 17 description: Possible values are 'distro' or 'percona' 18 query-cache-type: 19 default: "OFF" 20 type: string 21 description: Query cache is usually a good idea, but can hurt concurrency. Valid values are "OFF", "ON", or "DEMAND". http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_query_cache_type 22 query-cache-size: 23 default: -1 24 type: int 25 description: Override the computed version from dataset-size. Still works if query-cache-type is "OFF" since sessions can override the cache type setting on their own. 26 max-connections: 27 default: -1 28 type: int 29 description: Maximum connections to allow. -1 means use the server's compiled in default. 30 binlog-format: 31 default: 'MIXED' 32 type: string 33 description: If binlogging is enabled, this is the format that will be used. Ignored when tuning-level == fast. 34 vip: 35 type: string 36 default: '' 37 description: "Virtual IP to use to front mysql in ha configuration" 38 vip_iface: 39 type: string 40 default: eth0 41 description: "Network Interface where to place the Virtual IP" 42 vip_cidr: 43 type: int 44 default: 24 45 description: "Netmask that will be used for the Virtual IP" 46 ha-bindiface: 47 type: string 48 default: eth0 49 description: | 50 Default network interface on which HA cluster will bind to communication 51 with the other members of the HA Cluster. 52 ha-mcastport: 53 type: int 54 default: 5411 55 description: | 56 Default multicast port number that will be used to communicate between 57 HA Cluster nodes. 58 block-size: 59 type: int 60 default: 5 61 description: | 62 Default block storage size to create when setting up MySQL block storage. 63 This value should be specified in GB (e.g. 100 not 100GB). 64 rbd-name: 65 type: string 66 default: mysql1 67 description: | 68 The name that will be used to create the Ceph's RBD image with. If the 69 image name exists in Ceph, it will be re-used and the data will be 70 overwritten.