You can use MySQL’s inbuilt function TIMESTAMPDIFF to get difference between two dates in MySQL. A typical query would be
Lets say i have a collection named testsize, using below command will give me > db.testsize.totalSize() 200 total size in bytes of the data in
There are times when you only want to take partial dump of a mysql table. You can use mysqldump command with one extra option “–where”.
To take dump in XML format you have to provide an extra option in default mysqldump command. This can be useful in cases where you
MySQL prints each query in General query logs. This can be helpful in application profiling if you want to see how many and which queries are
MySQL’s default configuration sets the maximum concurrent connections to 151. If you get a too many connections error when you are trying to connect to MySQL