This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
Diagram of the Resource Governor flow using the names from the example: requests go to the classification function dbo.UDFClassifier, which routes them to ReportServerGroup, PrimaryServerGroup or the default group, and each group uses its own resource pool; the report pool is limited to 30 percent of CPU and memory

Resource Governor Workload Groups and Pools: A Simple Setup Example

June 4, 2012
Pinal Dave
SQL Tips and Tricks
Resource Governor, SQL Performance, SQL Scripts, SQL Server

Resource Governor workload groups let you limit CPU and memory for competing workloads. This introduction answers what Resource Governor is and why you need it, then shows a full T-SQL setup example.

Read More
A parcel sorting table where one wrapped package has been set down in the wrong chute mouth.

SQL SERVER – Fix: Error 147 An aggregate may not appear in the WHERE clause

June 3, 2012
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

Error 147: An aggregate may not appear in the WHERE clause. A beginner was stuck on it for a long time, so here is the simple fix, explained for beginners.

Read More
SQL SERVER - A Puzzle - Fun with NULL - Fix Error 8117

SQL SERVER – A Puzzle – Fun with NULL – Fix Error 8117

May 24, 2012
Pinal Dave
SQL Puzzle
SQL NULL, SQL Scripts, SQL Server

NULL is fun to ask about in interviews, since every answer I get is different. A short puzzle on NULL that raises Error 8117, and how to fix it.

Read More
Hands fitting a new wider slat into an old park bench, the old slat leaning beside it

Changing an Index In Place With CREATE INDEX and DROP_EXISTING

May 20, 2012
Pinal Dave
SQL Performance
Clustered Index, DBA, SQL Index, SQL Server

Use DROP_EXISTING to change an index definition in one operation, inspect its columns, and check online availability and dependencies.

Read More
SQL SERVER - Columnstore Index and sys.dm_db_index_usage_stats

SQL SERVER – Columnstore Index and sys.dm_db_index_usage_stats

May 14, 2012
Pinal Dave
SQL Performance
ColumnStore Index, SQL DMV, SQL Index, SQL Scripts, SQL Server

My Columnstore index DMV script failed on SQL Server 2012 RTM because sys.column_store_index_stats was gone. What I found next, with sys.dm_db_index_usage_stats.

Read More
Glazed tiles sorted into tall single-color stacks in a workshop, a hand lifting the whole blue stack from the row.

Columnstore Indexes for Reporting Tables

May 13, 2012
Pinal Dave
SQL Performance
ColumnStore Index, Data Warehousing, SQL Index, SQL Performance, SQL Server

Columnstore indexes for reporting tables can cut scan work, but clustered and nonclustered designs affect loading and point lookups differently.

Read More
SQL SERVER - Quiz and Video - Introduction to Hierarchical Query using a Recursive CTE

SQL SERVER – Quiz and Video – Introduction to Hierarchical Query using a Recursive CTE

May 8, 2012
Pinal Dave
SQL Puzzle
SQL in Sixty Seconds, SQL Scripts, SQL Server

Learn to write a hierarchical query using a recursive CTE with a short video and a quiz on an employee and manager table. Check your answer.

Read More
Previous 1 … 290 291 292 293 294 295 296 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com