I do have a database with a table with more than 300mi entries. There is near of 300 inserts per minute,
Very often We need to get statistical data. (count, sum avg). Each query takes from 10 to 30 seconds to be completed.
From the start of the query to its end, the table data increases more than 100 entries.
The numbers I get from the statistic query are related to the start of the query or to its end?
I'm using mysql and innodb