Blog Archives

SQL Tip: Identifying Column store index potential candidate tables in your databases for major query performance improvements

Column Store indexes appeared in SQL Server 2012 and by 2016 and beyond have progressed much further allowing their usage with fewer restrictions than before and this new storage mechanism for indexes and data provides significant gains for performance especially

Tagged with: ,
Posted in Column Store Indexes, SQL Server, sql server performance, Uncategorized

SQL Monitoring Solution Development – SQL Performance Dashboard Reports – Part 2 Customisation for centralised remote monitoring of SQL instances

In Part 1 of this series on SQL Server Performance Monitoring Dashboard I provided an intro. Now what we would like to do is to be able to run these reports remotely… without logging into a server or ever connecting

Tagged with: ,
Posted in Monitoring, SQL Server, SQL Server Administration, sql server performance

How to get GDPR compliant with Microsoft

When the EU’s GDPR (General Data Protection Regulation) is introduced next year, the bar for data privacy protection in the UK will be raised. For thousands of businesses GDPR highlights daunting issues of compliance. Organisations that fail to comply with

Tagged with: , ,
Posted in gdpr, security, SQL Server, SQL Server Administration, Uncategorized

SQL Tip: Memory limit too low. Instance failing to start

Quick note. SQL startup parameters set mistakenly by someone to be too low and instance is failing to start. Page/memory allocation errors in startup log of various types… Add startup parameter ‘-f’ and start the instance and change the memory

Tagged with: , ,
Posted in SQL Server, SQL Server Administration, SQL Tips, Uncategorized

SQL Server 2016 – Always Encrypted and the GDPR

Originally posted on Matthew McGiffen DBA:
The European General Data Protection Regulation (GDPR) is coming, bringing new rules about the protection of Personally Identifiable Information (PII). For those of us in Europe – or wishing to sell software products and…

Posted in Uncategorized

SQL Central Management Server – Definition, Benefits and setup

Central management servers store a list of instances of SQL Server that is organized into one or more central management server groups. Actions that are taken by using a central management server group act on all servers in the server group. This includes connecting to servers by using Object Explorer and executing Transact-SQL statements and Policy-Based Management policies on multiple servers at the same time

Tagged with: ,
Posted in SQL Server, SQL Server Administration, Uncategorized

SQL Tip – Comma delimited list from a table column

If you want to extract query result of a column to a variable as Comma separated values list use the following example and modify accordingly. declare @Dblist varchar (max) set @Dblist = ” select @Dblist = case when @Dblist =

Tagged with:
Posted in sql, SQL Server, tsql

Microsoft SQL Server Performance Dashboard Reports – 1 – Intro & Default Install

Performance Dashboard Reports are Reporting Services report files designed to be used with the Custom Reports feature of SQL Server Management Studio. The reports allow a database administrator to quickly identify whether there is a current bottleneck on their system, and if a bottleneck is present, capture additional diagnostic data that may be necessary to resolve the problem.
CPU bottlenecks (and what queries are consuming the most CPU)
IO bottlenecks (and what queries are performing the most IO)
Index recommendations generated by the query optimizer (missing indexes)
Blocking
Latch contention

Tagged with: , , , , ,
Posted in reporting, sql, SQL Server, sql server performance

Database cannot be opened because it is version 782. This server supports version 706 and earlier. A downgrade path is not supported.

This is the error message or similar to it when you try to attach a database from a more advanced version of SQL Server to an old one. To resolved 1. Try to locate a SQL Server Version most advanced

Posted in Uncategorized

PAGE_VERIFY Database Option

Short story… PAGE_VERIFY Database Option should be set to “CHECKSUM” . This will reduce your chances of data corruption significantly and has (almost) no performance impact. That almost means a little CPU overhead but yes you should not jeopardize the

Posted in Uncategorized