May 26, 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 proceduresrows in set (0.00 sec) Using the dictionary The following SQL is dynamically generated by the flexviews.get_sql() function call. This function

Post: A micro-benchmark of stored routines in MySQL

stored routines are in MySQL? I just ran a quick micro-benchmark to compare the speed of a stored functionprocedurestored function. mysql> delimiter // mysql> create function speaks_english(c char(3)) returns integer deterministic > begin > declare res int; > select count

Post: How fast can MySQL Process Data

in-cache scenario I created a table with just 10000 rows and wrote little stored procedure to make timing easier: mysql> DELIMITER // mysql> CREATE PROCEDURErow by row” processing which means function calls for each row. Lets see if we do some row function on those 10.000.000 rows

Post: Debugging problems with row based replication

in statement mode.   The row-based format does offer advantages particularly if triggers or stored procedures are used, or if non deterministic functionscount(*) from t1; +———-+ | count(*) | +———-+ |    65536 | +———-+ 1 row in set (0.02 sec) My test setup includes a MySQL

Post: MySQL Query Cache

…helpful for MySQL …of rows now…stored procedure calls are not, even if stored procedure would simply preform select to retrieve data from table. Avoid comment (and space) infunctions such as UUID(), RAND(), CONNECTION_ID() etc it will not be cached. Table level granularity in… cached. Counting