积极答复者
在SQLSERVER 2008的数据库上建了几个tempdb的数据文件,为什么只有第一个文件变大了,其他没有使用?

问题
答案
全部回复
-
Hi Tim-2009,
不会的,写入文件会按照比例对各个mdf,ndf进行分配,按照产品设计,每个文件会同时用满。你是如何发现其他的数据文件都没有写入的。 另外,在配置完tempdb之后到你检查数据文件之间,你有重启过数据库吗?
Best Regards,
Teige
MSDN Community Support<br/> Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact <a href="mailto:MSDNFSF@microsoft.com">MSDNFSF@microsoft.com</a>.
-
Hi Tim-2009,
不会的,写入文件会按照比例对各个mdf,ndf进行分配,按照产品设计,每个文件会同时用满。你是如何发现其他的数据文件都没有写入的。 另外,在配置完tempdb之后到你检查数据文件之间,你有重启过数据库吗?
Best Regards,
Teige
MSDN Community Support<br/> Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact <a href="mailto:MSDNFSF@microsoft.com">MSDNFSF@microsoft.com</a>.
不知道有没有重启过,不重启就不生效? -
Hi Tim-2009,
不是不重启就不生效,而是重启之后原来的tempdb会被drop然后重新创建。
Best Regards,
Teige
MSDN Community Support<br/> Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact <a href="mailto:MSDNFSF@microsoft.com">MSDNFSF@microsoft.com</a>.