After drop the partition,the index became unusable,what should I do,
问题 As I partitioned the target table for interval partitioning by month, and only keep 27 months data(so need drop the eldest partition monthly). After I use below SQL to drop it,I ran the SP, the SP was very slowly. alter table target_table drop partition target_eldest_partition; So I cancel the SP and analyzed the table ANALYZE TABLE target_table COMPUTE STATISTICS; but it encountered an error Error starting at line : 12 in command - ANALYZE TABLE per_limra COMPUTE STATISTICS Error report -