×

Multi-writer in-memory non-copying database (MIND) system and method

  • US 8,769,350 B1
  • Filed: 09/20/2011
  • Issued: 07/01/2014
  • Est. Priority Date: 09/20/2011
  • Status: Active Grant
First Claim
Patent Images

1. A system for an application program to manage memory associated with an object-oriented database (OODB) accessed by the application program, the application program associated with an operating system, the system for an application program to manage memory comprising:

  • 1) a non-transitory computer memory; and

    2) a programmable processor in electronic communication with the memory, the processor configured to execute one or more modules comprising;

    (a) connecting, by the processor, to a data repository of the database, the data repository including a plurality of memory-mapped file segments stored on at least one nonvolatile memory medium, wherein the database is not stored in a main memory of a computer connecting to the data repository;

    (b) registering, by the processor, a fault handler with the operating system, the fault handler associated with the data repository;

    (c) catching, by the fault handler, a segmentation fault issued for an object referenced by the application program and resident in the data repository, the segmentation fault issued at an interrupt location in the application program;

    (d) finding, by the processor, a file segment of the data repository that corresponds to the referenced object;

    (e) mapping, by the processor, the found file segment into the main memory;

    (f) restarting, by the processor, the application program at the interrupt location; and

    (g) using, by the processor, a plurality of writing processes to simultaneously update a plurality of objects in the data repository, wherein each writing process writes to one object at a time, and wherein the objects in the data repository are divided into a plurality of genera, and wherein each genera has its own transaction log and lock object, and wherein file segments in the data repository are not copied into the main memory from the data repository when needed by the application program and are instead read, updated, deleted or modified directly in the data repository by the application program.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×