About 37,000 results
Open links in new tab
  1. How can I create an in-memory database with sqlite?

    I'm trying to create an in-memory database using sqlite3 in Python. I created a function to create a db database file and store information in to it and that is working 100%. But trying to connec...

  2. How to decide between SQLite database vs. in-memory usage

    SQLite have very small footprint when load itself (~250-400Kb). When SQLite work with on-disk database, there is no memory overhead because of it, it don't even meter size of the file (by …

  3. How can I load an existing database file into memory in Python …

    Oct 3, 2010 · I have an existing SQLite 3 database file, on which I need to make some extensive calculations. Doing the calculations from the file is painfully slow, and as the file is not large …

  4. Advantages of an in-memory Database in SQLite [closed]

    Sep 29, 2015 · A SQLite in-memory database 's primary advantage is performance: rather than reading and writing to disk, it will keep the whole database in memory. Memory is much faster …

  5. c# - Using SQLite in-memory with EF Core - context.Database ...

    Aug 1, 2024 · Using SQLite in-memory with EF Core - context.Database.EnsureCreated keeps throwing 'AUTOINCREMENT is only allowed on an INTEGER PRIMARY KEY' Asked 1 year, 3 …

  6. Synchronizing sqlite database from memory to file

    Jun 28, 2010 · I wish to save the information to an sqlite database, however I don't mind to commit changes to the disk once every ten minutes. Executing my queries when using a file …

  7. Python SQLAlchemy in-memory database connect - Stack Overflow

    I'm creating a in-memory database with python and I want to use SQLAlchemy with it. All my application is currently working directly with queries to the db. I've seen multiple ways of …

  8. sqlite - sharing a :memory: database between different threads in ...

    Jul 23, 2010 · Database accesses are entangled intentionally, to show that two connections to the in-memory database with the same name are the same from SQLite's point of view.

  9. sqlite - Can in-memory-sqlite3 database ever get faster than C

    Apr 14, 2024 · However, in my initial testing, SQLITE in-memory database is almost 12-30x slower than C++ data structures, just for insertions. I tried a few optimizations from this SO …

  10. Using MS Tests with sqlite in memory DB for API unit testing

    Feb 26, 2024 · SQLite/in memory is not recommended for testing DB queries. You should be using a real database for proper tests, probably using Testcontainers with docker, to spin up a …