piwik framework firebird conversion
Created by: Lester Caine, Last modification: 06 Jun 2012 (11:56 BST)
Need to update this ...
But the current codebase can be followed at the Hg Repository
Work is also progressing on tidying the test suite and the progress can be found here
Porting piwik to work with a Firebird database.
DONE
- Add Firebird as a database option
- Remove backticks
- INSERT IGNORE INTO => UPDATE OR INSERT INTO
- LIMIT needs to be accessed via db->limit() function in zend ( Use ROWS for speed )
-
Reserved word fields need renaming
value -> a_value ... on archive tables - reserved word
count -> lp_count ... on log profiling - reserved word
startDate -> startdate ... can't manage mixed case field names
? - Disable locking, not required for Firebird
- 'OPTIMIZE TABLE' not needed in Firebird, garbage collection is a background task
- Drop use of lastInsertId() - switch to SQL standard sequence numbers (generators in Firebird)
- Tracker Firebird Driver seems to be running nicely now, data being gathered stabily
TODO
- SHOW STATUS needs looking at