smart-home:home-assistant

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
smart-home:home-assistant [2025/05/03 04:42] – [HA mysql] adminsmart-home:home-assistant [2025/05/03 05:04] (current) – [HA mysql] admin
Line 62: Line 62:
   ROUND(((data_length + index_length) / 1024 / 1024), 2) `Size (MB)`    ROUND(((data_length + index_length) / 1024 / 1024), 2) `Size (MB)` 
   FROM information_schema.TABLES    FROM information_schema.TABLES 
-  ORDER BY (data_length + index_length) DESC;+  ORDER BY (data_length + index_length) DESC 
 +  limit 10; 
 + 
 +-- optimize 
 +OPTIMIZE TABLE homeassistant.states;
 </code> </code>
 ++++ ++++
  • smart-home/home-assistant.1746247339.txt.gz
  • Last modified: 2025/05/03 04:42
  • by admin