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
Title card: Log Shipping: Only Members of Sysadmin Can Do This

SQL SERVER – Log Shipping Error: Only Members of the Sysadmin Fixed Server Role Can Perform This Operation

October 21, 2019
Pinal Dave
SQL Tips and Tricks
Log Shipping, SQL Error Messages, SQL Scripts, SQL Server

They have observed that Log Shipping Copy and Log Shipping Restore jobs have been failing with log shipping error. Let us fix them.

Read More
The beginning of an ordered line of pebbles occupies a separate tray compartment

Retrieve TOP 10 Rows Without Using TOP or LIMIT? – Interview Question of the Week #247

October 20, 2019
Pinal Dave
SQL Interview Questions and Answers
MariaDB, MySQL, PostgreSQL, SQL Server

Question: Retrieve TOP 10 Rows Without Using TOP or LIMIT? We do not want to use TOP or LIMIT as they are actually not an ANSI implementation.

Read More
Hands holding a huge airy meringue and a small dense fruitcake, the hand with the fruitcake sinking lower.

Operator Costs in an Execution Plan: Read Them Without Being Fooled

October 19, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Operator, SQL Performance, SQL Server

Interpret operator costs as estimates, compare actual rows and runtime evidence, and find expensive work without trusting plan percentages.

Read More
Gouache painting of several rowboats waiting at a canal lock with one vermilion boat edging ahead

Priority Boost in SQL Server: Check It and Turn It Off

October 18, 2019
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Server Configuration, SQL Server Management Studio

Priority boost sounds like a speed setting, but it can make a server slower. This post explains what the option does, checks it with a query that works when Management Studio doesn’t show it, prints the statements that turn it off with their undo, and explains why a restart is needed.

Read More
Gouache painting of a pantry shelf of jars with uneven gaps beside a snug shelf, with one vermilion jar alone

Check Index Fragmentation With Row Count in SQL Server

October 17, 2019
Pinal Dave
SQL Performance
Clustered Index, SQL Index, SQL Scripts, SQL Server

To check index fragmentation with row count, read sys.dm_db_index_physical_stats in SAMPLED mode and keep the page count and row count next to each percentage. This post builds a demo with three tables, lists every index, filters out the tiny ones, loops over every online database, and rebuilds the one index that matters.

Read More
Gouache painting: a workshop shelf with a row of different small model engines: a little steam engine, a compact motor and a wind-up mechanism; one engine is painted vermilion

MariaDB – MySQL – Show Engines to Display All Available and Supported Engine

October 16, 2019
Pinal Dave
SQL Tips and Tricks
MariaDB, MySQL

I inspect each Supported Engine with SHOW ENGINES on MariaDB. A customer using MariaDB alongside SQL Server asked about this list.

Read More
A fitted drawer belongs to one cabinet while a neighboring cabinet has an empty recess.

SQL Puzzle – Schema and Table Creation – Answer Without Running Code

October 15, 2019
Pinal Dave
SQL Puzzle
Schema, SQL Scripts, SQL Server, SQL Table Operation

This Table Creation puzzle asks for an explanation before you run its code. I suggest examining the batch separators carefully.

Read More
Previous 1 … 140 141 142 143 144 145 146 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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