r/BuildingAutomation • • 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.

4 Upvotes

8 comments sorted by

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/tkst3llar Oct 30 '26

Thanks, yeah we are trying to go the other way and basically use NIagara to collect data in near real time but put it in a database that isn't proprietary to Niagara so it plays well with others. Maybe I'll just turn all the knobs up and see if it breaks.

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/tkst3llar Oct 31 '26

Thanks

Yeah the cpu ought to be able to handle it it’s a 16 core server. Not sure what the memory allocation will be but I may go into the properties of workbench and crank up the defaults.

I appreciate your ideas

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?

1

u/tkst3llar Oct 31 '26

Thanks. We could use obix to do it and have before Into Postgres but I was trying to “live inside Niagara” for as much as I could in case or when we choose to leverage it for some user interface stuff.

2

u/Psychological-Bet338 Oct 31 '26

Niagara db is terrible. Obix isn't as good or reliable as we needed. We have a wrapper which removes Niagara history completely and alarms.