Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon Aurora memory overflow

I created an Amazon Aurora instance few weeks ago , it was doing great at the beginning and memory current value was 13,000 MB , Everyday current value of memory is reduced by a certain amount and now it is only 781 MB. I don't know if it is a cache problem or I have something wrong with my configuration any ideas ?

enter image description here

like image 523
Ezzat Avatar asked Nov 19 '25 09:11

Ezzat


1 Answers

I found that MySQL tries to cache data and use memory as long as it has free space , so If you want to change this, you could use different configuration other than Amazon RDS configuration.

By default : innodb_buffer_pool_size is {DBInstanceClassMemory*3/4}

I changed it to innodb_buffer_pool_size = {DBInstanceClassMemory*1/2}

and that solved my problem.

like image 124
Ezzat Avatar answered Nov 22 '25 00:11

Ezzat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!