The STSdb 4.0 storage engine is a WaterfallTree™ implementation. The storage engine provides two data structures – XTable and XFile. XTable is an ordered key/value table. XFile is a sparse file. One storage engine can contain many tables and many files.
In STSdb 4.0 one storage engine instance is one database.
We can open/create a database using the STSdb factory:
IStorageEngine engine = STSdb.FromFile("test.stsdb4");
There are also several overloads
IStorageEngine engine = STSdb.FromMemory(); IStorageEngine engine = STSdb.FromStream(stream); IStorageEngine engine = STSdb.FromHeap(heap); IStorageEngine engine = STSdb.FromNetwork(host, port);