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
SQL server password never expires.

SQL SERVER – Log Shipping Copy Job Failure – The Password for This Account Has Expired

December 1, 2016
Pinal Dave
SQL Tips and Tricks
Log Shipping, SQL Login, SQL Password, SQL Server Security

A reader’s log shipping copy job was failing with ‘The password for this account has expired’. Here is how we found the cause and fixed it.

Read More
SQL SERVER - How to Find the In-Memory OLTP Tables Memory Usage on the Server

SQL SERVER – How to Find the In-Memory OLTP Tables Memory Usage on the Server

November 30, 2016
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, SQL Memory, SQL Scripts, SQL Server

At SQLPASS a DBA asked how to see the memory used by each In-Memory OLTP table. The DMV sys.dm_db_xtp_table_memory_stats answers it. Here is the script.

Read More
SQL SERVER - Error - Disallowing page allocations for database 'DB' due to insufficient memory in the resource pool

SQL SERVER – Error – Disallowing page allocations for database ‘DB’ due to insufficient memory in the resource pool

November 29, 2016
Pinal Dave
SQL Tips and Tricks
Resource Governor, SQL Error Messages, SQL Memory, SQL Server

My SQL Server 2016 error log kept saying ‘Disallowing page allocations for database due to insufficient memory in the resource pool’. What it means and the fix.

Read More
Gouache painting of a loose fluffy bale of wool beside the same wool pressed small and tied with a red strap

SQL Server Backup Compression: How Much Space It Saves

November 28, 2016
Pinal Dave
SQL Tips and Tricks
Compression, SQL Backup and Restore, SQL Scripts, SQL Server, SQL Utility

Backup compression needs only the COMPRESSION option in the BACKUP statement. This post backs up a demo database twice and compares the sizes and times. It also checks the restore, explains the error that mixing compressed and plain backups raises, and covers the costs.

Read More
SQL SERVER - System Function @@IDLE to Find System Ideal Time

SQL SERVER – System Function @@IDLE to Find System Ideal Time

November 26, 2016
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

Running @@IDLE returns a number that is hard to read. Here is what this system function measures and how to turn it into idle time you can understand.

Read More
Gouache painting of an overflowing mailbox on a country lane with a red wheelbarrow waiting to carry away the old parcels

How to Remove Database Mail History and Stop msdb Growing

November 25, 2016
Pinal Dave
SQL Tips and Tricks
Database Mail, SQL Scripts, SQL Server, System Database

Database Mail history stays in msdb until you delete it, so the sysmail tables can grow for years. This post measures the tables, then removes the history with the two supported procedures instead of direct deletes. It also covers a month by month loop for a big backlog and a schedule.

Read More
A hotel back-office bell board of small numbered brackets, one bracket empty where a bell has been taken out.

SQL SERVER – Rule “Windows Management Instrumentation (WMI) Service” failed

November 24, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, Starting SQL, WMI

Upgrading a two-node cluster from SQL 2008 R2 to 2014, the rule ‘Windows Management Instrumentation (WMI) Service’ failed. Here is how we fixed it.

Read More
Previous 1 … 172 173 174 175 176 177 178 … 571 Next
  • Books
  • Testimonials
  • Privacy Policy

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