Hi,
Sorry it took me so long to reply. I missed your email message.
Your feedback was very helpful. I've fixed all the problems that you noticed.
I was wondering if you might want to take the latest SVN release for a
test ride (please use SVN instead of latest beta)
here is a demo of incremental refresh:
mysql> select * from user_stat_incremental where user_id = 8;
+----------+---------+--------+-------------+----------------+
| mview$pk | user_id | images | gridsquares | last_submitted |
+----------+---------+--------+-------------+----------------+
| 6 | 8 | 589 | 401 | 1105953 |
+----------+---------+--------+-------------+----------------+
1 row in set (0.00 sec)
mysql> delete from geographic.gridimage_base where
gridimage_base.gridimage_id = 1105953;
Query OK, 1 row affected (1.16 sec)
-- THIS ONLY TAKES A FEW SECONDS NOW
mysql> call flexviews.refresh(16,'BOTH',NULL);
Query OK, 0 rows affected (9.64 sec)
-- NOTICE last_submitted WENT DOWN
mysql> select * from user_stat_incremental where user_id = 8;
+----------+---------+--------+-------------+----------------+
| mview$pk | user_id | images | gridsquares | last_submitted |
+----------+---------+--------+-------------+----------------+
| 6 | 8 | 588 | 401 | 1105930 |
+----------+---------+--------+-------------+----------------+
1 row in set (0.00 sec)