I want to update partitions using below code.
msck repair table_name
(I can't use the other options such as refresh statement like that)
But I don't know the best way to update partitions.
1) I run that code every minutes.
2) I select the partitions using show command then if partitions doesn't exists then run that code.
show partitions table_name
Which is the best way to update partition (the other option is okay), so there is no limitation to search data ?
Would you give me an advice?