Forrards Blog

130 cents total
System databases maintenance in SQL Server

Let’s talk about maintenance of system databases in MS SQL Server. There are a few differences from user databases.At first let`s remember what system databases we have and what do they stay for.Master – this database keeps all system-level information of SQL Server instance.Model – this databases is used as a template for all new databases created in SQL Server. Changing of the size, sorting options, recovery model or any other parameters of model database will lead to having the same values of those parameters in all databases created after you change model..

Forrards
March 31, 2023
Buffer Pool Extension in SQL Server 2014

I guess many have heard the phrase «640K ought to be enough for anybody», which Bill Gates is mistakenly thought to be the author of. Although RAM is constantly becoming cheaper, still its capacity is always not enough for database server. SQL Server features intelligent caching of frequently requested data, but the data size often exceeds the available amount of memory, which sometimes is difficult to expand. One of the interesting options appeared in SQL Server 2014 is Buffer Pool Extension, which enables cache of data pages on a state solid drive (SSD) in case the RAM is not enough. In this article I present a thorough overview of this technology using SQL Server 2014 CTP1.

Forrards
March 31, 2023
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Subscribe to our blog

                             

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
How to convert to Base64 and backwards via T-SQL

I want to share my way to convert a string to Base64 and back. Let me note that presented method is not the fastest, but it has one important advantage - it works OOB, without CLR functions. We need a test database and a table to use as an example:

Forrards
March 18, 2023
Performance and using of VARCHAR boxes as filters in SSRS reports

Very few people have thought about this performance killer. It is all about report parameter of text type.The initial situationThere was a table with about 45 million rows. Some columns in the table were VARCHAR and should have been filtered. As a result of filtering by 10 different parameters the total number of rows could have been significantly reduced. SQL Server was going for table scan in this case. Also there was a number of indexes defined on the table.

Forrards
March 18, 2023

Let's discuss your project or resource request

                       

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.