What would happen if you tried to populate a table variable which requires more memory than is currently installed on the server? How would SQL Server deal with this?
I think SQL Server just freezes if you try and do more with it than you have physical memory for. It'll probably bring the entire OS to its knees.
First, look at redoing your query that is populating your table datatype. Second, remove any unnecessary programs / services from your machine. Third, buy more memory for your machine if you haven't already maxed it out.
Fourth, buy a new server with better RAM and more processors so it can handle parallelism (Hyperthreading).
Fifth, take off for the rest of the day, have a beer and call it work well done. @=)
Catadmin - MCDBA, MCSA
Remember, "Work" is a four letter word. And you know what your mother told you about using four letter words!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.