Drop unused index from issuedNames table (#5290)
Drop the reversedName_renewal_notBefore_Idx from the issuedNames table. This index was added to facilitate rate limit queries, but we now use the certificatesPerName table for rate limits instead. Keep the reversedName_notBefore_Idx in place, as it is still useful for gathering stats on how many hostnames have active certificates. Fixes #3180
This commit is contained in:
parent
e2e7dad034
commit
23f5724233
|
|
@ -0,0 +1,10 @@
|
||||||
|
|
||||||
|
-- +goose Up
|
||||||
|
-- SQL in section 'Up' is executed when this migration is applied
|
||||||
|
|
||||||
|
ALTER TABLE issuedNames DROP INDEX `reversedName_renewal_notBefore_Idx`;
|
||||||
|
|
||||||
|
-- +goose Down
|
||||||
|
-- SQL section 'Down' is executed when this migration is rolled back
|
||||||
|
|
||||||
|
ALTER TABLE issuedNames ADD INDEX `reversedName_renewal_notBefore_Idx` (`reversedName`,`renewal`,`notBefore`);
|
||||||
Loading…
Reference in New Issue