Closed GoogleCodeExporter closed 8 years ago
This probably indicates a problem with either the SQL queries, or the database
indices. The summary contains the timestamp of the first and last sensordata,
and the number of sensordata objects. Both of these should be fast queries on a
properly indexed database.
Original comment by rbre...@gmail.com
on 7 Jan 2012 at 1:39
Original comment by rbre...@gmail.com
on 10 Jan 2012 at 8:35
Original comment by rbre...@gmail.com
on 30 Mar 2012 at 12:33
Should be taken care of in revision 5f8539db7412.
In the case of a virtual source, instead of doing three queries for each
sub-source (one for min tstamp, one for max tstamp, and one for count), we now
do one query total and let the database determine the min, max, and count for
all sources we are interested in at once. This should make it faster, but it
should be tested on a more realistic dataset.
Original comment by AndreaMC...@gmail.com
on 2 Apr 2012 at 11:31
Original issue reported on code.google.com by
yongwen...@gmail.com
on 29 Jan 2011 at 2:10