| Login

Search this Blog


Links I like to keep around




Here are the most recent postings to this blog. Use the archive calendar or search to find other entries.
Jul3

Written by:R Teachout
7/3/2008 1:23 AM

If you can spare some some memory, you can pin a table into memory, so that the pages of this table remain in memory, once read into memory. This is only okay with smaller tables, but do not try this with larger tables as that can negatively impact SQL Server performance.

The following command can be used to pin a table in memory
( see DBCC PINTABLE )

EXEC sp_tableoption 'TableNameHere', 'pintable', 'true'
GO 

Tags:

Your name:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel  

The first rule of any technology used in a business is that automation applied to an efficient operation will magnify the efficiency. The second is that automation applied to an inefficient operation will magnify the inefficiency.
-Bill Gates

Inspired by Nina