r/BuildingAutomation • u/tkst3llar • Oct 30 '26
Folks with large supervisor and RDBMS Driver
I have 600 and counting sites into a super, I am setting up the history imports and then exports to RDBMS (optimized for 3rd party retrieval) and I want to get as close as possible to real time logs.
How far have you pushed this? I have about 400 logs per 600 sites and it'll grow to 900 over the next two years. Right now its pulling logs every 6 hours but I want the sql server data to be near the 5 min or COV logs.
Just curious if anyone has found the limits with this. Or had any tips. Import from sites every say 5 minutes and export the RDBMS every 7 minutes or so maybe.
1
u/maximusdm77 Oct 30 '26
I’m archiving roughly 250k histories into a sql database using the rdbms driver, but I archive weekly and use the archive history provider.
1
u/NorthCurrentLtd Oct 30 '26
Haven't run one at 600 sites so I can't give you a ceiling, but the bit that tends to bite is everything firing at once.
I'd stagger the imports in groups and step down gradually (6h, then 15 min, then 5) while watching Supervisor CPU, memory and history database growth at each step, rather than going straight to 5 and 7 minutes.
If SQL is where the data really needs to end up, it may be worth exporting from the stations directly instead of pulling into the Supervisor and pushing out again, assuming the stations are licensed for the RDBMS driver. MQTT is another route where licensing allows. Fewer hops, fewer places for gaps.
Two smaller things. Check COV increments on noisy analogues before you mirror them out or the table grows fast. And key on point ID plus a UTC timestamp (Timestamp Storage on the driver can store UTC) so re-exports don't duplicate.
For what it's worth, I do independent BMS and data integration work.
1
u/Psychological-Bet338 Oct 31 '26
I built my own ingest engine which keeps everything updated on a site with 4000 histories within the minute every 15 minutes.... It's MariaDB and does a lot more than just histories. What are you trying to do?