Saving characters online.

Today I woke up with a very interesting idea. I was asking myself how do big MMORPG`s like World of Warcraft, Black Desert, Archage etc. save their player characters. Do they save them in some type of Mysql thing? (Probably not because they have to save all your items, stats, achievements, etc.) Or is it in some kind of file on the server computer?