Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Database

Object Database Promises Performance Leap


SANTA CRUZ, Calif. — An open-source object-oriented database that targets embedded applications, db4o, is claiming a significant performance gain and reduced memory consumption in a new release. The improvements open the door to a wider range of applications, according to db4objects Inc., the company that develops, supports and commercially licenses the database.

Created in 2000, db4o serves Java and .NET programmers. It's found in such applications as cars, trains, airplanes, photocopiers, smart phones, and packaged software products. The database now claims some 15,000 registered users, nearly a million downloads, and 200 commercial customers in 30 countries. db4objects was founded in 2004 to support the database.

The new db4o 6.0 release is up to 10 times faster and uses up to 90 percent less memory than the previous version 5, said Christof Wittig, CEO of db4objects. These gains, he said, will take the database into new horizons. "We believe we will have a much larger target audience in the mobile space, and we'll see smaller device platforms looking into db4o," he said.

The db4o database provides an alternative to object-relational mappers, which convert Java or .NET objects for compatibility with a relational database management system. Even before the new version, db4o claimed to run much faster than these mappers, due to db4o's ability to story objects exactly as they're represented in the native application.

The 10-fold performance and memory gains are best-case situations, Wittig acknowledged. In some examples, he said, the new version was 2 or 3 times faster than the previous version. "The larger your database, the better the performance benefits," he said.

In most benchmarks run by the company, memory consumption for version 6.0 was constant at 3 Mbytes, down from 27 Mbytes in version 5.

The performance and memory improvements, Wittig said, are due to a new B-tree index architecture. This new architecture improves the database's client-server capability, because the B-trees reduce transfers of data between the client and the server, Wittig said. As a result, a new "server side cursor technology" speeds deterministic response times during queries in client/server multi-user environments.

Version 6.0 of db4o also provides an improved .NET API, eliminating some of the Java naming conventions of previous releases. It promises faster defragmentation than previous versions, with early tests showing a 10-fold speedup, according to Wittig. The new release also offers an updated replication system and a new GUI object manager.

The improvements to db4o were a community effort. Db4objects plans its product roadmap collaboratively in public, and users contribute code, ideas, bug fixes, and documentation. "This is really a community driven release, and it's directly attributed to community input," Wittig said.

db4o version 6.0 is available on line in a beta version now. It's available under the GNU Public License (GPL) for evaluation, non-profit, academic, and in-house use. db4objects offers commercial licenses for companies who wish to embed db4o into products for redistribution, and require direct support.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.