BMS-Repo Design Choices
Wentao Shang (UCLA)
BMS-Repo Design Choices Wentao Shang (UCLA) Why another repo? - - PowerPoint PPT Presentation
BMS-Repo Design Choices Wentao Shang (UCLA) Why another repo? UCLA Facility Department stores BMS data in relational databases and queries data with SQL SQL is very useful for data analysis Therefore we want to add SQL support into
Wentao Shang (UCLA)
relational databases and queries data with SQL
NDN-BMS system
maintenance and synchronization cost
RDBMS NDN Repo Data Sync
data store (like a file system)
application semantics into NDN naming
NDN Repo RDBMS Read/Write
Interests
querying power
BMS_ROOT melnitz boelter strathmore studio1 4805 4806 DMR AH8 AA K J demand volts amps bms( building, room, dev-id, data-type, 1122334455 timestamp) electrical dev-type, NDN-BMS naming scheme Relational schema
schema, NDN Interest is equivalent to the σ
clause in SQL)
Interest using SQL query
voltage, Exclude=(ANY, T1), ChildSelector=0
= ‘melnitz’ AND room = ‘studio1’ AND devtype = ‘electrical’ AND devid = ‘AA’ AND devtype = ‘voltage’ AND (NOT timestamp <= ‘T1’) ORDER BY timestamp ASC LIMIT 1;
BMS-repo server BMS data source SQL query interface RDBMS
pre-signing) each single data point
algorithm are highly welcome! :-D