We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

URGENT: configure/optimize SQL Server w/read-only data

spathiphylum
spathiphylum asked
on
Medium Priority
250 Views
Last Modified: 2008-03-06

we have about 200MB of data in our database that is only used for reporting (it isn't updated).  we would like to configure SQL Server to take advantage of that.  since it's so small i imagine that SQL Server could read all of the tables into memory and never go back to disk and never worry about locking

anyone know how to configure SQL Server to do this?
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2011

Commented:
If the data is read that frequently thats what will happen anyway...

let the server  decide what its best to keep in memory at any one time...

Top Expert 2004

Commented:
Agree with lowfatspread.    You can issue a DBCC PINTABLE statement to put the tables into memory.  However, this really isn't a good idea.

How much memory is in the server.  You have the database properties switched to read-only right?

Author

Commented:
there is 1GB of memory.   what is DBCC PINTABLE?  why isn't it a good idea?  

if i change the database to read-only, will this tell SQL Server that it can read the whole thing into memory and it doesn't need to worry about locking?  is there microsoft documentation that support that?
Top Expert 2004
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
CERTIFIED EXPERT
Top Expert 2011
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.