Monday, February 6, 2012

Scaling-Optimizing MySQL Database

August 18, 2011 by · Leave a Comment 

How to boost your MySQL database for high/Efficient performance? Following

Find week start/end given week number

November 3, 2009 by · Leave a Comment 

I have a table with some dated records. I wanted to do some weekly reports on this data. MySQL has a nifty function dubbed WEEK() which will return a week number. It allows you to break your data into week long intervals very easily. For example, the following query will tell me how many records [...]

MINUS query in MySQL

November 3, 2009 by · Leave a Comment 

Mysql does not support MINUS operator which is not the end of the world. For most queries you can really care less if it’s implemented or not. My web app never needs to use it to function properly, which makes MySQL a perfect choice here. But, sometimes human beings are more demanding than simple php [...]