Hi everyone

Today I wanted to share a tip if your WSUS database (SQL) is eating too much resource on your server.

Like shown there;

image-1.png?w=457

or there too;

image-2.png?w=536

There is multiple way to do it, but I wanted to share a simple way to do it without any native SQL tool installed. For that reason I used HeidiSQL portable edition.

image-3.png?w=873

After it's open, you need to select a named pipe;

image-4.png?w=640

Click to use windows authentication, and in the database path please put;

\\.\pipe\Microsoft##WID\tsql\query (Windows Server 2012 +)
or 
\\.\pipe\mssql\$microsoft##ssee\sql\query (pre 2012)

It would look that way;

image-5.png?w=606

After that you it the Request tab, and you enter;

image-6.png?w=829

You can check the configuration;

image-7.png?w=597

After you issue the last command to set the memory you want it to use;

image-8.png?w=702

In my example I used 512, but I recommend 1024+ in the minimum.

To resume, it would be those command we used;

exec sp_configure 'show advanced option', '1';

reconfigure;

exec sp_configure;

exec sp_configure 'max server memory', 2048;

reconfigure with override;

Next Post Previous Post