![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have SQL Server 2008 "Developer Ed." (one instance) installed on a Win7 64bit machine. By default, it appears to place it's internal cache files (ie *.cache) in the: "C:\Users\{Sqladmin}\AppData\Local\temp\*" |
#3
| |||
| |||
|
|
(zmpmag3-msql (AT) yahoo (DOT) com) writes: I have SQL Server 2008 "Developer Ed." (one instance) installed on a Win7 64bit machine. By default, it appears to place it's internal cache files (ie *.cache) in the: "C:\Users\{Sqladmin}\AppData\Local\temp\*" You mean that in this directory there are a bunch of *.cache files? |
|
I don't know what files this might be, but I'm fairly sure that they do not come from the engine; I've never heard of such files. Possibly they are generated by SQL Server Management Studio for Intellisense, but I don't really see why. |
|
Have you looked inside of these files to see what's in them? |
#4
| |||
| |||
|
|
On Mon, 24 Jan 2011 08:48:59 +0000 (UTC), Erland Sommarskog esquel (AT) sommarskog (DOT) se> wrote: Yes. They come named as follows: "machine-name_instance.SQL-Server-name_{49268954-4FD4-4EB6-AA04- CD59D9BB5714}_#.cache" where: "machine-name" is the server's Windows computer name; "instance.SQL-Server-name" is the MS SQL Server 2008 server and instance name; "#" is some unique 1-2 digit identifier. In one case, the end # identifier is followed by "_QuerryActive.cache". |
#5
| |||
| |||
|
|
mag3 (zmpmag3-atnis (AT) yahoo (DOT) com) writes: On Mon, 24 Jan 2011 08:48:59 +0000 (UTC), Erland Sommarskog esquel (AT) sommarskog (DOT) se> wrote: Yes. They come named as follows: "machine-name_instance.SQL-Server-name_{49268954-4FD4-4EB6-AA04- CD59D9BB5714}_#.cache" where: "machine-name" is the server's Windows computer name; "instance.SQL-Server-name" is the MS SQL Server 2008 server and instance name; "#" is some unique 1-2 digit identifier. In one case, the end # identifier is followed by "_QuerryActive.cache". Does not ring a bell. For this reason I posted question to our internal MVP forum. The only suggestion this far is that it may be related to FILESTREAM, but he wasn't sure. Do you use FILESTREAM? |
#6
| |||
| |||
|
|
This definitely seems to be "SQL Server Agent" related. When I turn SQL Server Agent off, the .cache files stop accumulating data. When I start it again, they start accumulating again. |
#7
| |||
| |||
|
|
(zmpmag3-msql (AT) yahoo (DOT) com) writes: This definitely seems to be "SQL Server Agent" related. When I turn SQL Server Agent off, the .cache files stop accumulating data. When I start it again, they start accumulating again. Maybe you should scrutinize what Agents job you have enabled? |
#8
| |||
| |||
|
|
Only those agents that were the "defaults" upon installation are running. |
|
And I don't necessarily want to stop them. I just want to relocate these cache files off my C: drive to keep it from filling and crashing the system. |
#9
| |||
| |||
|
|
It will probably work if you change the TEMP and TMP environment variables for the SQL Service account. The easiest way is probably to log into Windows as the service account for Agent, and then use Control Panel. You probably have to restart SQL Server Agent. |
|
Then again, the best for you is probably to stop these jobs from running. |
#10
| |||
| |||
|
|
On Tue, 25 Jan 2011 13:09:48 +0000 (UTC), Erland Sommarskog esquel (AT) sommarskog (DOT) se> wrote: It will probably work if you change the TEMP and TMP environment variables for the SQL Service account. The easiest way is probably to log into Windows as the service account for Agent, and then use Control Panel. You probably have to restart SQL Server Agent. This seems to have been successful. The files are now re-directed to where I specified. |
![]() |
| Thread Tools | |
| Display Modes | |
| |