In Sharepoint 2010, the Remote Blob Storage (RBS) functionality, which allows putting documents into the database filesystem instead of the database.But the metadata about the documents is stored in content database.And each content database is located in a specific section of the file system where all the documents are stored.
Here are the list of powershell commands to enable RBS in sharepoint.
cdb = Get-SPContentDatabase WSS_Content_Blob_001
$rbs = $cdb.RemoteBlobStorageSettings
$rbs.SetActiveProviderName($rbss.GetProviderNames()[0])
To make sure that it works, you need to enable FILESTREAM on the instance of the SQL Server Database Engine. This topic describes how to enable FILESTREAM by using SQL Server Configuration Manager.