什么可能导致MySQL服务器"停止"?

时间:2015-05-12 02:09:09

标签: mysql amazon-ec2 memory-table

According to MySQL's help page on MEMORY engines...

  

当MySQL服务器停止或重新启动时,MEMORY表中的数据将丢失。

我正在亚马逊ec2 t1.micro实例上运行一个MEMORY表,直到大约一小时前,当我意识到我的所有MEMORY表都被擦除时,一切都相对正常。

我没有重置服务器,它仍然运行良好,虽然在我的日志中我意识到CPU负载变得非常高,因为我似乎有点太难推动服务器。

在崩溃前几分钟,CPU系统负载平均值为4.98, 3.32, 2.22 (1,5,15)

单核微实例上的高CPU负载是否可能导致我的MySQL服务器停止"停止"从而丢弃所有内存表?

谢天谢地,我有一个备份...这次我没有推动服务器那么重新启动。

我已将我的MySQL error.log文件尾部复制到下面:

150511 21:14:39 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use$
150511 21:14:39 [Note] Plugin 'FEDERATED' is disabled.
150511 21:14:41 InnoDB: The InnoDB memory heap is disabled
150511 21:14:41 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150511 21:14:41 InnoDB: Compressed tables use zlib 1.2.8
150511 21:14:41 InnoDB: Using Linux native AIO
150511 21:14:41 InnoDB: Initializing buffer pool, size = 128.0M
150511 21:14:42 InnoDB: Completed initialization of buffer pool
150511 21:14:42 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
150511 21:14:42  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
150511 21:14:59  InnoDB: Waiting for the background threads to start
150511 21:15:00 InnoDB: 5.5.41 started; log sequence number 12053647257
150511 21:15:00 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
150511 21:15:00 [Note]   - '127.0.0.1' resolves to '127.0.0.1';
150511 21:15:00 [Note] Server socket created on IP: '127.0.0.1'.
150511 21:15:01 [Note] Event Scheduler: Loaded 0 events
150511 21:15:01 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.5.41-0ubuntu0.14.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
150511 21:15:17 [ERROR] /usr/sbin/mysqld: Table './phpmyadmin/pma_column_info' is marked as crashed and should be repaired
150511 21:15:17 [Warning] Checking table:   './phpmyadmin/pma_column_info'
150511 21:15:18 [ERROR] /usr/sbin/mysqld: Table './phpmyadmin/pma_recent' is marked as crashed and should be repaired
150511 21:15:18 [Warning] Checking table:   './phpmyadmin/pma_recent'
150511 21:15:18 [ERROR] /usr/sbin/mysqld: Table './phpmyadmin/pma_table_uiprefs' is marked as crashed and should be repaired
150511 21:15:18 [Warning] Checking table:   './phpmyadmin/pma_table_uiprefs

当我说CPU正在通过屋顶时,就发生了这种情况。我不确定这一切意味着什么,但我假设mysql服务器重置在这里。任何帮助将不胜感激。

0 个答案:

没有答案