On my website I've build myself I have the links to the articles looking as follows:
my_website.com/article/33/some-article
my_website.com/article/213/another-article
Say there're around 10 000 of them. Now they're retrieved by an id only, the part that goes after an id is added to an url on the fly when an article has been retrieved already. I want to change them to look like this:
my_website.com/article/some-article
my_website.com/article/another-article
Thus I'll need to add an index to "article_friendly_title". It might be 50 characters long. I wonder, will that bring a lot of overhead and about how much will it slow down the fetching from a db articles process? My guess it'll be significantly slower. Nonetheless, there're many websites that have the same kind of url for products or articles and they seem to be fine with that.