Skip to content

Shared in-memory databases #70

Description

@jazzycamel

Opening a database in-memory with a URI path results in a file being created on disk rather than a named, shared database being created in memory as detailed here: https://www.sqlite.org/inmemorydb.html

For example, the following should create an in-memory database named memdb1 with a shared cache:

library(DBI)
con<-dbConnect(RSQLite::SQLite(), "file:memdb1?mode=memory&cache=shared")

Is this possible via a different syntax, option or command or can I request this as a new feature?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions