June 19, 2013

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

php convert.php demo < sales.sql CALL flexviews.create('demo', 'dashboard_customer_sales', 'INCREMENTAL‘); SET @mvid := LAST_INSERT…_table_alias: o mview_join_condition: NULL mview_join_order: 999 *************************** 2. row … `mview$pk` which is an auto_increment BIGINT surrogate key for the …

Comment: Database problems in MySQL/PHP Applications

auto_increment functionality This is right. With some > exception however. For example Innodb tables do internal full table > lock if auto_increment… processing time to inserts, updates, and deletes but…the indexes to join rows together, potentially…crawl. > So developing you PHP applications use test …

Post: Using Flexviews - part two, change data capture

… explained that an MV can pre-compute joins and may aggregate and summarize data. …binary log position. php ./setup_flexcdc.php –ini consumer.ini $ php setup_flexcdc.php setup starting setup … and then insert some more of them: mysql> create table > test.demo ( > c1 int auto_increment primary key,…

Comment: Why MySQL could be slow with large tables ?

… web project using MySql, Apache and Php. The database has a relatively acceptable …joining them with other tables). Once again, I use multiple inserts into the table, with sets of 150 records each: INSERT… every capital letter column, and a different AUTO_INCREMENT column as PRIMARY or even no …