Mysql SQL_NO_CACHE Benchmark Problem
I have been trying to benchmark the sql calls to mysql from an application without success. Even when I set the SELECT statement to SQL_NO_CACHE, the results seemed to be still cached. Apparently,...
View ArticleMysql on Windows vs Linux
I was working on optimizing a Mysql database today and accidentally stumbled upon a benchmarking exercise. The original Mysql database is hosted on a Windows Server 2003. I develop on a Mysql database...
View ArticleMysql server has gone away
I have a spider crawling the web written in PHP running constantly to insert and update data in a Mysql database. Today, it kept stopping on a records with the error message, "Mysql server has gone...
View ArticleMysql on 32bit processor vs 64bit processor
Here is the continuation of the experiment done previously on Mysql on Windows vs Linux. After doing more analysis and observation, it appeared that the difference in speed for the benchmark tests were...
View ArticleUpdate Delayed on Mysql and PHP
Wouldn't it be nice if we could use UPDATE DELAYED in mysql just like we do use INSERT DELAYED? Unfortunately, the work around mysql created for this is to insert a record into the events table in...
View ArticleHow to do that Mysql thing in MSSql?
Ever wonder how to translate something you normally do between Mysql and MSSql? Here is a good list of parity between the two. Also, one section left open by that article is date formatting. After...
View ArticleForget your mysql root password?
This following line saved my butt when something happened and my root password was no longer working. sudo dpkg-reconfigure mysql-server-5.0 It will allow you to reset your root password without...
View ArticleChanging Mysql data directory require change to AppArmor
After a bit of googling and hair-pulling, I realized that if I just changed the datadir directive in my.cnf will cause mysql start to fail on Ubuntu. The other thing is to add permissions to apparmor...
View Article