Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Other SQL Server Topics (2005)
 SQL Server 2005 and RAM Drive

Author  Topic 

13xforever
Starting Member

2 Posts

Posted - 2009-01-13 : 06:54:38
Hello, I have a non-trivial question.

First, setup. We try to minimize disk IO while running tests in our continuous integration cycle. During single run a lot of databases in different configurations are created. Reliability in this setup is of no concern at all, so we want to put all test databases onto a RAM drive, along with the tempdb.

The problem occurs while we try to create a new database. We got a Msg 5177 about that SQL Server couldn't determine the size of disk sector.

However, if we make a database file somewhere else, then put it onto the RAM drive and then attach it, then all works magnificently.

So, the question is: does anybody know a way to disable sector-size check during database creation? Maybe a special query syntax or trace flag?

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-01-13 : 07:33:28
What statement do you use to create the database?



E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page

13xforever
Starting Member

2 Posts

Posted - 2009-01-14 : 09:09:32
Erm...

create database test


Actually, I've found another RAM disk solution - less features, but it works with SQL server.
Go to Top of Page
   

- Advertisement -