concept performance in category sql

This is an excerpt from Manning's book SQL Server MVP Deep Dives Vol. 2.
What caused this difference of opinion to grow into a controversy, and what has kept the battle alive for so long? Its growth to the rank of controversy stems from the fact that database design has a crucial impact on performance, modularity, consistency, and scalability. This makes the issue of correct database design ever so important. Moreover, once in production the basic design of a database is probably the hardest aspect to revise.

This is an excerpt from Manning's book SQL Server DMVs in Action: Better Queries with Dynamic Management Views.
Welcome to the world of Dynamic Management Views (DMVs). How would you like to fix problems on your SQL Servers with little effort? Or fix problems before they become noticeable by irate users? Would you like to quickly discover the slowest SQL queries on your servers? Or get details of missing indexes that could significantly improve the performance of your queries? All these things and more are easily possible, typically in a matter of seconds, using DMVs.
In a nutshell, DMVs are views on internal SQL Server metadata, and they can be used to significantly improve the performance of your SQL queries, often by an order of magnitude. A more thorough definition of DMVs follows in the next section.
Performance tuning is concerned with applying suggested remedies to problems identified by problem diagnosis with a view to improving performance. Examination of the information shown by the DMVs should highlight areas where improvement can be made, for example, applying a missing index, removing contention/blocking, determining the degree of fragmentation, and so on. Again, the query’s cached plan is a primary source of ideas for improvement.

This is an excerpt from Manning's book SQL Server MVP Deep Dives.
For OLTP or operational databases (not reporting databases or BI) a correctly indexed normalized schema will nearly always perform better than a denormalized one. The extra work required to double insert, double update, or pivot denormalized data when reading will almost always cost more than the perceived benefit of reading from a single denormalized location. Unless you do performance testing and know your application’s profile, it is likely that when you denormalize, you’re introducing performance problems that would have been easy to avoid by learning better SQL practices. But the root cause of most less-than-normalized databases isn’t an effort to improve performance; it’s the incompetence of the person designing the database and the programmers writing the queries.
You can draw a parallel to the expansion of the troubleshooting and performance tuning tools that ship with SQL Server. For many releases over a number of years, SQL Server has added newer performance monitoring tools and technologies like DMVs, wait state analysis, extended events (XEvents), the Performance Dashboard, and most recently the Management Data Warehouse (MDW). Each of these new tools and technologies is forward-looking, and you can install each of them on an older installation of SQL Server. If you ever have to support both old and newer versions of SQL Server, the only toolkits that you can rely on being present in nearly all versions of SQL Server are the Windows Performance Monitor (PerfMon, also known as Windows System Monitor or SysMon) and some form of SQL tracing tool like SQL Profiler. When you’re competent with PerfMon and Profiler, you can be effective at troubleshooting and performance monitoring on many releases of SQL Server.
Listing 1. Queries to compare performance of OPENQUERY and four-part naming
declare @MAXDATE datetime, @SQL nvarchar(255) set @SQL = N'select @DATE = theDate from openquery(emerald,''select max(datestamp) as theDate from billing_recharge'')' select getdate()as startdate exec sp_executesql @SQL, N'@DATE datetime OUT',@MAXDATE out select getdate()as afteropenquery select @MAXDATE = max(datestamp) from emerald.iwts.dbo.billing_recharge select getdate()as after4partnaming