Skip to content

DataStorage

DataStorage northbound plugin writes data to Datalayers using Arrow Flight SQL. It extends NeuronEX's capability to store time-series data.

Upon startup, NeuronEX creates a singleton DataStorage node automatically. Users cannot manually create or delete this node.

You can view the DataStorage node in the North Apps tab throw the dashboard.

Application Configuration

The following parameters are available when configuring the DataStorage node:

FieldDescription
HostIP address of the Datalayers server
PortgRPC service port of the Datalayers server
UsernameDatalayers username
PasswordDatalayers password

Add Subscription

After plugin configuration, data storage can be enabled via southbound device subscriptions.

Click DataStorage node on the North Apps page, then Add Subscription on the Group List page. And set the following:

  • South device: Select the southbound device you want to subscribe to.
  • Group: Select a group from the southbound device.

Data Storage

DataStorage uses Arrow's columnar format for data storage, which eliminates serialization and deserialization during transport. This significantly reduces latency and performance overhead, improving system throughput.

Operation & Maintenance

You can click on the Data Statistics icon to review the application's operation status and track the data received and sent.

Cached Queue Size indicates the value used by the current DataStorage plugin when storing data.

Max Cached Queue Size indicates the historical maximum value used by the DataStorage plugin when storing data.

Discarded Messages indicates the number of data lost when the DataStorage plugin stores data due to excessive data throughput exceeding the maximum value of the cache queue of 1000.

Performance Metrics

It is recommended that NeuronEX storage does not exceed 10,000 data tags.

DataStorage Plugin Performance Metrics

ScenarioNumber of Data TagsGroup Interval (ms)Max CPU Usage (%)Memory Usage (MB)Max Cache Queue Length
13,000100010.4791
210,0001000351971
310,0001001452281

Datalayers Database Performance Metrics

ScenarioNumber of Data TagsGroup Interval (ms)Max CPU Usage (%)Memory Usage (MB)Disk Write (MB/s)Query Response Time (ms)
13,00010002.61570.09310
210,00010004.52170.31415
310,0001001452961.5922