Improve performance of billing poller

This commit is contained in:
Richard
2016-03-01 10:20:25 +00:00
parent 282ac48dfd
commit d759c4ac9d
2 changed files with 7 additions and 8 deletions
+3
View File
@@ -0,0 +1,3 @@
ALTER TABLE port_in_measurements ADD INDEX (`port_id`, `timestamp`);
ALTER TABLE port_out_measurements ADD INDEX (`port_id`, `timestamp`);
ALTER TABLE bill_data ADD INDEX (`bill_id`, `timestamp`);