Please note that we experienced a crash again this morning, while all optimise queries were removed from our batches ... so I fear it might be misleading.
I will try to reproduce the crash in a VM.
In the meantime, please find our mysqld configuration file below:
==================================================================
PhpMyAdmin dump of the *supposed to be* problematic table
==================================================================
-- phpMyAdmin SQL Dump
-- version 4.7.5
-- https://www.phpmyadmin.net/
--
-- Host: sql-master:3306
-- Generation Time: Dec 08, 2017 at 08:23 AM
-- Server version: 5.7.19-0ubuntu0.16.04.1-log
-- PHP Version: 7.1.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
CREATE TABLE `Members` (
`id` varchar(9) NOT NULL,
`memberType` enum('TYPE_1','TYPE_2','TYPE_3','TYPE_4','TYPE_5','TYPE_6','TYPE_7') NOT NULL,
`name` varchar(30) NOT NULL,
`street` varchar(46) NOT NULL,
`postalCode` varchar(7) NOT NULL,
`location` varchar(25) NOT NULL,
`phone` varchar(10) NOT NULL,
`fax` varchar(10) NOT NULL,
`countryCode` varchar(10) NOT NULL,
`language` enum('BEL-fr','BEL-nl') NOT NULL,
`enabled` char(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Hi Lars,
Thanks for your reply.
Please note that we experienced a crash again this morning, while all optimise queries were removed from our batches ... so I fear it might be misleading.
I will try to reproduce the crash in a VM.
In the meantime, please find our mysqld configuration file below:
======= ======= ======= ======= ======= ======= ======= ======= ======= === ======= ======= ======= ======= ======= ======= ======= ======= ===
Master configuration
=======
# MySQL 5.7 configuration (2016.07.13 - made by efj)
# For explanations see http:// dev.mysql. com/doc/ mysql/en/ server- system- variables. html debian. cnf when changing the socket location.
# Remember to edit /etc/mysql/
[mysqld_safe] mysqld/ mysqld. sock
socket = /var/run/
nice = 0
[mysqld] mysqld/ mysqld. pid mysqld/ mysqld. sock locking
# Basic Settings - do not touch
user = mysql
pid-file = /var/run/
socket = /var/run/
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-
skip-name-resolve
# Limiting maximum amount of connexions connections = 50
max_connections = 250
max_user_
# Security
sql_mode = ''
# Default options for new db/tables storage- engine= InnoDB set-server= utf8 server= utf8_general_ ci
default-
character-
collation-
# Fine tuning for full text searches - At least 3 characters
ft_min_word_len=2
# Accept incoming connections from all clients
bind-address = 0.0.0.0
# Fine Tuning
key_buffer_size = 16M
max_allowed_packet = 48M
thread_stack = 192K
thread_cache_size = 8
# This replaces the startup script and checks MyISAM tables if needed, the first time they are touched recover- options = BACKUP
myisam-
# Query Cache Configuration
query_cache_limit = 1M
query_cache_size = 128M
# Error log - should be very few entries. mysql/error. log
log_error = /var/log/
# Slow queries mysql/mysql- slow.log
slow_query_log = 1
slow_query_log_file = /var/log/
# Logging and Replication mysql/mysql- bin.log info_repository =TABLE info_repository =TABLE relay-bin. log
server-id = 7
log_bin = /var/log/
expire_logs_days = 5
max_binlog_size = 100M
log-slave-updates
master_
relay_log_
relay_log=
# InnoDB server specific configuration buffer_ pool_size = 150G log_file_ size = 256M log_buffer_ size=4M flush_log_ at_trx_ commit = 2 thread_ concurrency = 8 file_per_ table
innodb_
innodb_
innodb_
innodb_
innodb_flush_method = O_DIRECT
innodb_
innodb_
======= ======= ======= ======= ======= ======= ======= ======= ======= === ======= ======= ======= ======= ======= ======= ======= ======= ===
Slave configuration
=======
# MySQL 5.7 configuration (2016.07.13 - made by efj)
# For explanations see http:// dev.mysql. com/doc/ mysql/en/ server- system- variables. html debian. cnf when changing the socket location.
# Remember to edit /etc/mysql/
[mysqld_safe] mysqld/ mysqld. sock
socket = /var/run/
nice = 0
[mysqld] mysqld/ mysqld. pid mysqld/ mysqld. sock locking
# Basic Settings - do not touch
user = mysql
pid-file = /var/run/
socket = /var/run/
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-
skip-name-resolve
# Limiting maximum amount of connexions connections = 50
max_connections = 250
max_user_
# Default options for new db/tables storage- engine= InnoDB set-server= utf8 server= utf8_general_ ci
default-
character-
collation-
# Security
sql_mode = ''
# Fine tuning for full text searches - At least 3 characters
ft_min_word_len=2
# Accept incoming connections from all clients
bind-address = 0.0.0.0
# Fine Tuning
key_buffer_size = 16M
max_allowed_packet = 48M
thread_stack = 192K
thread_cache_size = 8
# This replaces the startup script and checks MyISAM tables if needed, the first time they are touched recover- options = BACKUP
myisam-
# Query Cache Configuration
query_cache_limit = 1M
query_cache_size = 128M
# Error log - should be very few entries. mysql/error. log
log_error = /var/log/
# Slow queries mysql/mysql- slow.log
slow_query_log = 1
slow_query_log_file = /var/log/
# Logging and Replication mysql/mysql- bin.log info_repository =TABLE info_repository =TABLE relay-bin. log
server-id = 8
log_bin = /var/log/
expire_logs_days = 3
max_binlog_size = 100M
log-slave-updates
master_
relay_log_
relay_log=
# InnoDB server specific buffer_ pool_size = 150G log_file_ size = 256M log_buffer_ size=4M flush_log_ at_trx_ commit = 2 thread_ concurrency = 8 file_per_ table
innodb_
innodb_
innodb_
innodb_
innodb_flush_method = O_DIRECT
innodb_
innodb_
======= ======= ======= ======= ======= ======= ======= ======= ======= === ======= ======= ======= ======= ======= ======= ======= ======= ===
PhpMyAdmin dump of the *supposed to be* problematic table
=======
-- phpMyAdmin SQL Dump /www.phpmyadmin .net/ 0ubuntu0. 16.04.1- log
-- version 4.7.5
-- https:/
--
-- Host: sql-master:3306
-- Generation Time: Dec 08, 2017 at 08:23 AM
-- Server version: 5.7.19-
-- PHP Version: 7.1.9
SET SQL_MODE = "NO_AUTO_ VALUE_ON_ ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
--
-- Database: `members`
--
-- ------- ------- ------- ------- ------- ------- ------- -------
--
-- Table structure for table `Members`
--
CREATE TABLE `Members` ( 1','TYPE_ 2','TYPE_ 3','TYPE_ 4','TYPE_ 5','TYPE_ 6','TYPE_ 7') NOT NULL, fr','BEL- nl') NOT NULL,
`id` varchar(9) NOT NULL,
`memberType` enum('TYPE_
`name` varchar(30) NOT NULL,
`street` varchar(46) NOT NULL,
`postalCode` varchar(7) NOT NULL,
`location` varchar(25) NOT NULL,
`phone` varchar(10) NOT NULL,
`fax` varchar(10) NOT NULL,
`countryCode` varchar(10) NOT NULL,
`language` enum('BEL-
`enabled` char(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Indexes for dumped tables
--
-- ,`postalCode` ,`enabled` ), ,`memberType` ); name`,` street` ,`postalCode` ,`location` );
-- Indexes for table `Members`
--
ALTER TABLE `Members`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `ebis` (`id`,`name`),
ADD KEY `memberType` (`memberType`
ADD KEY `enabled` (`enabled`
ALTER TABLE `Members` ADD FULLTEXT KEY `id` (`id`,`
ALTER TABLE `Members` ADD FULLTEXT KEY `id_2` (`id`,`name`);
COMMIT;
======= ======= ======= ======= ======= ======= ======= ======= ======= ===
Thanks in advance for your help.
Eric