Deutsch   English   Français   Italiano  
<tmabrd$t5v$1@shakotay.alphanet.ch>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: Marc SCHAEFER <schaefer@alphanet.ch>
Newsgroups: fr.misc.domotique
Subject: home-assistant =?ISO-8859-1?Q?cro=EEt?=
Date: Thu, 1 Dec 2022 13:57:01 -0000 (UTC)
Organization: Posted through news.alphanet.ch
Message-ID: <tmabrd$t5v$1@shakotay.alphanet.ch>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 1 Dec 2022 13:57:01 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="schaefer";
	logging-data="29887"; mail-complaints-to="usenet@alphanet.ch"; posting-host="634ce6c9682d817d72f6177875e2bb4f.nnrp.alphanet.ch"
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-22-amd64 (x86_64))
Cancel-Lock: sha256:VkFg6BnRhzUsYapPbinyniE80Xqv5pMfas89rtfYdRY= sha256:okbTrO7Br1/WwYWo6/tWy1VFDgEIb8N5V8SiO7trRYQ=
Bytes: 1814
Lines: 21

Bonjour,

si vous utilisez home-assistant[1], faites attention: la base de données
des mesures croît un peu sans limites. Si vous avez comme moi des
mesures très régulières de plein de capteurs, ça peut vite atteindre
les 10 GB (utilisés, pas sparse [2]).

Vu que c'est un système embarqué, j'ai stoppé home-assistant, copié la
BD sqlite3 sur un serveur, fait un VACUUM, effacé pas mal de trucs,
refait un VACUUM, puis re-copié et configuré.

J'ai configuré grâce à ce document:

   https://community.home-assistant.io/t/how-to-keep-your-recorder-database-size-under-control/295795

[1] https://www.home-assistant.io/
[2] https://en.wikipedia.org/wiki/Sparse_file
    fichiers à trous

-- 
Attention: limitez le nombre de lignes de citation à l'essentiel, sinon
je ne verrai pas votre réponse.