Started using persistence in a MariaDB for the first time yesterday, and set up my persist-file by includning two items. As expected I got two tables in my db for those items, and everything works fine (regarding that…).
Later on I started fiddling with HABpanel as well, and was trying a couple of widgets.
A look into my db then shows a couple of new tables for items not included in my persist-files Item clause.
Does this come from me using certain items with graph or timeline widgets?
Is that correct? As long as I don’t include them in my persistence scheme, those tables will never be populated, right?
I don’t have a problem with the tables being there. I just want to understand…
I asked for the config file because when you have a line in there like * : strategy = everyDay, restoreOnStartup the pesistence service creates a db table for each new item (or at least that is what i have monitored so far)
anyways since you don’t have such a line i tried to recreated your described behavior with HABpanel and yes a db table was created for each item I added a timeline widgets for.
After Thinking about it, I believe this is the normal behavior because as soon as you add the item to the timeline widgets, HABpanel will start to request the data form the persistence service, the persistence service try to look up the item and notice that it “i don’t know it yet” and for this reason it will create the according db table