Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I change my nnodb_buffer_pool_size

Posted on 2014-10-14
4
Medium Priority
?
231 Views
Last Modified: 2014-10-15
I know this needs to change, but I don't know where the file resides, how to determine what it's current size is and then how to increase it. I've seen several online articles, but I'm still open to a ninja walking me through it.

Standing in the need of knowledge...!
0
Comment
Question by:brucegust
4 Comments
 
LVL 111

Assisted Solution

by:Ray Paseur
Ray Paseur earned 400 total points
ID: 40381397
0
 
LVL 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 400 total points
ID: 40381526
If you have phpMyAdmin available on that server, you can look it up under MySQL Variables.
0
 
LVL 7

Accepted Solution

by:
Stampel earned 1200 total points
ID: 40381820
Edit your /etc/my.cnf file or windows equivalent.
In the section  [mysqld] , Add the following line :
innodb_buffer_pool_size=1024M
Then restart MySQL service.

For the 1024M value, MySQL says that you can use up to 80% of your total available RAM.
But i would rather suggest you start with 30% and performs tests to see if and how it does increases performances.
0
 

Author Comment

by:brucegust
ID: 40382337
Got it!

Thanks!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question