Jump to content

InnoDB memory usage


Daniel0

Recommended Posts

Does anyone have an idea of how you can get InnoDB to stop using an excessive amount of memory? I experience a difference of 120 MB RAM usage from when it's disabled and when it isn't. That's quite a lot considering my VPS has 384 MB available (plus double burst though).

Link to comment
Share on other sites

Maybe it's just because I don't know what happens behind the scenes, but I just don't understand how it can spend 120 MB RAM doing absolutely nothing. As of right now there aren't even any InnoDB tables on the server. It's just the difference between enabling its usage or not.

Link to comment
Share on other sites

Is it possible that it could be getting slammed by enough queries to make the memory usage grow that much instantly?

Possibly... your key buffer is 16M, so if you have 25 threads using it at the same time.....

 

Here is the output of that script:

http://daniel0.net/mysql_profile.txt

Why does it appear as though InnoDB is "disabled"?

Link to comment
Share on other sites

Here is the output of that script:

http://daniel0.net/mysql_profile.txt

Why does it appear as though InnoDB is "disabled"?

 

Ooops, sorry. I've updated the file with InnoDB enabled.

 

Is it possible that it could be getting slammed by enough queries to make the memory usage grow that much instantly?

 

I don't think that's the case. The server isn't used that much and there aren't even any InnoDB tables on the server.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.