McObject has released Perst 3.0, an upgrade to its all-Java embedded database system, with improvements including built in full-text search, and powerful compression in embedded Java. The release also offers enhanced documentation via a new 38-page Introduction and Tutorial that leads users through Perst’s features and design principles step-by-step, with ample code illustrations.The images below are not specific to this release, but a good illustration of Perst for Java. They show the TestIndex benchmark application, which compares Perst's performance in database tasks to the performance of other embedded databases, running on Java in the Android emulator:
New features in version 3.0:
- Full-text search. Perst’s built-in full-text search improves on the database’s earlier integration with the open source Apache Lucene information retrieval library. By making full-text search a native Perst feature, the embedded database gains greater efficiency compared to the earlier approach, and a smaller footprint (the Lucene .jar file is several hundred kilobytes in size, while including search capability in Perst adds just a few kilobytes).
Perst’s new full-text search feature uses a standard b-tree to store an inverse index of keywords, with parsing and stemming of indexed text performed either by user-defined code or by Perst’s default simple parser and stemmer. Logical operators are supported. For documents matching a query, Perst calculates the relevance of the document to the query.
- Compression in embedded Java. Memory and storage footprint are major concerns for developers in Java ME, the Java variant for mobile and embedded devices. Perst Lite, for Java ME, adds powerful on-the-fly compression in version 3.0 that reduces stored data’s size by three to five times, on average. Coupled with the database system’s already-small footprint, this compression adds another compelling reason for developers to choose Perst Lite for data management on smartphones, PDAs and other small-profile devices.
- Documentation. Perst 3.0 marks improvements in the embedded database’s documentation. McObject has added a concise new 38-page Tutorial and Introduction that guides users through Perst’s features and design principles, using both explanation and code examples.
Sections range from the basics – such as creating, opening and storing objects in a database – to advanced topics including schema evolution and database replication.
Perst is part of McObject’s family of powerful small footprint, high performance embedded database software products. The eXtremeDB™ in-memory embedded database from McObject is used widely in devices including MP3 players, WiMAX base stations, digital TVs, telecom/network communications equipment and military/aerospace technology. Perst is available for Java SE-, Java ME- and .NET Compact Framework-based devices, as well as for Java and .NET applications generally. CA’s Wily Technology credits Perst with delivering a shortened development cycle and a ten-fold performance improvement within its real-time Java application.