IntroductionΒΆ

OverviewΒΆ

DeltaTraceDB is an in-memory NoSQL database that stores data in units of class-based lists.

This database allows you to:

  • Register class structures directly as database entities.

  • Perform full-text searches on the elements of registered classes.

  • Represent queries themselves as classes, containing metadata such as who, when, what, why, and from.

When serialized and saved, these query objects provide a rich source of information for:

  • Security audits

  • Usage analysis

  • Operational traceability

This makes DeltaTraceDB especially valuable for projects with stringent compliance and data integrity requirements.

Furthermore, by utilizing advanced features such as the TemporalTrace class within queries, DeltaTraceDB can also support applications involving space-scale communication networks or relay servers, where latency is significant even at the speed of light.

Database StructureΒΆ

The internal structure of DeltaTraceDB is organized as follows:

  • Each collection corresponds to a list of serialized class instances.

  • This design allows developers to work directly with data on a class-based basis, eliminating issues such as data inconsistency and data shaping.

Example structure:

πŸ“¦ Database (DeltaTraceDB)
β”œβ”€β”€ πŸ—‚οΈ CollectionA (key: "collection_a")
β”‚   β”œβ”€β”€ πŸ“„ Item (ClassA)
β”‚   β”‚   β”œβ”€β”€ id: int
β”‚   β”‚   β”œβ”€β”€ name: String
β”‚   β”‚   └── timestamp: String
β”‚   └── ...
β”œβ”€β”€ πŸ—‚οΈ CollectionB (key: "collection_b")
β”‚   β”œβ”€β”€ πŸ“„ Item (ClassB)
β”‚   β”‚   β”œβ”€β”€ uid: String
β”‚   β”‚   └── data: Map<String, dynamic>
└── ...

Processing Suited to This DBΒΆ

DeltaTraceDB is particularly suitable for:

  1. Local server data management

  2. Application user data management

  3. App state management (e.g., Flutter apps)

On the other hand, it is not suitable for:

  1. Server-side processing requiring large-scale parallel access

  2. Storing extremely large volumes of data

Note

DeltaTraceDB is single-threaded and designed to run in memory. It cannot handle datasets larger than the available system memory, and is therefore less suitable for high-scale or distributed environments.

In short, DeltaTraceDB is the perfect database for small to medium-sized projects that can benefit from its simplicity and traceability.