AIoT data modeling
Smart meter model
Organizes relational rdb and time-series tsdb data for a smart meter workload, covering power consumption ranking, faulty meters, alarm detection, load statistics, and recent 24-hour trend queries.
You can directly run examples for smart meters, multi-model queries, window functions, and aggregate functions to quickly validate KWDB modeling and query capabilities for AIoT scenarios.
Help me try SampleDB in the current environment and explain what each step is doing.Each example provides scripts for data generation, database and table creation, import, and queries. If KWDB is already deployed in a container, you can start right away.
Start with the smart meter or multi-model query example, then move on to window functions and aggregate functions as needed.
AIoT data modeling
Organizes relational rdb and time-series tsdb data for a smart meter workload, covering power consumption ranking, faulty meters, alarm detection, load statistics, and recent 24-hour trend queries.
Relational + time-series analysis
Combines relational and time-series data in one query, showing multi-model statistics, cost estimation fusion, aggregation pushdown, and high-speed multi-model join operators.
Grouped window queries
Covers COUNT_WINDOW, EVENT_WINDOW, SESSION_WINDOW, STATE_WINDOW, and TIME_WINDOW models for validating time-series event boundaries.
Time-series aggregate operators
Covers common aggregate models including COUNT, AVG, SUM, MIN, MAX, STDDEV, FIRST, LAST, TWA, and TIME_BUCKET.

Smart Meter Web is a demonstration system for smart meter data management and visualization based on KWDB's multimodal database, showcasing practical applications of KWDB in utility metering scenarios.
Launch the smart meter demo with Docker in one command:
docker run -d --name smart-meter -p 3001:3001 kwdb/smart-meter:latestVisit http://localhost:3001 after startup to experience it
KWDB provides multiple container image registries
kwdb/smart-meterregistry.cn-hangzhou.aliyuncs.com/kwdb/smart-meterghcr.io/kwdb/smart-meter