You can use the below query to get number of rows per partition in a MySQL table.
You can use MySQL’s inbuilt function TIMESTAMPDIFF to get difference between two dates in MySQL. A typical query would be
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
While working with MySQL database i needed to write a query which will exclude rows where a column contains one or more words from a set