Thanks Ronan for the inputs. Table majorly will have the column as deviceid (primary), latitude, longitude, time stamp, date. Report will be generated
1) as where was the vehicle was in the past at a specific time (query as per device id, time stamp, date).
2) What was the route followed by vehicle on a specific day etc (number of queries as per device id, time stamp, date).
Indexing will surely be done (on device id). But when user demands for the report, still there will be ample data in the table when the query will be fired, which might result in performance issue.
Our initial thought to this problem is to create table for every device. So when there are 100 device there will be 100 table to cater the need. Or we can make partition where 1 table will have 20-25 device info. In such a case our initial thought are that our problem can be solved. Need your inputs over the same Or any better solution for the same.
Also for the data - it will be archived every 2 months. Anyways I will be storing 2 month data, which is also good in number.
Awaiting reply...
Thanks,
Rahul