Quantcast
Viewing latest article 2
Browse Latest Browse All 3

Adding a second Web Analytics staging database

Problem

Received a notification that the Web Analytics Service running time for the ‘Logging Extractor’ component was higher than the threshold. The recommended action was to add more staging databases for the service application to ‘balance the load’.

Image may be NSFW.
Clik here to view.

Solution

Using SharePoint Management Shell, run the following commands:

  1. Get-SPWebAnalyticsServiceApplication -identity “<name of service application>
  2. Record the name of the existing database server and database name.
  3. Now, type in the following command but include a second database name.
  4. Set-SPWebAnalyticsServiceApplication -identity “service appplication name” -ListOfStagingDatabases “<StagingDatabases><StagingDatabase ServerName=’db server’ DatabaseName=’old db name’/> <StagingDatabase ServerName=’db server’ DatabaseName = ‘new db name’/></StagingDatabases>”

This will create a second staging database on the database server.


Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.

Viewing latest article 2
Browse Latest Browse All 3

Trending Articles