ALTER TABLE ... ALGORITHM=INPLACE, LOCK=NONE;Unless you have downstream slaves that are lag sensitive. They you'll probably have to pt-online-schema-change with drop-swap FK handling, but that is not entirely risk-free (you might get FK violations during the drop-swap).On Sat, 22 Mar 2025, 19:28 edi mari via discuss, <discuss@lists.mariadb.org> wrote:Hi,_______________________________________________I have a 200GB table with a foreign key constraint, and I need to drop an existing index and add a non-unique index to it.What is the best approach to do this with minimal impact on users?ThanksEdi
discuss mailing list -- discuss@lists.mariadb.org
To unsubscribe send an email to discuss-leave@lists.mariadb.org