Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
 Phone
 800-766-1884
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

Privacy Policy

 

   
  SQL Server Tips by Burleson

Pinning Tables

While the access times of heavily accessed objects can be improved by placing them in their own filegroups, assuming separate I/O controllers exist for distinct hard drives, the best place for objects to reside will always be memory. With the exception of the large 64 bit servers, current data volumes prohibit placing all objects into RAM. However, the DBA should try to keep all or most of the often-accessed data in memory as the response times will be better than if their data is constantly re-read from disk.

This is accomplished through pinning a table in memory via the DBCC PINTABLE command. A table can also be unpinned through the DBCC UNPINTABLE command. Pinning a table does not toss the pinned object into memory immediately, but as the table is accessed via standard queries, SQL Server will move the table’s pages into the buffer cache as it normally would. It will then mark them as pinned, so they will not be flushed as with standard pages.

Small, frequently accessed lookup tables are the best targets for pinning. Large objects should not be considered candidates as their pages could crowd a buffer cache and disallow other objects an otherwise easy entrance into the cache.


The above book excerpt is from:

High-Performance SQL Server DBA
Tuning & Optimization Secrets

ISBN: 0-9761573-6-5
Robin Schumacher

 http://www.rampant-books.com/book_2005_2_sql_server_dba.htm  

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster



Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

 Copyright © 1996 -2016 by Burleson. All rights reserved.


Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks
 

Hit Counter