Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

fast local database

i have a desktop application that talks soap to a server. the communication is very slow so i want to download a lot of the data up front and query from my local database. i wan this local data to persist after the application shuts down so what is the best way for doing this . . . are there any good products / examples to do this . . there are about 25 tables that i am caching.

like image 632
leora Avatar asked Apr 19 '09 12:04

leora


3 Answers

SQLite is perfect for this. A couple years ago I wrote a "smart client" application where I maintained a local cache so that users could still use the application offline. I used SQLite and had no problems, it is very small, persists quickly, and most modern ORMs support it. (I was using NHibernate)

http://www.sqlite.org/

like image 144
James Avery Avatar answered Nov 04 '22 01:11

James Avery


Berkeley DB is a good, standalone DB. You should also consider ESENT, which is built into windows. Here's a write-up by Ayende.

like image 21
Ryan Emerle Avatar answered Nov 04 '22 01:11

Ryan Emerle


The H2 database might also meet your needs. Microsoft offers a compact edition of SQL Server: SQL Server Mobile Edition. If SQL Server and TSQL is your thing, this might be a good choice.

like image 31
Todd Stout Avatar answered Nov 04 '22 02:11

Todd Stout