﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Kevin commented on Unit Testing Database: Embedded vs. In Memory..</title><description>If your test database is small, you can try usng TempDB in local SQL Server and config TempDB fully in memory.
  
  
Just a thought.
  
  
Kevin
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment18</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment18</guid><pubDate>Tue, 27 Feb 2007 09:09:23 GMT</pubDate></item><item><title>Tom Opgenorth commented on Unit Testing Database: Embedded vs. In Memory..</title><description>Hmmmm, I may have to recant.  I could have sworn that while troubleshooting an issue with Firebird and ActiveRecord that I saw a connection string for using an in-memory database instead of disk based.  However, for the life of me I can't find it now.  I'll keep looking for it and if I see anything I'll be sure to let you know.  Sorry.
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment17</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment17</guid><pubDate>Tue, 27 Feb 2007 06:55:25 GMT</pubDate></item><item><title>Ayende Rahien commented on Unit Testing Database: Embedded vs. In Memory..</title><description>Tom, 
  
I have been unable to find the documentation regard it, can you supply a link to it?
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment16</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment16</guid><pubDate>Tue, 27 Feb 2007 06:04:28 GMT</pubDate></item><item><title>Tom Opgenorth commented on Unit Testing Database: Embedded vs. In Memory..</title><description>Ayende, yes, according to the docs you can run FirebirdSQL in memory.  I haven't done so though.
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment15</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment15</guid><pubDate>Tue, 27 Feb 2007 00:52:34 GMT</pubDate></item><item><title>Mike commented on Unit Testing Database: Embedded vs. In Memory..</title><description>VistaDB?  It costs though http://www.vistadb.net/default.asp
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment14</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment14</guid><pubDate>Mon, 26 Feb 2007 21:31:44 GMT</pubDate></item><item><title>Ayende Rahien commented on Unit Testing Database: Embedded vs. In Memory..</title><description>I just checked, and it looks like a bug in the dialect.
  
Please file a JIRA about it.
  
At the meantime, you can disable aggressive release mode
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment13</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment13</guid><pubDate>Mon, 26 Feb 2007 19:49:54 GMT</pubDate></item><item><title>Juice commented on Unit Testing Database: Embedded vs. In Memory..</title><description>Ayende, have you got sql ce to work with the aggressive connection release mode in NHibernate?  I keep getting errors on inserts using the identity Id generator. I think the problem is that the identity is attempted to be selected on a different connection than the conncetion that issued the insert.
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment12</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment12</guid><pubDate>Mon, 26 Feb 2007 18:35:34 GMT</pubDate></item><item><title>Bratukhin Andrey commented on Unit Testing Database: Embedded vs. In Memory..</title><description>You can place embedded DB to virtual disk in memory. 
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment11</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment11</guid><pubDate>Mon, 26 Feb 2007 15:47:16 GMT</pubDate></item><item><title>Marvin commented on Unit Testing Database: Embedded vs. In Memory..</title><description>How about a ramdisk?
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment10</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment10</guid><pubDate>Mon, 26 Feb 2007 11:58:43 GMT</pubDate></item><item><title>schorsch commented on Unit Testing Database: Embedded vs. In Memory..</title><description>Maybe Bamboo.Prevalence is what you're searching.
  
http://sourceforge.net/projects/bbooprevalence/
  
CodeProject article: http://www.codeproject.com/dotnet/ObjectPrevalenceWithBambo.asp?df=100&amp;forumid=24434&amp;exp=0&amp;select=1617384&amp;fr=26
  
  
XSD-&gt;Bamboo Migration Kit: http://www.users.bigpond.net.au/meyn/bamboo/
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment9</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment9</guid><pubDate>Mon, 26 Feb 2007 08:22:46 GMT</pubDate></item><item><title>Ayende Rahien commented on Unit Testing Database: Embedded vs. In Memory..</title><description>Bil,
  
SQL CE is an embedded DB, which means that it writes to a file and runs in-process.
  
To my knowledge, there is no way to run a database entirely in memory.
  
If there was such a way, that would be the perfect DB.
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment8</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment8</guid><pubDate>Mon, 26 Feb 2007 06:09:22 GMT</pubDate></item><item><title>Ayende Rahien commented on Unit Testing Database: Embedded vs. In Memory..</title><description>Josh, I'll try to do that.
  
The basic idea is that I really need to have some way to ask:
  
"Give me all the records within a specified range from this date" and "Give me all the records where the child record is 3 days more recent than that parent record."
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment7</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment7</guid><pubDate>Mon, 26 Feb 2007 06:07:47 GMT</pubDate></item><item><title>Ayende Rahien commented on Unit Testing Database: Embedded vs. In Memory..</title><description>@Tom, 
  
Can I run firebird in memory??
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment6</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment6</guid><pubDate>Mon, 26 Feb 2007 06:01:55 GMT</pubDate></item><item><title>Ayende Rahien commented on Unit Testing Database: Embedded vs. In Memory..</title><description>@Srdjan,
  
The last SharpHSQL release that I can find is 2004, on gotdotnet, that is not encouraging when choosing a database.
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment5</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment5</guid><pubDate>Mon, 26 Feb 2007 06:00:59 GMT</pubDate></item><item><title>Bil Simser commented on Unit Testing Database: Embedded vs. In Memory..</title><description>Not sure if your SQLite is referring to what I'm talking about here but SQL Server 2005 Compact Edition is pretty nice for in-memory databases and just needs a couple of dlls to include for release. 
  
  
You can check it out here:
  
http://www.microsoft.com/sql/editions/compact/default.mspx
  
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment4</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment4</guid><pubDate>Sun, 25 Feb 2007 22:12:11 GMT</pubDate></item><item><title>Josh Robb commented on Unit Testing Database: Embedded vs. In Memory..</title><description>What about setting up a unit test for the date based operations that fail in SQLLite - then everyone can run them in their favourite embedded DB and see who supports what. 
  
  
It would also document the basic functionality that you consider necessary. 
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment3</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment3</guid><pubDate>Sun, 25 Feb 2007 21:39:05 GMT</pubDate></item><item><title>Tom Opgenorth commented on Unit Testing Database: Embedded vs. In Memory..</title><description>Maybe try Firebird SQL?  I've been playing with it for the last little while, seems to work for me.
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment2</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment2</guid><pubDate>Sun, 25 Feb 2007 20:29:21 GMT</pubDate></item><item><title>Srdjan commented on Unit Testing Database: Embedded vs. In Memory..</title><description>did you try SharpHSQL?
  
It can be set to run in memory...
  
I use it that way. Not without issues but could serve your needs...
</description><link>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment1</link><guid>http://ayende.com/2144/unit-testing-database-embedded-vs-in-memory#comment1</guid><pubDate>Sun, 25 Feb 2007 17:27:23 GMT</pubDate></item></channel></rss>