| Trees | Indices | Help |
|
|---|
|
|
object --+
|
ioengine.PersistenceEngine --+
|
Ocean
This storage works based on records stored in a hashtable The id must be hashable Internally, there is a long list of records and an index table which contains references to where these records are
Hence, each storage must have an index file and a data file During reads, first the whole index is read. Then the list of references are sorted before the data is read.
Multi Version Concurrency Control This is done as follows. At the start of a transaction, a copy of the index is made in thread local memory. The read time of the index is stored as well. During the transaction, this thread local version of the index is used. When the transaction commits, the thread local index is written to the global index (along with a write timestamp). However, if the write timestamp of the thread global index is > read timestamp of the thread local index, then the commit fails with a conflict error.
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Class Variables | |
|
Inherited from |
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
|
This method recreates the index file - not the index structure in memory
|
|
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Jun 27 12:35:57 2008 | http://epydoc.sourceforge.net |