Hi, I have a problem when I try to get data from a mysql db, I have this table :
CREATE TABLE `events_table` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`id_tag` int(11) NOT NULL,
`value` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `date` (`date`)
) ENGINE=InnoDB AUTO_INCREMENT=1683945 DEFAULT CHARSET=latin1;
I have multiple tags with a value changed event, when this tags change the value, insert data to my table.
In one hour I get 120.000 records, so when I try to get this data to a table component in igntion I get a query that last 10 seconds, is this normal for the for the large amount of data?