分区 partition

create table temperature(id int,temp double) partitioned by(month int) row format delimited fields terminated by " ";

在关系型数据库中会存在一个一个的分区,那么这些分区主要是 为了让我们在查询数据的时候减小压力

 

 

原文地址:https://www.cnblogs.com/JBLi/p/10850112.html