SQL Server Blog Forum » Performance
52 FOLLOWERS
Read the latest news, information about SQL Performance in the section of SQL Server Blog Forum. Hi i am Muthukkumaran Kaliyamoorthy, I'm passionate about SQL Server And I'm specialized in Administration and Performance tuning. I'm an active member of SQL server Central and MSDN forum.
SQL Server Blog Forum » Performance
2y ago
Let me give an overview of one of multi join Ad hoc query with couple of where condition, which I got received to improve the run time speed. I got a statement from a developer that one of code is running long time, more than 15+ hours, which usually runs in less than a minute. I have asked them how a less than minute code will run more than 15 hours, they said no changes made, I am sure they are lying and it is a Ad-hoc, I cannot trace the DDL changes. I started doing basic check and it is an eight table join with group by and order ..read more
SQL Server Blog Forum » Performance
2y ago
SQL query tuning front end Website slowness Overview of the issue. There is a health care website which used by doctors, in a day which runs slow sometimes and runs fine most of the time. The slowness is about 1 to 3 seconds and it sometimes timeout as well, when it reaches timeout setting. I have configured server side trace, whoisactive and Perfmon counters as well to correlate with anything when needed. As a basic check, the website is fetching data from two databases one is 300 MB and other is 500 MB and no maintenance job been run in place. Have configured maintenance job, still sam ..read more
SQL Server Blog Forum » Performance
2y ago
Capturing queries by using server side trace In general, DBA will have a report most of time the server and application web is running slow. You have to find yourself what query is running slow and benchmark and tune it. Profiler trace is good to capture the running code. But it is a GUI and we have to start, capture and stop it. This will also make some performance slowness to the server and you it is hard to read and store data. The server side trace is another option and it is a lightweight and T-SQL code, we can create a stored procedure and schedule it on SQL server ..read more
SQL Server Blog Forum » Performance
2y ago
Top 10 ways to find slow running T SQL query Followings are ways to identity and capture the slow running queries in SQL server database. 1.Use common activity monitor and task manager to get some overview Right click the instance – Activity monitor 2.Use DMVs Use Glenn Berry’s DMV pack https://www.sqlskills.com/blogs/glenn/category/dmv-queries/ 3.Check wait stats Use Paul Randal’s DMV https://www.sqlskills.com/blogs/paul/wait-statistics-or-please-tell-me-where-it-hurts/ 4.Use Whoisactive Use Adam Machanic’s script https://sqlserverblogforum.com/dba/whoisactive-capturing-a-sql-ser ..read more
SQL Server Blog Forum » Performance
2y ago
SQL query tuning front end Website slowness Overview of the issue. There is a health care website which used by doctors, in a day which runs slow sometimes and runs fine most of the time. The slowness is about 1 to 3 seconds and it sometimes timeout as well, when it reaches timeout setting. I have configured server side trace, whoisactive and Perfmon counters as well to correlate with anything when needed. As a basic check, the website is fetching data from two databases one is 300 MB and other is 500 MB and no maintenance job been run in place. Have configured maintenance job, still sam ..read more