Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
N/A
-
Resolution: Not an Issue
-
Affects Version/s: 1.5.2
-
Fix Version/s: 1.9.6
-
Component/s: Zend_Db_Profiler
-
Labels:None
Description
Set up a small benchmark to check performance between InnoDB and ARCHIVE storage engine of mysql. Used example from manual to output results. Here the results:
InnoDB
Executed: 15 queries in 0.59294509887695 seconds
Average query length: 0.039529673258464 seconds
Queries per second: 25.297451700689
Longest query length: 0.28680014610291
Longest query: SELECT * FROM history LIMIT 50000
ARCHIVE
Executed: 14 queries in 1.0089721679688 seconds
Average query length: 0.072069440569196 seconds
Queries per second: 13.875506623919
Longest query length: 0.48813700675964
Longest query: SELECT * FROM history_072008 LIMIT 50000
There you can see that the first result contains 15 queries, the second result only 14. There should be only 14, so I think this is because of an initial sql query that will be executed before the first application based query will be executed. So I am forced to execute one senseless query to get correct count of queries.
Attached benchmark (archive_bench.php).