Archive for category Database
The Joy of Null: Continued
April 16th, 2009 by Scott SelikoffIn Part 1 of The Joy of Null I discussed a variety of ways null-equivalent values make it into the software design. Often times, developer laziness or immutability of the database tier drives many developers to insert values that simulate null values, rather than using a database null itself. In this second half, I’ll talk [...]
Posted: 16 April, 2009 in Database.
Tags: Database, Java/J2EE, JDBC
Comments: -
The Joy of Null
April 7th, 2009 by Scott SelikoffOften in the database world, you do not have all the information needed to create a record. For example, you may have a person’s full name but not their middle name or initial, or you might be missing their date of birth. In such cases, the recommended solution is to fill that field with a [...]
Posted: 7 April, 2009 in Database.
Tags: Database, Java/J2EE, JDBC
Comments: 8
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
