Purge mariadb daily

Hello,

I input the following inside my configuration

recorder:
  auto_purge: true
  purge_keep_days: 1
  db_url: mysql://user:pass@core-mariadb/homeassistant?charset=utf8mb4
  exclude:
    entity_globs:
       - sensor.daily_power_*
       - sensor.total_power_*
       - sensor.summe_grid_*
       - sensor.home_energy_*
       - sensor.mqtt_*

I using insted of sqlite a mariadb.

But with that command who I posted above it not purge the data … I still can see all old data. Could someone help me what I should input into configuration that it is working?

Best,
Sebastian