In (early) praise of SQLite and EF4

2011-05-28 Thread Greg Keogh
Folks, just in case anyone was wondering ... my experiments so far indicate that SQLite works nicely with Entity Framework 4. I expected horrors, but I guess the authors of the SQLite ADO provider have obeyed the rules. A couple of little irritations have surfaced. The INTEGER type in SQLite

Re: SQLite bulk insert performance

2011-05-28 Thread Joseph Cooney
I wouldn't bother e-mailing the SQLite folks. This is by design, and is a well known behaviour with SQLite. From memory if you don't explicitly have a transaction then one gets created for each operation, which slows things down. Joseph On Sun, May 29, 2011 at 10:27 AM, Greg Keogh g...@mira.net

Re: SQLite bulk insert performance

2011-05-28 Thread Mark Hurd
Isn't that exactly the same as the default mode for SQL Server? On 29 May 2011 12:52, Joseph Cooney joseph.coo...@gmail.com wrote: I wouldn't bother e-mailing the SQLite folks. This is by design, and is a well known behaviour with SQLite. From memory if you don't explicitly have a transaction

Re: SQLite bulk insert performance

2011-05-28 Thread Joseph Cooney
True, but I think the cost associated with creating a transaction is different with SQLite. I think SQLite needs to opening, writing to, and closing the journal file each time it creates a transaction which is apparently expensive. Maybe since SQL Server is a service it keeps keeps the journal