June 18, 2013

Post: Is it query which needs to be optimized ?

MySQL Performance Forum as well as from our customers regarding query optimization… which had one thing in common – It is not querySQL_CALC_FOUND_ROWS but it can often make query slower than two queries

Post: SHOW INNODB STATUS walk through

… InnoDB 442 mysql tables in use 1, locked 0 MySQL thread id 8079, query id 728899 localhost root Sending data select sql_calc_found_rows * from b… sized right), total number of pages in buffer pool, number of pages free, pages allocated by database pages and dirty pages. From these values you…

Comment: To SQL_CALC_FOUND_ROWS or not to SQL_CALC_FOUND_ROWS?

…SELECT SQL_CALC_FOUND_ROWS * FROM count_test WHERE b = 999 ORDER BY c LIMIT 5;”, mysql uses index to determine number of rows to …SQL_CALC_FOUND_ROWS in queries that use complex where (for example search queries with many parameters and paging result set) is much faster than sending two queries

Post: Are you designing IO bound or CPU bound application ?

…and obvious but it is extremely important for MySQL Performance Optimization. In fact I probably have to…messages where user_id=134 or use SQL_CALC_FOUND_ROWS flag for your main select query. If you’re having CPU…piss of your most loyal users with slow page load times. So for IO bound applications you…