Data Warehouse

From HiveTool
Jump to: navigation, search

Since HiveTool is open source/open notebook, the entire primary record is publicly available online as it is recorded. Two databases are used: Input and Analysis.

Each hive sends in data every five minutes, 288 times a day, inserting over 100,000 rows a year into the Input Database. One thousand hives would generate 100 million rows per year. In addition to the measured data, there are external factors that need to be systematically and consistently documented. This metadata includes hive genetics, manipulations, mite treatments, data conversion and calibration formulas, etc.

Operational and Research Databases


As the data is moved from the Input Database to the Analysis Database it should:

  • Converted to other measurement systems (lb <=> kg, Fahrenheit <=> Celsius).
  • Manipulation changes filtered out
  • Weather data checked if recent, else fetched.
  • Compared with limits and send alerts if the data exceeds limits.
  • Transactional data processed


Additional Data Warehouse goals:

  • Structure the data so that it makes sense to the researcher.
  • Structure the data to optimize query performance.
  • Make research and decision–support queries easier to write.
  • Maintain data and conversion history.
  • Improve data quality by flagging and fixing bad data and assigning quality codes and descriptions.
  • partitioned into yearly or seasonal periods,
  • summarized (daily weight changes),
  • cataloged and tied into the metadata (foundation type, hive orientation, mite treatment, etc.),
  • tracked and controlled with version control software,
  • released for use by researchers for data mining, online analytical processing, research and decision support.

Data Warehouse