Solved

mysql version 5 maximum memory on linux 64 bit

Posted on 2010-11-23
4
343 Views
Last Modified: 2012-05-10
Hi

Are there any upper limits on how much memory mysqlcan use on 64 bit linux. I want to give it as much as possible!

Thanks
0
Comment
Question by:andieje
  • 2
  • 2
4 Comments
 
LVL 8

Expert Comment

by:wolfgang_93
ID: 34200877
Should you use the InnoDB engine for your tables -- a highly recommended
feature to ensure ACID compliance, robustness etc. -- you will want to set certain
configuration parameters in your my.cnf file to take advantage of the high speed
RAM memory which is 1000 times faster than disk -- to achieve a high hit-cache
ratio.

A rule of thumb I use is to take amount of RAM for the server, subtract 1
gig for operating system, subtract 1 or 2 gig for other stuff in MySQL and
other applications on the server. So if RAM is 8 gig, I would make sure
to have a line like this in my my.cnf config file:

#
# Set buffer pool size to 50-80% of your computer's memory
innodb_buffer_pool_size=5G

There of course other config parameters that could be bumped up to get
better performance, but this is by far the most significant one for tables
set up for InnoDB.

After changing any config parameters in my.cnf file, you should reboot
the server to ensure the changes are applied.
0
 

Author Comment

by:andieje
ID: 34201333
so there isn;t an upper limit then?
0
 
LVL 8

Accepted Solution

by:
wolfgang_93 earned 500 total points
ID: 34201377
There was an upper limit for 32 bit of 2 gig or so because of the limitations of
32 bit. For 64 bit, the memory limit is not an issue. Use as much as is available
on the server and that makes sense in the context of what you are running
on the server.
0
 

Author Closing Comment

by:andieje
ID: 34201396
thanks a lot
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Loading csv or delimited data files to MySQL database is a very common task frequently questioned about and almost every time LOAD DATA INFILE comes to the rescue. Here we will try to understand some of the very common scenarios for loading data …
This guide whil teach how to setup live replication (database mirroring) on 2 servers for backup or other purposes. In our example situation we have this network schema (see atachment). We need to replicate EVERY executed SQL query on server 1 to…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now