DC
Size: a a a
DC
YK
YK
YK
AR
DC
DC
AR
DC
AR
АМ
DC
a
AV
AP
DC
select concat('optimize table `',table, '`partition ',partition, ';')
from system.parts
where active = 1 and table like '....' and partition like '%201906%'
group by database,table,partition
order by database,table,partition
DC
AV
a