Hello what happens if I switch from shared to PS with my databse, files and so on? Did they stay?

Are you asking whether your sites, files, databases and everything get moved over automatically or do you have to set them up all over again?

If so, then you’ve got nothing to worry about. The Dreamhost support staff responsible for switching you over will be responsible for moving everything over and getting everything running again. The only downside is that your sites and such will be down for the day or two this takes (this goes in parallel with the DNS propagation time).

The normal shared hosting plan process killer does not run on your Dreamhost PS server. Linux VServer will allow your processes to continue running but will only give them the CPU time that you’ve purchased plus any additional spare CPU time that hasn’t been purchased by the other PS users on your physical server. Memory-wise, as long as you stay under your dedicated memory allocation, your processes can run forever. They may, however, be killed if you exceed your dedicated memory allocation.