We got a MySQL database on AWS RDS with the innodb engine, MySQL version 5.6.19.
When we try to add a column to the table, we get the error message below:
ERROR 1041 (HY000): Out of memory; check if mysqld or any other process uses all available memory; if not, you may need to use "ulimit" to allow mysqld to use more memory, or you can add extra swap space
script We run to modify the table below: ALTER TABLE mytablename ADD COLUMN temp_colume varchar (255) NULL AFTER temp_firstcolumn;
Our RDS is located on db.m3.2xlarge with 30 GB of memory: Our buffer size for indobod is DBInstanceClassMemory * 3/4 ~ = 24 GB
We can successfully recreate the table with the column changes already made to it, but when changing the tables we get an error.
Does anyone encounter the same issue?
source share