官术网_书友最值得收藏!

The database - persistence

Data is the name we give to raw information, which is information that we cannot easily aggregate or understand. Without a way to store and meaningfully process and retrieve this data, it will always remain data and never information, which is what we actually want.

If we just hook up a sensor and display whatever data it reads, we are missing out on a lot of additional information. Let's take the example of temperature: what if we wanted to find out how the temperature was changing over time? What if we wanted to find the maximum and minimum temperatures for a particular day, or a particular week, or even within a custom duration of time? What if we wanted to see temperature variation across locations? There is no way we could do any of this with only the sensor. We also need some sort of persistence and structure to our data, and this is exactly what the database provides for us.

If we structure our data correctly, getting the answers to these questions is just a matter of a simple database query.

主站蜘蛛池模板: 湄潭县| 通江县| 天祝| 临漳县| 库车县| 稻城县| 调兵山市| 金平| 深圳市| 嵊州市| 金昌市| 修武县| 黑龙江省| 文昌市| 体育| 吉林省| 鄂伦春自治旗| 哈尔滨市| 合川市| 永靖县| 浑源县| 如东县| 石首市| 琼海市| 山阳县| 孟州市| 镇赉县| 凌源市| 额敏县| 卓资县| 静乐县| 赞皇县| 安多县| 田阳县| 天峻县| 桂林市| 南川市| 广德县| 柞水县| 潍坊市| 商洛市|