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
Error dialog box.

SQL SERVER – Fix – Error – Property MemoryAllocatedToMemory OptimizedObjectsInKB is not available for Database. This property may not exist for this object, or may not be retrievable due to insufficient access rights.

February 8, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Memory, SQL Server, SQL Server Management Studio, SQL Server Security

The MemoryAllocatedToMemory OptimizedObjectsInKB error popped up while I was teaching a workshop. It is a permissions issue, and one command fixes it.

Read More
One reserved work area is much larger than the material it currently holds, while another waits

How to List Queries With Memory Grant and Execution Plan? – Interview Question of the Week #154

December 31, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Memory, SQL Scripts, SQL Server

A workshop customer suspected one of their queries used too much memory. Here is the script I gave them to list running queries with Memory Grant and plan.

Read More
Gouache painting of a wooden bookshelf with a vermilion divider closing off most of its width, a stack of books too wide to fit waiting beside it

Msg 41379: Restore Fails on Insufficient Memory in the Default Resource Pool

December 16, 2017
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, Resource Governor, SQL Backup and Restore, SQL Error Messages, SQL Memory

Msg 41379 stopped a restore because the default resource pool had insufficient memory for a database with In-Memory OLTP tables. We raised the memory available to the default pool to 90 percent, and the error disappeared.

Read More
Gouache painting of a leaning stack of paper cups beside a tray holding one vermilion mug

Optimize for Ad Hoc Workloads: When to Turn It On

October 20, 2017
Pinal Dave
SQL Performance
Ad Hoc Query, Execution Plan, SQL Cache, SQL Memory

Optimize for Ad Hoc Workloads shrinks the memory that one-time queries take in the plan cache. This post builds a demo of single-use plans, measures their share of the cache, and shows how to read the result. It also covers the cost of the setting and why parameterized queries are the better fix.

Read More
SQL SERVER - How to Enable Lock Pages in Memory?

SQL SERVER – How to Enable Lock Pages in Memory?

June 15, 2017
Pinal Dave
SQL Performance
SQL Memory, SQL Server, SQL Server Security, Starting SQL

Recently I received an email from user that he tried to search for solution on SQLAuthority.com for how to enable lock pages in memory but could not find a solution for it.

Read More
Three sorting tray sections hold different numbers of cached pebbles while other pebbles remain outside

How to Find SQL Server Memory Use by Database and Objects? – Interview Question of the Week #121

May 7, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Cache, SQL DMV, SQL Memory, SQL Scripts, SQL Server

Which database uses the most buffer pool? Queries on sys.dm_os_buffer_descriptors to find SQL Server Memory use by database and by object.

Read More
System.OutOfMemoryException' thrown dialog box.

SQL SERVER Management Studio – Exception of type ‘System.OutOfMemoryException’ was thrown. (mscorlib)

February 9, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Memory, SQL Server

Copying a huge result set from the SSMS grid threw ‘Exception of type System.OutOfMemoryException was thrown’. Why it happens and a better way to export.

Read More
Previous 1 … 10 11 12 13 14 15 16 … 20 Next
  • Books
  • Testimonials
  • Privacy Policy

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