Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to disable unused table types

Status
Not open for further replies.

theScien

Technical User
Aug 27, 2003
98
PT
I only use MyISAM for all my web applications, and that should suffice for years to come, so I'm wondering how to disable all other data types from the server, so it starts as only capable of dealing with MyISAM tables.

What other benefits there are in doing so, apart from perhaps a greater memory saving?

Sometime ago I thought of using/experiment with InnoDB type but it's initial 10MB footprint and all the changes in the existing code to make it transactional are too much perhaps. I also read somewhere InnoDB requires alot more memory than MyISAM, server only has 1GB.
 
Open your my.cnf (or my.ini) file, and in the [mysqld] section, put the line "skip-innodb" (without quotes). You might as well also add "skip-bdb".
 
Thanks will do that, any more skips for the other types?

Do you think I will save that much memory when this types don't get loaded?
 
All the options are described in the manual.

I've no idea how much memory you will save; you could check the memory usage before and after the change.
 
skip-innodb" is not even documented in the manual, let alone the other disabling commands, anyway, I will disable just this 2, that should do it for me, someone was also saying that by disabling innodb alone we get a small boost out of the server.

If I find the other commands I'll post them here to complete this thread and for future reference.

Yeah, I also thought about doing the memory comparason before/after as you said.

Thanks, that will do me for now.
 
The 'Skip-innodb' was introduced in around mySQL 3.23 ...
just a moment while I look it up for you....
Ah Yes!:

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Thanks, is it "skip-innodb" or "--skip-innodb" the command that goes in my.ini?
 
skip-innodb" goes into my.cnf/my.ini . Alternatively, you can use "--skip-innodb" as an argument to the command that starts the server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top