B*L
2 楼
我的机器有8G内存,但winxp最多认3.5G。所以俺建了一个4.5G的 Ramdisk,把剩下的
内存利用起来。其中pagefile占了3.5G,还有1G想着分给TEMPDB,但是不知道怎么去做。
我用的是mssql2005。ramdisk虽然快,但是每次关机上面的所有东西就会消失。
这里那位同学曾经做过的,是否能够指点俺一下。谢谢了。
内存利用起来。其中pagefile占了3.5G,还有1G想着分给TEMPDB,但是不知道怎么去做。
我用的是mssql2005。ramdisk虽然快,但是每次关机上面的所有东西就会消失。
这里那位同学曾经做过的,是否能够指点俺一下。谢谢了。
B*L
4 楼
解决了。
1. Move tempdb files to new location(ramdisk).
USE master;
GO
ALTER DATABASE tempdb
MODIFY FILE (NAME = tempdev, FILENAME = '{new location}\tempdb.mdf');
GO
ALTER DATABASE tempdb
MODIFY FILE (NAME = templog, FILENAME = '{new location}\templog.ldf');
GO
2. after reboot machine, new tempdb files are re-created to the ramdisk.
1. Move tempdb files to new location(ramdisk).
USE master;
GO
ALTER DATABASE tempdb
MODIFY FILE (NAME = tempdev, FILENAME = '{new location}\tempdb.mdf');
GO
ALTER DATABASE tempdb
MODIFY FILE (NAME = templog, FILENAME = '{new location}\templog.ldf');
GO
2. after reboot machine, new tempdb files are re-created to the ramdisk.
n*y
5 楼
liu de hua
i*a
6 楼
Never done this before. But what about moving tmp db into ramdisk after
start. And move it back to harddisk before you shut down comp
start. And move it back to harddisk before you shut down comp
B*L
11 楼
1. 我用的是Ramdisk plus,可以从BIOS看到剩余的内存,并生成一个的虚拟硬盘,这
个好像不受操作系统的限制。
2. xp+/pae, 可以让xp提升到36位,所以我的xp可以认超过3G.但是由于xp的某些限
制,最多只到3.5G(有人说是4G).
3.I moved tempdb to the ramdisk and then shut down the server. after restart
my PC, sql server create a new tempdb in ramdisk automatically. No error, no
warning.
个好像不受操作系统的限制。
2. xp+/pae, 可以让xp提升到36位,所以我的xp可以认超过3G.但是由于xp的某些限
制,最多只到3.5G(有人说是4G).
3.I moved tempdb to the ramdisk and then shut down the server. after restart
my PC, sql server create a new tempdb in ramdisk automatically. No error, no
warning.
相关阅读
To be (free) or not to be (free) (ZZ)包子题 (1st answer 100新币)有关oracle form的新手问题how to let toad schema browser refresh ?[合集] 有谁知道DBA的最高工资有多少Job Opportunity提问的智慧[转载]SQL请教...怎么写这样的distribution listoracle -> ms sql2005 SSIS小布老师免费Oracle培训视频为啥不用web hosting service?Programming Concepts & SQL 大侠请进SQL server2005: Why can't I see the data?原来有个画ER diagram的toad得什么东西,好像是freewaretools for importing data into oracle灌水一瓢:终于体会到为什么要周三release问一道SQL的题 (转载)PL/SQL Puzzles and QuizzesA rookie's query question