Should I Store Files in the Database?

SQL Server can store binary large objects such as files inside the database. Why might you want to store files inside the database? What problems might it cause and what alternative options should you be considering? I have experience managing several large SQL databases consisting of up to 160TB …

Continue reading →

DBA Dash Overhead

All monitoring tools have some overhead associated with them but generally, the overhead is low compared to the value they deliver. How much load does DBA Dash add to a server? To find out I setup an extended event to capture the queries ran by the DBA Dash agent. I left the trace running for over …

Continue reading →

Get drive data for ALL drives in T-SQL

There are a few methods you can use to get drive information using T-SQL. The problem is all these methods have some limitations. They provide free space but not drive capacity or they only provide data for volumes that contain database files. Ideally Microsoft would provide an easy way to get both …

Continue reading →

Set Max Server Server Memory at Startup

Max server memory is one of the SQL Server configuration options that you should change from the default value. Brent Ozar has some good advice on this here. TLDR: You should leave some extra memory for the o/s. A good starting point is to leave 10% (4GB minimum). If you are running other processes …

Continue reading →

What happened to WiseSoft.co.uk?

WiseSoft.co.uk was created back in 2008 as a way for me to share scripts and applications with the community. I developed the website myself using .NET and created my own content management system that would make it easy to add new scripts, applications and articles to the website. At this time I …

Continue reading →

.NET Syntax Highlighter

My old website had an online syntax highlighter tool. I’ve since migrated to WordPress and I’m no longer able to host this tool. I’m posting the source code used instead - there are probably more sophisticated options available, but hopefully someone will find this useful! Use the FormatCode method …

Continue reading →

Update User Attributes from CSV File

Update active directory user attributes from a CSV File. (See Notes section for additional information and instructions) Notes This script can be used to update Active Directory User attributes from a CSV file. One column in the CSV file is used to match rows in the CSV file to user accounts in …

Continue reading →