Quantcast
Channel: MySQL performance of applying unique constraint single column vs combination column - Database Administrators Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by eroomydna for MySQL performance of applying unique constraint...

The duration of the creation of the index will be directly related to the size of the index. I don't think it would be wildly different for the 2 options provided. Under the hood MySQL is going to copy...

View Article



MySQL performance of applying unique constraint single column vs combination...

I have a large MySQL InnoDB table containing around 137 million rows.I need to add a unique constraint to the table. We have two options:1) A combination index on three columns, one of which will be...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images