# Generated by Percona Configuration Wizard (http://tools.percona.com/) version REL5-20120208 # Ejemplo para una instancia tipo SMALL de Amazon AWS EC2 de 1,7GB de RAM [mysql] # CLIENT # port = 3306 socket = /data/mysql/mysql.sock [mysqld] # GENERAL # user = mysql default-storage-engine = InnoDB socket = /data/mysql/mysql.sock pid-file = /data/mysql/mysql.pid # MyISAM # key-buffer-size = 32M myisam-recover = FORCE,BACKUP # SAFETY # max-allowed-packet = 16M max-connect-errors = 1000000 # DATA STORAGE # datadir = /data/mysql/ # BINARY LOGGING # log-bin = /data/mysql/mysql-bin expire-logs-days = 14 sync-binlog = 1 binlog_format = ROW # CACHES AND LIMITS # tmp-table-size = 32M max-heap-table-size = 32M query-cache-type = 0 query-cache-size = 0 max-connections = 500 thread-cache-size = 50 open-files-limit = 65535 table-definition-cache = 4096 table-open-cache = 4096 # INNODB # innodb-flush-method = O_DIRECT innodb-log-files-in-group = 2 innodb-log-file-size = 128M innodb-flush-log-at-trx-commit = 1 innodb-file-per-table = 1 innodb-buffer-pool-size = 1G innodb_locks_unsafe_for_binlog = 1 innodb_autoinc_lock_mode = 2 # LOGGING # log-error = /data/mysql/mysql-error.log log-queries-not-using-indexes = 1 slow-query-log = 1 slow-query-log-file = /data/mysql/mysql-slow.log # REPLICATION # wsrep_cluster_address = gcomm://10.251.1.54,10.253.1.33 wsrep_provider = /usr/lib64/libgalera_smm.so wsrep_cluster_name = perconatest wsrep_sst_method = xtrabackup wsrep_node_name = percona1 wsrep_node_address = 10.251.1.54 wsrep_sst_auth = "sstuser:s3cr3t"