In the highscalability blog, Todd Hoff talks about the wiki architecture SO adopted (initially), crunches that followed and mentions the painful refactoring needed to get back on track.
To quote:
Stack Overflow copied a key part of the Wikipedia database design. This turned out to be a mistake which will need massive and painful database refactoring to fix. The refactorings will be to avoid excessive joins in a lot of key queries. This is the key lesson from giant multi-terabyte table schemas (like Google’s BigTable) which are completely join-free. This is significant because Stack Overflow's database is almost completely in RAM and the joins still exact too high a cost.
Edit:
Since this direct question to the Stackoverflow team did not invite any answers, I’ve modified it directed at the mediawiki database architecture.
Is it fine to copy the mediawiki database architecture to design your own wiki? Is there a better renormalized architecture out in the wild that I can take a look at? One that keeps the existing features intact but cuts down on the joins.
In general, I am looking forward to learn about wiki architectures and how its maintained on a case to case basis.
P.S. Not sure if this belongs to Meta