Nothing lost, the database isn't touched at all, only the files.
Now for the 2.17 version there is a lot of addons and changes, I still haven't upgraded yet because I'm looking at the sql scheme from one to another, it seems that an upgrade won't be possible.