Sunday, January 20, 2008

COODBMS almost done? JOODBMS

The only thing remaining to be done in COODBMS is to add some methods to calendar--right now is simply extends PLargeTable. And to work up some samples, of course.

Now I've been giving some thought to the architecture of JOODBMS. There will actually be several layers of index.

At the highest level we have the system index which holds the various root branch indexes.

The second level has the root branch indexes. Each one is a virtual database, created from scratch or as a copy of another root branch index. The root branch index holds all of the transactions (which are rolons) and a master rolon which manages things. The JUnit of the master Rolon (a calendar) holds symbolic links to all of the transactions. The LUnit of the master Rolon holds symbolic links to the indexes at the third level.

The third level has indexes which hold the application Rolons. The JUnits of these rolons hold symbolic links to the transactions on the second level which updated them.

With the Transactions at the second level and the application Rolons at the third level allows us to create new copies of third-level indexes and execute selected transactions against them. So we might have a snapshot of the application at the start of the month and then re-run the transactions for the month against different copies of that snapshot. Each run might be with a different code base, or we might add/delete/update the transactions themselves before re-running them. Then you can compare the results.

As for space management, we can simply delete the transactions for previous months by using the master Rolon's range iterator--this is the power we get from building on top of COODBMS.

Could prove quite interesting.

0 Comments:

Post a Comment

<< Home