User:Ted nw/sandbox
From Wikipedia, the free encyclopedia
Perst | |
---|---|
Developed by | McObject |
OS | Cross-platform |
Genre | ODBMS |
License | GPL or Commercial License |
Website | http://www.mcobject.com/perst |
Perst is an open source, dual license, object-oriented embedded database management system (ODBMS), available in two implementations: one that is developed entirely in the Java programming language, and another developed in the C# language (for applications that will run within the Microsoft .NET Framework).
Perst for .NET supports standard and Compact .NET frameworks and can therefore be used to develop Microsoft Windows CE and PocketPC applications.
Perst Lite is an implementation of Perst for Java for applications running on cell phones, PDAs and other resource-constrained devices based on Sun Microsystems’ Java Platform, Micro Edition (Java ME, formerly called Java 2, Micro Edition, or J2ME). Perst Lite is included in the Perst for Java distribution, and has a “code footprint” approximately 30 percent smaller than standard Perst.
Contents |
[edit] History
Perst was developed by Konstantin Knizhnik, a programmer living in Moscow, Russia, and released in 2003. In 2006, Knizhnik transferred Perst’s copyright to McObject, a for-profit company in Issaquah, Washington, United States. McObject develops and maintains the system, selling technical support and service contracts, as well as proprietary-licensed copies of Perst. Knizhnik, as a consultant to McObject, is still closely involved in developing Perst.
McObject develops another DBMS, eXtremeDB, which is from an unrelated codebase.
[edit] Licensing
Users can redistribute and/or modify Perst under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. For individuals or organizations that cannot or do not wish to comply with the GPL, a commercial license for this software may be purchased from McObject.
[edit] Product Features
[edit] Size
The Perst engine’s size is 5,000 lines of code, and its run-time RAM needs range from 30K to 300K.
[edit] Transactions
Perst transactions support the ACID properties (Atomicity, Consistency, Isolation and Durability) with automatic recovery.
[edit] Querying
Perst provides a subset of SQL for filtering elements of a collection class. For access to persistent objects, Perst implements specialized collection classes including:
- B-tree indexes
- R-tree indexes
- Main-memory database container classes based on T-trees
- Patricia Trie indexes
- TimeSeries class to deal efficiently with small fixed-size objects, such as stock quotes
- Specialized versions of collections for thick indexes (indexes with many duplicates) and bit indexes (keys with a restricted number of possible values)
[edit] Schema evolution
To facilitate changes to an existing database design (database schema), Perst implements “lazy” database schema evolution. When an object instance is loaded from the database, its class descriptor is compared with the format of the class in the application. If they are not identical, and the object is to be changed, then the object is converted and stored in the new format.
[edit] Additional Features
- Garbage collection
- Multi-threaded
- Detection of hanging references
- XML import/export utilities
- Master-slave replication support (with the option to run read-only queries on slave nodes)
- Integration with AspectJ and JAssist aspect-oriented programming tools.
[edit] External links
Perst information on McObject Web site
“Developing an object-oriented database for J2ME-based embedded devices”, article on Embedded.com.
|