Introduction In-memory technologies are one of the greatest ways to improve performance and combat contention in computing today. By removing disk-based storage and the challenge of copying data in and out of memory, query speeds in SQL Server can be improved by orders of magnitude.
Memory pressure slowing down queries This article is the sequel in a series about SQL Server monitoring tools and common performance issues. The first article SQL Server monitoring tools for disk I/O performance is about how to detect and solve high input/output on hard disk subsystems when doing too much work during peak or maintenance […]
This is the continuation of the previous article SQL Server In-Memory database internal memory structure monitoring. In this article we are going to dissect the details of other components that are available to validate the SQL Server In-Memory objects.
We can use a variety of available options to keep systems performing at their very best. The SQL Server In-Memory OLTP technological advancement is a great innovation to relieve tempdb contentions. This feature is available with an additional advantage to monitor systems without incurring stress on the database servers.
In this article, I’ll be exploring another new feature with SQL Server 2019, row mode memory grant feedback, along with a retrospective on adaptive query processing, examples and more.
A SQL Server backup and restore strategy is an essential process to safeguard and protect critical data. The vital role of any DBA is to minimize the risk of data loss and preserve data modifications at regular intervals of time. A well-planned and well-tested backup-and-restore strategy always help to protect the organization with no data […]
This article explores SQL Sort, Spill, Memory and Adaptive Memory Grant Feedback mechanism in SQL Server.
Applies to SSRS Description This counter monitors all reports that were retrieved directly from CPU in-memory without querying SQL Server’s report cache. This method of rendering a report is very fast as it avoids unnecessary SQL Server database roundtrips. The value returned is a numeric whole number which is reset every time the Report Server […]
Applies to SSAS Description This performance counter relates to the measurement of Analysis Services internal server memory. It monitors the total amount of memory, in kilobytes (KB), known to the background cleaner. The total amount of memory refers to both shrinkable and non-shrinkable categories of Analysis Services internal server memory. Whilst shrinkable memory can easily […]
Applies to SSIS Description Flat buffers refer to special chunk of memory that is usually used by the data flow transformation components such as the Aggregate transform. This performance counter monitors the total number of these chunks of memory used by the Integration Services. The value of this performance counter is measured in bytes and […]
Applies to SSAS Description Analysis Services uses memory limit settings to determine how it allocates and manages its internal memory. This performance counter measures, in kilobytes (KB), the hard memory limit from the SSAS msmdsrv.ini configuration file. Memory cleaner threads monitors this metric or file setting to determine the rate at which it will begin […]
Applies to SSRS Description SSRS response to request from client application can be affected by the available memory in the server. This performance counter gives you an indication of current memory state. Current memory state value can be in a range of 1 to 5, whereby 1: no memory pressure; 2: low memory pressure; 3: […]
Applies to SSAS Description This performance counter relates to the measurement of Analysis Services processing of aggregations in MOLAP data files and it monitors the total memory size, in bytes, of the current aggregations. Resolved by DBAs, Server administrators, BI developers Suggested solutions Consider changing the value of “LimitSystemFileCacheSizeMB” property according to your RAM requirements […]
Applies to SSAS Description This performance counter relates to the measurement of Analysis Services processing of aggregations in MOLAP data files and it monitors the current row size of current aggregations in memory. Resolved by DBAs, Server administrators Suggested solutions Avoid doing unnecessary aggregations Reduce the number of attributes in the dimensions Increase the size […]
Applies to SSAS Description This performance counter relates to the measurement of Analysis Services internal server memory. It monitors, in kilobytes, the total virtual memory usage for the server process. The total virtual memory is calculated by adding up page files and physical memory. The value of this metric should be similar to what you […]
Applies to SSRS Description When a request for a report is received from the client, Report Server can either render the report using data from SQL Server, or retrieve the same copy of the report from a cache. This counter monitors all reports that were retrieved directly from CPU in-memory without querying SQL Server’s report […]
Applies to SSIS Description This performance counter measures the total number of physical or virtual memory currently being used by all SSIS packages and can be compared with the amount of available system memory to know if Integration Services processing is bottlenecked by the available RAM. The recommended value for this counter is the one […]
Applies to SSIS Description A transformation task such as the Sort transform may require additional physical or virtual memory at runtime. In such cases, the data flow engine will generate a private buffer required by the given data transformation. This performance counter monitors the total number of physical and virtual memory created at runtime by […]
SQL Server In-Memory OLTP, also known as Hekaton when it was introduced in SQL Server 2014, provides us with the ability to move specific database tables and suitable stored procedures into memory and compile the stored procedures into native x86 code. As a result, you can easily query these database objects directly from memory with […]
The SQL Server Database Engine stores data changes in the buffer pool, in memory, before applying it to the database files, for I/O performance reasons. After that, a special kind of background process, called Checkpoint, will write all of these not reflected pages, also known as Dirty Pages, to the database data and log files […]
With Microsoft SQL Server, like all Microsoft products, you will enjoy experiencing new features and enhancements to the existing ones, when a new SQL Server version is launched. These SQL Server enhancements concentrate heavily in simplifying and speeding up the data retrieval without consuming excessive resources.
The following article applies to SQL Server versions 2008 + Adequate memory is one of the most important factors for a well-functioning instance of SQL Server. By design SQL Server manages its own memory allocations via the SQLOS rather than having the servers Operating System perform this task.
TempDB usage can be considered as a performance bottleneck for workloads that use SQL temp tables and table variables intensively resulted in heavy IO usage. A valuable alternatives for the SQL temp table and table variable are SCHEMA_ONLY Memory-Optimized tables and the Memory-optimized Table Variable, where the data will be completely stored in the memory […]
With the introduction of Microsoft’s new In-Memory OLTP engine* (code name Hekaton) a new type of nonclustered index was introduced to help you search the in-memory tables based on a range of values. Although the name is similar it does differ from the one we have in the traditional disk tables.
With the introduction of Microsoft’s new In-Memory OLTP engine (code name Hekaton) the familiar B-Tree indexes were not always the optimal solution. The target of the Hekaton project was to achieve 100 (hundred) times faster OLTP processing, and to help this a new index was introduced – the hash index.