Abstract With the integration of the Internet of Things (IoT) and cloud computing in modern agriculture, traditional Relational Database Management Systems (RDBMS) struggle to handle the storage and analysis of massive perception data. This paper presents a distributed storage solution for large-scale agricultural data using the Decomposition Storage Model (DSM) and a distributed file system within an agricultural Platform-as-a-Service (PaaS) framework. By leveraging HBase and Hadoop, the proposed system provides real-time efficient reading/writing, high scalability, and high availability. Experimental results indicate that this DSM-based architecture effectively meets the requirements of agricultural big data processing.
Introduction
As precision agriculture evolves, the volume of data generated by field sensors—tracking variables like soil moisture, temperature, and humidity—has reached unprecedented levels. A single sensor network can generate nearly 20 million data points daily, totaling billions of records annually. Traditional RDBMS architectures typically utilize the N-ary Storage Model (NSM), which stores data row-by-row. While suitable for transactional integrity, NSM introduces significant I/O overhead when querying specific sensor attributes across massive datasets. This study explores the implementation of the Decomposition Storage Model (DSM) to overcome these bottlenecks.
Proposed Architecture
The system is designed as a three-layer agricultural PaaS platform to bridge the gap between raw sensor data and end-user applications.
- Data Gateway & Cache: This layer serves as the entry point for incoming sensor data. It utilizes a relational database as a short-term cache to facilitate immediate real-time queries, bypassing the latency of the main cluster for the most recent data.
- Distributed Storage Cluster: The core of the system, built on Hadoop and HBase. HBase implements the DSM, storing data in a column-oriented format that allows for efficient random access and high scalability.
- WebService Layer: This layer provides the PaaS interface, exposing storage and analysis services via APIs for developers and agricultural stakeholders.
Implementation of DSM via HBase
The Decomposition Storage Model (DSM) stores all records for a specific field (e.g., temperature) together. In this implementation, HBase is used to manage these columnar structures. To optimize for real-time monitoring, the researchers designed a custom row key strategy combining the sensorgroupid with a reverse timestamp. This ensures that the most recent sensory data is physically stored at the beginning of the storage blocks, significantly accelerating retrieval for the latest status updates.
Performance Evaluation
The architecture was evaluated using a 20-node Hadoop cluster compared against a standalone machine. The testing focused on GET operations, SCAN operations, and large-scale data analysis.
While the standalone machine performed adequately for small datasets, the distributed cluster demonstrated a massive advantage as data volume scaled. For datasets reaching the Terabyte (T) level, the cluster completed analysis in minutes (e.g., 25 minutes for 1T), whereas the standalone system required thousands of minutes.
However, the researchers noted that for full-table SCAN operations, the standalone machine was occasionally faster. This confirms that while HBase is highly optimized for random access (GET) and massive parallel processing (MapReduce), it is less efficient for sequential full-table scans compared to localized storage.
Conclusion
The implementation of the Decomposition Storage Model within an agricultural PaaS platform provides a scalable and efficient solution for managing the "perceptive big data" of modern farming. By utilizing a hybrid approach—combining a fast relational cache for immediate data with a robust HBase/Hadoop cluster for long-term storage and analysis—the system meets both the real-time and historical analysis needs of the agricultural sector. Future work will focus on optimizing scan performance and integrating predictive analytics directly into the PaaS layer.
Summary updated