分区 partition

create table temperature(id int,temp double) partitioned by(month int) row format delimited fields terminated by " ";
在关系型数据库中会存在一个一个的分区,那么这些分区主要是 为了让我们在查询数据的时候减小压力
作为一个真正的程序员,首先应该尊重编程,热爱你所写下的程序,他是你的伙伴,而不是工具。
create table temperature(id int,temp double) partitioned by(month int) row format delimited fields terminated by " ";
在关系型数据库中会存在一个一个的分区,那么这些分区主要是 为了让我们在查询数据的时候减小压力