Archive for the tag "Database"
Making MySQL Use More Memory: Part 2
March 26th, 2009 by Scott SelikoffIn a previous article, I discussed how to get the most out of your memory usage in MySQL systems using the InnoDB storage engine. To review, MySQL has overly conservative memory usage by default. Your MySQL instance may be using only a small fraction of the available memory, leading to unnecessarily poor application performance. In [...]
Posted: 26 March, 2009 in Database.
Tags: Database, myisam, performance
Comments: 2
Why JDBC + JSP = Bad
February 24th, 2009 by Scott SelikoffOver years of moderating at The JavaRanch, I’ve seen one type of question spring up on a weekly basis: that asked by people who need help with JDBC code inside of Java Server Pages (JSPs). As much as we may want to help this individual fix their particular problem, the overriding thought of “STOP WHAT [...]
Posted: 24 February, 2009 in Accessibility, Java/J2EE, JavaRanch, JDBC, Web.
Tags: Database, Java/J2EE, JDBC, JSP
Comments: 10
Making MySQL Use More Memory
January 7th, 2009 by Scott SelikoffUnlike a lot of database servers, MySQL is strangely conservative (by default) on how much memory it will allocate. If you’re not careful, you can have 16GB of RAM on your machine with MySQL only using 50MBs, leading to extremely poor performance under heavy load. I know firsthand that navigating MySQL configuration guides can be [...]
Posted: 7 January, 2009 in Database.
Tags: Database, innodb, performance
Comments: 4
