[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: In-memory database
Geert,
You can create an in-memory database by adding ?create=true to an
embedded JDBC URL. However, you can not start an in-memory database as
a database server that allows connections through a TCP JDBC URL such as
'jdbc:mckoi://localhost/' unless the control API is used.
It's simple to fix. Probably the best solution is to change McKoiDBMain
and add a 'create_and_start' option to the command line.
Toby.
Geert Bevin wrote:
> Hi,
>
> According to this thread
> http://mckoi.com/database/mail/subject.jsp?id=6832 it's possible to run
> McKoi entirely in memory, but the database has to be explicitely created
> as the first command in the session. Would it be possible to add a
> ';create=true' option to the JDBC connection start that automatically
> creates a database if it wasn't found? Many other embedded java
> databases offer this feature.
>
> Best regards,
>
> Geert
>