Talk:Riven Mods/@comment-172.249.120.51-20180508220125/@comment-9389250-20180515052218

"[%Prefix%-%Core%%Suffix%][%mod1%\n%mod2%\n%mod3%\n%mod4%\n%mod5%\n][%mr%][$roles%][%rank%]"

'''This is more representative of a template you might use online, and I'm sure there's an entire DB table just for rivens that link to the player id.. But storing this would simply be saving a few numbers, your player id being the longest, since every part of the riven can be stored as a number then correspond to name lists in static arrays, the percentages data wouldn't add much either up to 5 floating points... so I think from the template side, we can say we are using more space than it actually would in the database.

So that one line is 90 bytes, 90x90 bytes = 12288 bytes, 12Kb for all your Rivens. As of March, 38,083,936 players, 85 players per 1Mb….. Ok see if i did this right… 12 * 38,083,936 = 457,007,232 bytes / 1024 = 446,296 Mb (56 Gb for every player’s combined riven collection)...

Then again, they could be really suck at server and database optimization and slap together all information taking up 1 mb per Riven!'''