fix: Added primary key to perf_times to improve DELETE performance on replicas using ROW based replication (#7493)

* fix: Added primary key to perf_times to improve DELETE performance on replicas using ROW based replication

* moved sql file

* moved sql file

* Rebased

* fixed schema

* moved sql file
This commit is contained in:
Neil Lathwood
2017-10-31 21:08:16 +00:00
committed by GitHub
parent 6e3ea8b28e
commit cb333071c8
3 changed files with 5 additions and 1 deletions

2
sql-schema/215.sql Normal file
View File

@@ -0,0 +1,2 @@
TRUNCATE `perf_times`;
ALTER TABLE `perf_times` ADD COLUMN `id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST;