digitalmars.D - Simple database.
- Roberto Baena (8/8) Feb 01 2006 Hi.
- Dave (2/10) Feb 01 2006 Just curious, why not SQLite?
- James Dunne (14/34) Feb 02 2006 Believe me, don't go this route. I had nothing but problems with it,
- Carlos Smith (5/9) Feb 01 2006 May be MetaKit: http://www.equi4.com/metakit.html
- Andrew Fedoniouk (14/22) Feb 01 2006 Try one from Konstantin Knizhnik's databases :
- Walter Bright (3/11) Feb 01 2006 www.digitalmars.com/d/phobos/std_openrj.html
- Kevin Bealer (4/20) Feb 02 2006 Is there a facility to add records and then write the openrj database ba...
- Walter Bright (3/8) Feb 02 2006 It's just a text file, so rewriting it each time is the most practical.
- Matthew (8/17) Feb 02 2006 back
- Mark D (10/23) Feb 02 2006 May I suggest using whatever database you are most familiar with,
Hi. I'm looking for a simple database that I can embed in a D application I'm writing. Apart from SQLite and Firebird what databases are available for embeding? I don't need a full fledge SQL server. Something that allows me to store a couple of tables with indexes for fast retrieval would be sufficient. SQL is not needed. Thanks.
Feb 01 2006
In article <drrb8o$2dgr$1 digitaldaemon.com>, Roberto Baena says...Hi. I'm looking for a simple database that I can embed in a D application I'm writing. Apart from SQLite and Firebird what databases are available for embeding? I don't need a full fledge SQL server. Something that allows me to store a couple of tables with indexes for fast retrieval would be sufficient. SQL is not needed. Thanks.Just curious, why not SQLite?
Feb 01 2006
Dave wrote:In article <drrb8o$2dgr$1 digitaldaemon.com>, Roberto Baena says...Believe me, don't go this route. I had nothing but problems with it, especially in a multi-threaded context. I'd get random sqlite error messages back with no rhyme or reason. I must've read the docs on it at least a dozen times - still no help. FYI - I used DDBI for the project, way back in its infancy. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/MU/S d-pu s:+ a-->? C++++$ UL+++ P--- L+++ !E W-- N++ o? K? w--- O M-- V? PS PE Y+ PGP- t+ 5 X+ !R tv-->!tv b- DI++(+) D++ G e++>e h>--->++ r+++ y+++ ------END GEEK CODE BLOCK------ James DunneHi. I'm looking for a simple database that I can embed in a D application I'm writing. Apart from SQLite and Firebird what databases are available for embeding? I don't need a full fledge SQL server. Something that allows me to store a couple of tables with indexes for fast retrieval would be sufficient. SQL is not needed. Thanks.Just curious, why not SQLite?
Feb 02 2006
"Roberto Baena" <Roberto_member pathlink.com> wrote in message news:drrb8o$2dgr$1 digitaldaemon.com...Hi. I'm looking for a simple database that I can embed in a D application I'm writing. Apart from SQLite and Firebird what databases are available for embeding?May be MetaKit: http://www.equi4.com/metakit.html Or gdbm
Feb 01 2006
"Roberto Baena" <Roberto_member pathlink.com> wrote in message news:drrb8o$2dgr$1 digitaldaemon.com...Hi. I'm looking for a simple database that I can embed in a D application I'm writing. Apart from SQLite and Firebird what databases are available for embeding?I don't need a full fledge SQL server. Something that allows me to store a couple of tables with indexes for fast retrieval would be sufficient. SQL is not needed.Try one from Konstantin Knizhnik's databases : http://www.garret.ru/~knizhnik/databases.html In particular you can consider dyBase http://www.garret.ru/~knizhnik/dybase.html It has plain C API. Each record (aka object) is variable length set (array) of values. Records can contain references to other records - thus you can have tree like structure. And also you can create indexes on records. It has transactions and builtin GC (to delete all unreferenced records). And it is about 40k in binary or so. Andrew Fedoniouk. http://terrainformatica.com
Feb 01 2006
"Roberto Baena" <Roberto_member pathlink.com> wrote in message news:drrb8o$2dgr$1 digitaldaemon.com...Hi. I'm looking for a simple database that I can embed in a D application I'm writing. Apart from SQLite and Firebird what databases are available for embeding? I don't need a full fledge SQL server. Something that allows me to store a couple of tables with indexes for fast retrieval would be sufficient. SQL is not needed.www.digitalmars.com/d/phobos/std_openrj.html
Feb 01 2006
In article <drs6qq$1re$1 digitaldaemon.com>, Walter Bright says..."Roberto Baena" <Roberto_member pathlink.com> wrote in message news:drrb8o$2dgr$1 digitaldaemon.com...Is there a facility to add records and then write the openrj database back to disk, or does one just foreach { printf(...); } the contents each time? KevinHi. I'm looking for a simple database that I can embed in a D application I'm writing. Apart from SQLite and Firebird what databases are available for embeding? I don't need a full fledge SQL server. Something that allows me to store a couple of tables with indexes for fast retrieval would be sufficient. SQL is not needed.www.digitalmars.com/d/phobos/std_openrj.html
Feb 02 2006
"Kevin Bealer" <Kevin_member pathlink.com> wrote in message news:drtkp9$18h5$1 digitaldaemon.com...In article <drs6qq$1re$1 digitaldaemon.com>, Walter Bright says...It's just a text file, so rewriting it each time is the most practical.www.digitalmars.com/d/phobos/std_openrj.htmlIs there a facility to add records and then write the openrj database back to disk, or does one just foreach { printf(...); } the contents each time?
Feb 02 2006
"Walter Bright" <newshound digitalmars.com> wrote in message news:drtt69$1gp4$1 digitaldaemon.com..."Kevin Bealer" <Kevin_member pathlink.com> wrote in message news:drtkp9$18h5$1 digitaldaemon.com...backIn article <drs6qq$1re$1 digitaldaemon.com>, Walter Bright says...www.digitalmars.com/d/phobos/std_openrj.htmlIs there a facility to add records and then write the openrj databaseLars had some ideas last year about adding that functionality, but I never got time to address them. I still hope to do it, once I'm over my current hump. (I recognise the contradiction in this with my other post <g>. Tools & Libraries. Tools & Libraries. Tools & Libraries. . . . )to disk, or does one just foreach { printf(...); } the contents each time?It's just a text file, so rewriting it each time is the most practical.
Feb 02 2006
Roberto Baena wrote:Hi. I'm looking for a simple database that I can embed in a D application I'm writing. Apart from SQLite and Firebird what databases are available for embeding? I don't need a full fledge SQL server. Something that allows me to store a couple of tables with indexes for fast retrieval would be sufficient. SQL is not needed. Thanks.May I suggest using whatever database you are most familiar with, setting up an ODBC datasource, and using DDBI to easily establish a connection to it? Certainly, I'm biased, because I finished this integration only a few days ago, but I'd be happy to help you if anything comes up. :) Of course, it does require issuing SQL commands... I can't quite tell if you mean that it's not "needed" or if it's not "needed or wanted!" ;) You shouldn't have any trouble setting up an ODBC connection to just about anything... -Mark D
Feb 02 2006