DAY1
数据类型
分为:structured data、semi-structured data、unstructured data,即结构化数据、半结构化数据与非结构化数据。
类型一、structured data:以关系型数据库表形式管理的数据。
特点:机构化数据的数据存储和排列都是具有规律性的,对于增删改查等功能支持友好。
id | name | age |
---|---|---|
1 | 张三 | 26 |
2 | 李四 | 22 |
类型二、semi-structured data:非关系模型的,有基本固定结构模式的数据,例如日志文件、XML 文档、JSON 文档、Email 等。
<student>
<id>1</id>
<name>张三</name>
</student>
类型三、unstructured data:没有固定模式的数据,如 WORD、PDF、PPT、EXL,各种格式的图片、视频等。
structured data:Easier to work with
unstuctured data:Harder to work with
大数据的定义
It's means so many or complex data exceeds processing capability of conventional data management systems or techniques.
Parallel Relational databases
perform manage update functions very well, and guarantee the ACID properties.
并行关系数据库可以很好地执行事务更新功能,并保证 ACID 属性
Shared nothing architecture
“A shared nothing architecture (SN) is a distributed computing architecture in which each node is independent and self-sufficient, and there is no single point of contention across the system. More specifically, none of the nodes share memory or disk storage”
简单的说:
shared nothing architecture是一 种分布式计算架构,这种架构中不存在集中存储的状态,整个系统中没有资源竞争,这种架构具有非常强的扩张性,在web应用中广泛使用。
Shared-nothing、shared-memory、shared-disk是并行系统最常使用的模式。
shared-memory:多个cpu共享同一片内存,cpu之间通过内部通讯机制进行通讯。
shared-disk:每一个cpu使用自己的私有内存区域,通过内部通讯机制直接访问所有磁盘系统。
和shared-memory、shared-disk相比,shared-nothing优势明显:在针对多用户并行访问的时候,通过横向扩充资源,能够减少response time。
PS:使用低性能、低成本的并行硬件(标量计算)比使用更少的高性能、高成本硬件更好。
Variety refers to the increased diversity in data
DAY2
定义:数据的特征feature
Veracity refers to the quality of data
Velocity refers to the
Volatility 变化性
Validity 有效性