dcs.pl - logo 30 years
  • Solutions
  • Blog
PL EN
  • Software on Demand
  • Our Products
  • Software Distribution
  • SaaS
  • IT Services
Financial and Insurance Products (ABP)
Comprehensive platform for distribution and sale of, among others, Insurance. The best Time2Market on the market. Integrations with UFG, CEPIK, Eurotax. Universal API.
SMS Gateway
This two-way gateway enables free SMS messaging, allowing operators to promote services, earn from replies, and expand reach through website integration.
Utility Cost Management System (UCMS)
UCMS enables companies to efficiently analyze, monitor, and manage utility consumption.
Intranet Systems
Our intranet systems offer secure solutions with SharePoint or open-source platforms, enabling internal communications and Active Directory integration.
Distribution List and Shared Mailbox Manager (DSM)
The DSM application lets employees manage distribution lists and Exchange mailboxes, with minimal administrator involvement.
Application Test Console (ATC)
Software that enables real-time monitoring of servers, web applications, services, and databases using automated tests, with alerts for irregularities sent via SMS and email.
File Share Manager (FSM)
A web application for managing Windows network shares (permissions, quotas, statistics) in a self-service model.
Lock Screen Manager (LSM)
The system allows automatic updates to lock screen and wallpaper images across all computers in the organization.
SMS Password Manager (SPM)
Self-hosted web application that enables users to reset Active Directory passwords and unlock accounts via SMS.
Microsoft Office 365
Microsoft M365 subscriptions in the CSP model. Access to the latest office applications, innovative AI features such as Microsoft Copilot.
VMware
Number one in the field of IT system virtualization - from needs analysis, through design, to implementation and post-implementation support.
Microsoft SPLA
Sales of Microsoft licenses in a monthly subscription model SPLA (Service Provider License Agreement) for products such as Windows Server, SQL Server, Exchange.
Veeam
We are a licensed partner of Veeam, a leading provider of backup and disaster recovery solutions for virtualized environments.
Proxmox
Secure and reliable enterprise-class solutions for managing virtual servers, backing up virtual environments, and protecting email servers.
Hosted SMS
Advanced platform for sending bulk SMS messages. Email2SMS, extended API allows for full integration with company systems.
eCzasPracy.pl
System enables efficient employee work time registration, streamlining attendance tracking and workforce management.
Hosted Exchange
The Hosted Exchange platform is a complete email service using Microsoft Exchange Server and Outlook.
Share File Safe
Secure file exchange from servers, allowing password-protected sharing while maintaining full data control.
Hosted Windows
Windows Server hosting platform MS SQL/.NET which allows you to run applications and websites without incurring server infrastructure costs.
Przeglądy Budynku (Building Inspections)
Centralizes building inspections, from chimney and electrical checks to photovoltaics and elevator maintenance, ensuring efficient property management and compliance.
SMS Vote
SMS Vote is an interactive voting system that enables real-time audience engagement via SMS, ideal for events, media, and live broadcasts.
Exchange Migration
Migrations from MS Exchange 2003, 2010, 2013 and 2019 systems as well as from Lotus Domino systems to MS Exchange
IT Deployment
Comprehensive service including business needs analysis, planning, implementation and post-implementation support. We specialize in Microsoft solutions.
    • Solutions
      • Software on Demand
        • Financial and Insurance Products (ABP)
        • SMS Gateway
        • Utility Cost Management System (UCMS)
        • Intranet Systems
      • Our Products
        • Distribution List and Shared Mailbox Manager (DSM)
        • Application Test Console (ATC)
        • File Share Manager (FSM)
        • Lock Screen Manager ( LSM)
        • SMS Password Manager (SPM)
      • Software Distribution
        • Microsoft Office 365
        • VMware
        • Microsoft SPLA
        • Veeam
        • Proxmox
      • SaaS
        • Hosted SMS
        • eczaspracy.pl
        • Hosted Exchange
        • Share File Safe
        • Hosted Windows
        • Przeglądy Budynku (Building Inspections)
        • SMS Vote
      • IT Services
        • Exchange Migration
        • IT Deployment
    • Blog
  1. dcs.pl
  2. Blog
29-09-2015 Marcin Zawadzki SQL

Performance of Applications Using Microsoft SQL Server

Sooner or later, every system administrator deals with database performance issues. This happens because developers, when creating new applications, often use small amounts of test data without dedicating much time to optimizing their performance. Once an application is launched in a production environment, the amount of data accumulated in the database increases over time, causing the application to run slower... to the point where it sometimes makes it impossible for users to work.

Fortunately, for applications using the Microsoft SQL Server database server, administrators have access to tools that can significantly improve the performance of such applications in many cases. This entire performance optimization process is called database tuning and consists of several steps.

Performance Monitor

The primary optimization is identifying the resource that is the bottleneck. Such a performance bottleneck can be disk access, the amount of RAM, CPU load but also an excessive number of users accessing the same data, resulting in mutual blocking. Diagnosis can be made by checking system counters (CPU usage percentage, free RAM, disk queue) as well as database counters (buffer and cache utilization, and lock-related counters).

Next, the application administrator should identify the queries that are the source of the problems. A key tool in this process is SQL Profiler as well as built-in database reports—particularly "Top Queries by Total CPU Time" and "Top Queries By Total IO." If disk and CPU utilization are low, but queries are timing out, it is also important to check "Object Execution Statistics," "Top Queries By Average CPU Time," and "Top Queries By Average IO."

object execution statistics

A common problem that can reduce performance is missing indexes. These can be identified by analyzing the queries that are causing issues using the built-in "Database Engine Tuning Advisor" or by checking the appropriate dynamic views that collect information on missing indexes based on historical data (search for: "missing index script"). However, it is important to remember that having too many unnecessary indexes can also lead to performance problems, as they need to be maintained during insert, update, and delete operations. In some cases, these tools may not point to a solution, and manual query plan analysis may be required (for example, identifying a missing index on a functional column).

If, despite having indexes in place, the database chooses the wrong query plan, the issue might be outdated or completely missing statistics. The solution is to set the appropriate options on the database (auto create/update statistics), or establish a proper maintenance plan that includes recalculating statistics. It is also possible to force a specific query plan, but this is usually the last resort, and one should be very cautious when taking this approach.

In some cases, issues related to blocking can be addressed by setting the appropriate isolation level for transactions. The "snapshot" isolation level, which can be enabled in the database properties, can help in such situations. In some cases, it may be necessary to rewrite certain functions, procedures, or views in the database if the application is utilizing these objects.

In the case of business applications, a common problem is caused by reports that are generated during the normal operation of the application. A solution to this issue could be to move report generation to night hours, or to separate the reporting part from the part responsible for the ongoing operation of the application.

Finally, it is also worth mentioning index defragmentation, data partitioning, and the proper arrangement of structures on disk (for example, the transaction log file should be on a different disk than the database file, the tempdb database should be on a different disk than user databases, and indexes can be placed on a different disk than the table from which the data is retrieved). Of course, in this last case, we're referring to physical disks—assigning files to different partitions on the same disk or on a RAID5 array doesn't make much sense.

The above methods are important because they allow administrators to resolve performance issues with applications without modifying them. Proper database modeling or modifying the application code to enhance database performance are topics that warrant a separate discussion.

Powiązane

Nowy tester aplikacji - czyli monitorowanie wewnętrznych i zewnętrznych aplikacji biznesowych
Niedoceniona migracja bazy danych SQL (1/2)
Tweet

1 komentarze

RomekNov. 7, 2015, 12:58 p.m.

deadlocki, to jest wyzwanie - najczęściej spowodowane źle zaprojektowaną aplikacją

Odpowiedz
Zgłoś

Categories

  • Software 11
  • Implementations, migrations, support 3
  • Custom Software 2
  • SMS marketing 3
  • Contests 2
  • Intranet systems 2
  • Administration tools 6

Tags

administracja administration bezpieczeństwo it case study django CMS dla firm featured głosowanie sms hostedsms hosting
dcs.pl - linkedin
Stay up to date Follow us on LinkedIn for updates and more information.

Contact

dcs.pl Sp. z o.o,
ul. Puławska 303,
02-785 Warszawa,
NIP: 951-20-63-362,
+48 22 5486000,
info@dcs.pl

Company

  • About Us
  • Blog

Resources

  • Privacy Policy

Other Services

  • Software development
  • Hosting & deployment
  • Outsourcing

Our Products

  • Administration tools
  • Software as a Service
  • Finacial & insurance products

Our Services

  • Hosted SMS
  • Hosted Exchange
  • Hosted Windows
  • eCzasPracy.pl
  • Przeglądy Budynku
  • Share File Safe
  • File Share Manager
dcs.pl - linkedin
Stay up to date Follow us on LinkedIn for updates and more information.

Copyright ©dcs.pl 1995-2025 Sp. z o.o. All rights reserved.