Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


is it possible to keep all tables data in buffer in sqlserver 2005 manully.


is it possible to keep all tables data in buffer in sqlserver 2005 manully.

Author
Message
rajemessage 14195
rajemessage 14195
SSC-Enthusiastic
SSC-Enthusiastic (150 reputation)SSC-Enthusiastic (150 reputation)SSC-Enthusiastic (150 reputation)SSC-Enthusiastic (150 reputation)SSC-Enthusiastic (150 reputation)SSC-Enthusiastic (150 reputation)SSC-Enthusiastic (150 reputation)SSC-Enthusiastic (150 reputation)

Group: General Forum Members
Points: 150 Visits: 329
Hi,

I noticed that when sp(stored procs) are run second time they get data from buffer so they are run fast on second time.

on the other side i noticed that database never gets bigger than 2.5 gb, and the ram on system is 4 gb.

there is only one situation , when server is restarted it flushs the buffer and cahce.(db does not get insert update when it is online,we transfer data at offpick time and it takes quite less time)
above was the only situation when sp will become slow.

q1) So please tel me , what i am thinking is correct or not , that is my sp will be slow for first time and then
they will be alywas fast and all data will be in memory. untill unless server is restarted.

q2) Is there any technique to bring all tabels data in buffer manually so that sp can become fast even on first time , similar to the execution of second time?

Hi,

I have pk and fk in the database , i want to find out where i can make some good indexes.(sqlserver 2005)


yours sincerley
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search