cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg38 <>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-9340: General DB Optimization
Date Wed, 04 May 2016 14:09:01 GMT
Github user serg38 commented on the pull request:
    Thanks @koushik-das. Looks like before 5.6 Mysql auto restricted length of InnoDB indexes
to 255 characters without giving trouble if index length is not specified. For public_key
index in ssh_keypairs table first 64 bytes is enough to make good index. @nvazquez let's change
this index creation to 
    ALTER TABLE `cloud`.`ssh_keypairs` ADD INDEX `i_public_key` (`public_key`(64) ASC);

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message