[OSM-dev] Can SQLite3 handle OSM 150G data file?

Ævar Arnfjörð Bjarmason avarab at gmail.com
Wed Apr 29 11:18:55 BST 2009


On Wed, Apr 29, 2009 at 8:41 AM,  <marcus.wolschon at googlemail.com> wrote:
> On Tue, 28 Apr 2009 14:30:33 +0000, Ævar Arnfjörð Bjarmason
> <avarab at gmail.com> wrote:
>>> From what I can see at
>>>
> http://monetdb.cwi.nl/projects/monetdb/SQL/Documentation/Embedded-Server.html#Embedded-Server
>>> the "embedded"-mode is still a server, just for
>>> embedded systems.
>>> I was talking about having the database as a library
>>> be a part of the program.
>>> Nothing to install or to start separately.
>>
>> You could always make your program embed/start the database server
>> regardless of whether it's a library or a server. It would just mean
>> e.g. shipping the postgresql binaries with your program and doing some
>> magic in your program that ensures that the server is started when the
>> program is.
>
> And determining what platform's binary to run in the first place
> (Windows? Linux? Solaris?, Windows Mobile?, ...) including the
> version of the libc. I thought about what is possible here for a while now
> and I guess the effort and download-size are not worth it.

You'd build postrgresql with the compilation flags you'd use for your
program: Problem solved.

Any embedded database like sqlite would have to talk to libc too, and
so (presumably) would your main program.




More information about the dev mailing list