May 25, 2012

Post: Flexviews - part 3 - improving query performance using materialized views

MySQL stored procedure API, called the SQL_API which is used to define the view. These stored proceduresquerying: mysql> call flexviews.enable( -> flexviews.get_id(‘demo’,'dashboard_customer_sales’)); Query

Post: MySQL Query Cache

queries for query cache. Only SELECT queries are cached SHOW commands or stored procedure calls are not, even if stored procedurequery cache. Now lets speak a bit about Query Cache configuration and mainance. MySQL Manual is pretty good on this: Query Cache Query Cache Status Query

Comment: To SQL_CALC_FOUND_ROWS or not to SQL_CALC_FOUND_ROWS?

… count_test WHERE b = 999 ORDER BY c LIMIT 5;”, mysql uses index to determine number of rows to examine (through… queries with many parameters and paging result set) is much faster than sending two queries. I use a stored procedure that accept a dynamic sql query, an offset and a limit then use prepared statement to execute query and…