Guest User

Untitled

a guest
Jul 16th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.75 KB | None | 0 0
  1. # Query_time: 109.325948 Lock_time: 0.000222 Rows_sent: 1 Rows_examined: 154065
  2. SET timestamp=1332837927;
  3. SELECT core_device_stats.value_num AS core_device_stats_value_num, core_device_stats.value_str AS core_device_stats_value_str, core_device_stats.id AS core_device_stats_id, core_device_stats.date AS core_device_stats_date, core_device_stats.timestamp AS core_device_stats_timestamp, core_device_stats.skey AS core_device_stats_skey, core_device_stats.device_id AS core_device_stats_device_id
  4. FROM core_device_stats
  5. WHERE core_device_stats.skey = 'temperature' AND core_device_stats.device_id = '8' ORDER BY core_device_stats.date DESC
  6. LIMIT 1;
  7. # User@Host: domogik[domogik] @ localhost [127.0.0.1]
  8. # Query_time: 107.872957 Lock_time: 0.000220 Rows_sent: 1 Rows_examined: 153858
  9. SET timestamp=1332837927;
  10. SELECT core_device_stats.value_num AS core_device_stats_value_num, core_device_stats.value_str AS core_device_stats_value_str, core_device_stats.id AS core_device_stats_id, core_device_stats.date AS core_device_stats_date, core_device_stats.timestamp AS core_device_stats_timestamp, core_device_stats.skey AS core_device_stats_skey, core_device_stats.device_id AS core_device_stats_device_id
  11. FROM core_device_stats
  12. WHERE core_device_stats.skey = 'temperature' AND core_device_stats.device_id = '9' ORDER BY core_device_stats.date DESC
  13. LIMIT 1;
  14. # User@Host: domogik[domogik] @ localhost [127.0.0.1]
  15. # Query_time: 109.326365 Lock_time: 0.000238 Rows_sent: 1 Rows_examined: 151169
  16. SET timestamp=1332837927;
  17. SELECT core_device_stats.value_num AS core_device_stats_value_num, core_device_stats.value_str AS core_device_stats_value_str, core_device_stats.id AS core_device_stats_id, core_device_stats.date AS core_device_stats_date, core_device_stats.timestamp AS core_device_stats_timestamp, core_device_stats.skey AS core_device_stats_skey, core_device_stats.device_id AS core_device_stats_device_id
  18. FROM core_device_stats
  19. WHERE core_device_stats.skey = 'iinst' AND core_device_stats.device_id = '13' ORDER BY core_device_stats.date DESC
  20. LIMIT 1;
  21. # User@Host: domogik[domogik] @ localhost [127.0.0.1]
  22. # Query_time: 108.910563 Lock_time: 0.000205 Rows_sent: 1 Rows_examined: 153975
  23. SET timestamp=1332837927;
  24. SELECT core_device_stats.value_num AS core_device_stats_value_num, core_device_stats.value_str AS core_device_stats_value_str, core_device_stats.id AS core_device_stats_id, core_device_stats.date AS core_device_stats_date, core_device_stats.timestamp AS core_device_stats_timestamp, core_device_stats.skey AS core_device_stats_skey, core_device_stats.device_id AS core_device_stats_device_id
  25. FROM core_device_stats
  26. WHERE core_device_stats.skey = 'temperature' AND core_device_stats.device_id = '5' ORDER BY core_device_stats.date DESC
  27. LIMIT 1;
  28. # Time: 120327 10:45:44
  29. # User@Host: domogik[domogik] @ localhost [127.0.0.1]
  30. # Query_time: 16.135769 Lock_time: 0.000580 Rows_sent: 1 Rows_examined: 151171
  31. SET timestamp=1332837944;
  32. SELECT core_device_stats.value_num AS core_device_stats_value_num, core_device_stats.value_str AS core_device_stats_value_str, core_device_stats.id AS core_device_stats_id, core_device_stats.date AS core_device_stats_date, core_device_stats.timestamp AS core_device_stats_timestamp, core_device_stats.skey AS core_device_stats_skey, core_device_stats.device_id AS core_device_stats_device_id
  33. FROM core_device_stats
  34. WHERE core_device_stats.skey = 'iinst' AND core_device_stats.device_id = '13' ORDER BY core_device_stats.date DESC
  35. LIMIT 1;
  36. # Time: 120327 10:45:47
  37. # User@Host: domogik[domogik] @ localhost [127.0.0.1]
  38. # Query_time: 19.462918 Lock_time: 0.000220 Rows_sent: 1 Rows_examined: 153975
  39. SET timestamp=1332837947;
  40. SELECT core_device_stats.value_num AS core_device_stats_value_num, core_device_stats.value_str AS core_device_stats_value_str, core_device_stats.id AS core_device_stats_id, core_device_stats.date AS core_device_stats_date, core_device_stats.timestamp AS core_device_stats_timestamp, core_device_stats.skey AS core_device_stats_skey, core_device_stats.device_id AS core_device_stats_device_id
  41. FROM core_device_stats
  42. WHERE core_device_stats.skey = 'temperature' AND core_device_stats.device_id = '5' ORDER BY core_device_stats.date DESC
  43. LIMIT 1;
  44. # Time: 120327 10:46:17
  45. # User@Host: domogik[domogik] @ localhost [127.0.0.1]
  46. # Query_time: 0.000909 Lock_time: 0.000273 Rows_sent: 1 Rows_examined: 18
  47. SET timestamp=1332837977;
  48. SELECT core_device.id AS core_device_id, core_device.name AS core_device_name, core_device.description AS core_device_description, core_device.address AS core_device_address, core_device.reference AS core_device_reference, core_device.device_usage_id AS core_device_device_usage_id, core_device.device_type_id AS core_device_device_type_id
  49. FROM core_device
  50. WHERE core_device.address = 'teleinfo';
Add Comment
Please, Sign In to add comment