Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

MariaDB growing to big.., Can't get it smaller

$
0
0

@TheStigh wrote:

Using MariaDB and the database has now grown passing 9 Gb.
I’ve added some exludes to recoder:

recorder:
  db_url: !secret urlMariaDB
  purge_keep_days: 14
  exclude:
    domains:
      - weblink
      - updater
      - input_boolean
      - input_number
      - input_select
      - input_text
      - light
      - media_player
      - sun
      - timer
      - weather
      - camera
    entities:
... a bunch of entities also...

Also, I’ve got an automation to purge the database, but still it doesn’t reduce it’s size.

- alias: Purge Database
  id: Purge Database
  trigger:
  - platform: time
    at: '03:00:00'
  action:
  - service: recorder.purge
    data:
      keep_days: 14

What am I missing?

Posts: 9

Participants: 7

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>