3

In a MariaDB Database, I'm trying to:

ALTER TABLE `table` 
ADD COLUMN `field1` BIGINT(6) UNSIGNED NOT NULL AFTER `field2`;

It is a great table with millions of registers (records). The DDL command runs for a long time. I don't mind if field1 is placed at the end or not. In performance terms, is better to place it at the end or not?

Robert Columbia
  • 6,313
  • 15
  • 32
  • 40
framontb
  • 1,817
  • 1
  • 15
  • 33

0 Answers0