Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Current »

There are a couple of issues that can occur within SQL that may cause some server-side performance, which can create performance issues within GlobalSearch.

Problem

SQL Server Eating Up All Server RAM

SQL will use as much RAM as it thinks it needs, regardless of the memory consumption of other applications on the server. This can lead to a SQL Server Instance causing a server to become unstable or have performance spikes. You can mitigate this issue by stipulating an upper threshold of memory usage for the SQL Server.

Solution

Limit SQL Server Usage

  1. Open SQL Server Management Studio (SSMS)

  2. Right click the database object in the object explorer and click "Properties"

  3. Select the "Memory" page and set "Maximum server memory (in MB):" to your maximum desired usage

  4. Hit "OK" and restart your SQL Server

The following screenshot demonstrates these steps:

Configure memory in SSMS

Problem

SQL Databases are Constantly Opening and Closing, filling up Event Viewer with Notifications

Oftentimes GlobalSearch databases are set to utilize "Autoclose" which will close the SQL database when it is not in use. This can cause issues with performance both on the SQL side, needlessly fill up your Event Viewer with verbose data, and in some cases, cause other system issues.

Solution

Disable Auto Close

  1. Open SQL Server Management Studio (SSMS)

  2. Expand "Databases" in Object Explorer

  3. For each of your production databases and GlobalSearch System databases, do the following:

    1. Right click the database and click "Properties"

    2. Open the "Options: page

    3. Under the "Other Options" Section locate "Auto Close" under the "Automatic" Section (you may have to scroll upwards to find this section)

    4. Set "Auto Close" to False

    5. Hit "OK"

The following screenshot demonstrates these steps:

The following SQL script is equivalent to the above steps:
Be sure that you update the [SmartSearch] to reflect the database you want to disable Auto Close on.

USE [master]
GO
ALTER DATABASE [SmartSearch] SET AUTO_CLOSE OFF WITH NO_WAIT
GO




  • No labels