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

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.

主站蜘蛛池模板: 蓬安县| 塔城市| 全椒县| 乌兰浩特市| 浦江县| 栖霞市| 罗山县| 江源县| 孙吴县| 富川| 洮南市| 长春市| 宁阳县| 斗六市| 长沙市| 图们市| 德兴市| 平远县| 金堂县| 龙井市| 彝良县| 汉沽区| 镇康县| 仙游县| 大连市| 石楼县| 克山县| 德格县| 且末县| 噶尔县| 金昌市| 梁平县| 海城市| 临清市| 饶平县| 临海市| 桦甸市| 新巴尔虎左旗| 北川| 津市市| 临沂市|