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
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
SQL SERVER 2016 - DBCC Command Enhancement with MAXDOP

SQL SERVER 2016 – DBCC Command Enhancement with MAXDOP

November 19, 2016
Pinal Dave
SQL Tips and Tricks
SQL CPU, SQL Scripts, SQL Server, SQL Server Configuration, SQL Server DBCC

SQL Server 2016 lets you set MAXDOP on DBCC checks like CHECKDB. Here is how this DBCC Command enhancement works and how to use it.

Read More
Ledgers of different thickness wait to be measured one at a time on a balance scale

How to Find Size of All the Indexes on the Database – Interview Question of the Week #097

November 13, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Index, SQL Scripts, SQL Server

Need to know how much space your indexes use? Here is a script I share with clients that lists all the indexes in a database along with their size.

Read More
SQL SERVER - How to Get List of SQL Server Instances Installed on a Machine?

SQL SERVER – How to Get List of SQL Server Instances Installed on a Machine?

November 12, 2016
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Scripts, SQL Server

There are multiple ways by which we can find a list of SQL Server instances name instances on a machine. In this blog, I would show a few ways to do it.

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

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