- By defaults WSS_Logging keeps 14 days information that result in a big database. 3 days information is sufficient for most test.
- Check below result from Sql Management studio and size of database
- To change in log configuration you need to open Share point management shell As a Administrator.
- Run below command to change log days from 14 to 3
 PS C:\Users\dynamicsax.admin> Get-SPUsageDefinition | ForEach-Object { Set-SPUs
 ageDefinition $_ -DaysRetained 3}
- Then check again using above given command you will get below output.
  
Thursday, April 6, 2017
Shrink WSS_Login_Database in Share Point
Subscribe to:
Post Comments (Atom)

 
No comments:
Post a Comment