Steam Deck: Hogwarts Legacy performance

Yes, Hogwarts Legacy runs great on your little buddy, the Steam Deck! But of course, it’s never perfect. Are you for looking for some performance improvements, you can try to add the options below. Open desktop mode  (or use ssh/scp),  open dolphin/file explorer and edit the following file: Or with…

Read More

T-SQL: Check cpu usage SQL statements

T-SQL-Commands

To identify the queries that are responsible for high-CPU activity currently, run the following statement: If queries aren’t driving the CPU at this moment, you can run the following statement to look for historical CPU-bound queries:

Read More

Steam Deck: Transfer files from Windows to Deck

If you still have a Windows system somewhere, and you want to transfer files to the deck, you can easily transfer those files using SSH default, the deck has a ssh server installed, but this isn’t started.You can easily enable that using a terminal on the deck, and execute: Once…

Read More

T-SQL: Shrink incremental

T-SQL-Commands

First off you don’t ever shrink a database file unless you known it won’t need the space back again. (There’s some caveats to that statement but it mostly holds true) If that’s the space the file has consumed generally that’s the space the file needs. Shrinking just means the file…

Read More

Steam Deck: SteamGridDB plugin

SteamGridDB Decky Loader plugin

Personally I didn’t like installing special plugins on the Steam Deck, just because..I don’t know :). Then I noticed that they is a plugin for ‘SteamGridDB’. What is SteamGridDB? Well, that’s a website which has a LOT of artwork for a lot of games for the steam client. If you…

Read More

Steam Deck: enter the bios

Steam Deck BIOS

In order to enter the BIOS of your Steam Deck, you can follow the procedure below. 1. Hold the Power button on your Steam Deck. 2. Turn off your Steam Deck by selecting Shut Down from the options that appear on the screen. 3. Press and hold the Power and Volume Up buttons until you hear a beep. 4. Select Setup…

Read More

T-SQL: Clear msdb backup history

T-SQL-Commands

After a while,the msdb database can be overloaded with backup history, and clearing that history can be a pain. You can use the t-sql code below to clear the msdb backup history, in incremental steps of 1 week.

Read More

Linux: migrate storage with pvmove

1. Begin by pvcreate’ing the new disk. This is the disk from the new storage array to which we want to migrate to. # pvcreate /dev/mapper/mpathY 2. Now, add this disk into the data_vg Volume Group : # vgextend data_vg /dev/mapper/mpathY Make sure there are free extents on the new…

Read More

Systemd: automatically restart after failure

With systemd you can configure the service so that it automaticaly restarts the service in case the service crashes.It’s enough to add the “restart” option to the [service] stanza within the service systemd configuraiton file.See example below. Of course, you need to reload the systemd file in order to active…

Read More

Clamav: limit memory usage

Once in a while the clamd process can get killed because of memory usage. It turns out it would always get killed when reloading the database after an update. This is due to the fact that during a database reload clamd will load the new DB first and then drop the old…

Read More

T-SQL: Add/drop pass to open a database master key

T-SQL-Commands

When SQL Server needs a database master key to decrypt or encrypt a key, SQL Server tries to decrypt the database master key with the service master key of the instance. If the decryption fails, SQL Server searches the credential store for master key credentials that have the same family…

Read More