In this article we can able to see how to move site collection from one content database to another content database using PowerShell.
Using Move-SPSite , this is used to move a site collection from one content database to another content database.
We have to execute the below command.
Move-SPSite -Identity "http://dotnetsgharepoint.com/sites/movesitecollection"-DestinationDatabase "WSS_AnotherDBName"
-Identity is used to identify the site collection
Once Move-SPSite command executed, have to restart the IIS, run the iisreset command on all the servers in the farm to reflect changes in the IIS.