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 - 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
A large coarse threaded brass coupling and a smaller fine threaded steel fitting cannot connect directly

How to Downgrade Database from SQL Server 2014 to SQL Server 2012 – Interview Question of the Week #099

November 27, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Server

Can you downgrade a database from SQL Server 2014 to SQL Server 2012? Not directly, but there is one workaround: script the database with data and run it.

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 … 193 194 195 196 197 198 199 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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