Free and open-source software is making a splash in the world of databases. But is it reliable enough for your critical applications? Builder AU contributor Simon Sharwood investigates.

It isn't often that technology and television share a story. But in the case of the open source movement and reality television, the parallels are eerie: both came to public attention in the late 1990s and subverted the usual order by putting ordinary people centre stage. Reality television has grown beyond well beyond its roots to infest almost every aspect of modern life, while open source has gone from a geek's plaything to underpinning modern computing tasks like web serving, application serving and embedded computing.

These applications are the open source movement's biggest stars and hog the limelight from open source databases, which seem to be voted off the island before the computing public can appreciate the subtleties of their personality.

"We have not had a single byte of data lost through any glitches or problems with the database in seven years, across perhaps 50 major projects."

This lack of interest is about to change. Vendors are changing channels and spending more time watching this end of the open source market. And in 2004, the itchy thumbs of the technology buying public will decide whether databases will continue the open source success story, or cross the boredom threshold like the surfeit of nubile renovators, chefs and husband-hunters currently plaguing our weekday evenings.


Subscribe to Builder Magazine
This article first appeared in Builder Magazine. To subscribe to the free magazine visit our subscription centre.

To understand the prospects of open source databases three factors need to be assessed: the quality of open source databases themselves; the quality of support from Linux vendors for all databases; and the extent to which commercial database vendors are willing to commit to their offerings on open source.

On this last score there seems little to inhibit open source databases, as commercial database vendors lavish Linux with care and attention to ensure that their products can run on the open source operating system and deliver the kind of experience enterprise-class users demand.

Sybase, for example, has developed versions of its database and analytics products for Linux, citing the low total cost of ownership of Linux on Intel as enabling ROI it cannot ignore if it is to serve its customers. IBM does likewise, offering DB2 and accompanying development tools for Linux, while also offering Linux on mainframes to provide high scalability.

Perhaps the best example of how commercial database vendors are making Linux a viable environment for the enterprise database is Oracle, which advocates Linux as the optimal environment for its recently-released 10g database. -You want a lean, efficient operating system [for grid computing] ," says the company's Director of Business and Technology Solutions Roland Slee, as Oracle believes that both operating systems and servers are perennially fallible and that it is the database itself which must deliver the high levels of reliability, availability, security and manageability (RASM) aspired to by all enterprise vendors. Oracle therefore takes responsibility for delivering RASM of its database on Linux, even providing its own clusterware - and ignoring these features n Linux - to create its vaunted grids.

The company has also worked with Red Hat to create new features for the Linux kernel so it is better suited to grid computing and even goes so far as to provide level 3 support for Linux, offering to re-write the operating system if required to sustain customers' systems.

Oracle's efforts send mixed messages about the maturity of Linux to support large and complex enterprise databases, as by taking on many of the trickiest and most important technical and support roles for itself it raises questions about Linux's suitability as an environment for databases which do not follow a similar path and take it upon themselves to deliver RASM.

"It's likely to take two or three years before organisations are comfortable with the technology of these products."

Linux vendors, however, are working hard to imbue their distributions with the features database vendors prize. Red Hat, for example, operates a certification program to ensure that open source databases - and any other application - conform to best practices that ensure optimal performance.

The company also adds features database vendors indicate will benefit users, says the company's Australian Director of Engineering Paul Gampe. -We have configured the kernel to provide up to 64 gigabytes of main memory, which Oracle cited as important," he says. -We also have a native POSIX threading library," plus other features commercial database vendors appreciate as they allow their wares to hum along at the speeds enterprises demand.

The efforts of Red Hat and other distributions mean that Linux seems well-suited to hosting enterprise databases in less exotic configurations than Oracle's grids.

Open source databases also seem up to the task, with PostgresSQL and MySQL leading the way with impressive scalability and reliability, plus standard implementations of SQL which make skills transfer to the open source products simple, at least in theory.

Such is their performance that several Australian businesses now specialise in open source database solutions. Melbourne-based Cybersource, for example, has used open source databases since 1997. According to founder and Director Con Zymaris: -We have not had a single byte of data lost through any glitches or problems with the database in seven years, across perhaps 50 major projects."

Stephen Barker, Director of Sydney-based SquizPty Ltd, a company specialising in solutions based on open source databases which offers its own open source content management system, is similarly enthusiastic about the quality of open source databases. -We believe Postgres can compete in any reasonable sort of environment," he says, and cites a long list of happy but publicity-shy corporate and government customers to prove his assertion.

But despite the high quality of open source databases, doubts remain about their suitability in the enterprise. -There are many situations where we don't get the job because we can't provide warranty or uptime guarantees," Barker says. -Users sometimes wonder who they can sue if something goes wrong. It's easy to find and sue Oracle, which is a commercial entity. But who do they sue if MYSQL hurts their business?" Lack of comprehensive benchmarks is another oft-cited concern, while the quality of documentation for some open source databases.

Gartner Analyst Phil Sargeant hears similar concerns. -A lot of organisations are still concerned about the technical maturity of these products compared with the mainstream database products," he says. -It's likely to take 2 or 3 years before organisations are comfortable with the technology of these products."

And even when the technology of open source databases matches that of commercial databases, Sergeant sees obstacles. -We must appreciate that many organisations have already deployed proprietary database products and have invested a lot of money in products and skills," he says. -Many of these organisations will be reluctant to invest in yet another product and a new learning curve with respect to support and operation."

"Users sometimes wonder who they can sue if something goes wrong. It's easy to find and sue Oracle, which is a commercial entity. But who do they sue if MySQL hurts their business."

One thing in open source database's favour, though, is Sergeant's assertion that - ... traditional database vendors have failed to lower prices materially. This has the potential to send open source database products and traditional databases on a collision course. This is likely to place buying organisations in a strong bargaining position."

Database vendors, however, seem unworried. -We believe the database will be the last piece of software left standing because people won't risk the integrity of their data," says Oracle's Slee.

Nonetheless, Gartner expects strong adoption of open source databases from around 2008, by when it is likely businesses will enjoy the choice of technologically comparable databases strongly differentiated by price, a factor which has of course fuelled open source software's spectacular rise. And with the seemingly endless success of open source software - and the never-ending stream of reality television - it seems foolish to suggest that open source databases will not become part of the computing furniture before too much more time has passed.


Discuss this in the Builder Forums
Do you have a related question or comment? You can access our forums here and post your questions, reply to other users, search for answers and more.

The open source database contenders

PostgresSQL
Postgres traces its roots back to 1986 and the University of California at Berkeley. The University released its code to the open source community under the BSD license in 1994, and the community responded by adding SQL support and continuing to develop the software to this day. Some of the original code and design survives, both in Postgres and in Informix’s database, a product which started by using Postgres’ code and is now owned by IBM. Postgres is considered the most advanced open source database but the quality of its documentation is contentious.

MySQL
Founded in 1995, Sweden-based MySQL AB offers its eponymous database as both an open source and a commercially-licensed product, a “dual licence” strategy it says allows it to build a firm financial footing for continued improvements to its database. With over 100 employees MySQL lays claim to being the world’s largest open source database organisation, boasts over 4 million installs and is praised as the most usable of the open source databases. The company also offers MaxDB, an open source database once owned by ERP giant SAP and certified to run its R/3 suite.

Firebird
When Borland released the beta source code for version 6.0 of its Interbase relational database product in 2000, it created the world’s newest open source database. Now in version 1.5, the database has become prized for its small footprint and reliable SQL engine.

BerkeleyDB
An embedded database, BerkeleyDB is used by Apache, Sendmail, the Mozilla browser and even by Google. EMC uses it in some storage devices, while Sun’s LDAP server rests on its code. Cisco and Sony are also users. Claims over 200 million deployments and, like MySQL, runs a dual license strategy.

Other open source databases include “hsqldb” and “Mckoi”, two all-Java SQL engines. eXist is a native XML database, while Backplane offers an all open-source alternative to Oracle’s grid computing solution.

Related links

Comments

1

Christopher Browne - 19/06/04

Actually, it's quite clear who you'd sue if you had a problem with MySQL.

MySQL(tm) is the product of MySQL AB, and just as you might imagine suing Oracle Corporation if you had a problem with Oracle, you might similarly imagine suing MySQL AB.

Of course, in either case, there are likely to be so many legal caveats in their licenses that suing them may be implausible in real life. Nobody gets to sue Microsoft when their server crashes under the load of spam that is going through the holes in Outlook...

» Report offensive content

2

Volker Rehn - 20/06/04

They have been for years. People would be surprised if they knew how many businesses, government departments, hospitals etc. successfully operate open source RDBMS. The main reasons why businesses have so far been reluctant to make the transition are, imo

a) lack of information
b) a tendency to use what everyone else is using
c) the amount of work to make the change

This is about to change.

» Report offensive content

3

Fred Watchers - 21/06/04

I don't remember ever reading of any organisation suing Microsoft, Oracle or Sybase over data loss or corrpution. Please give us examples of when this was the case to prove the point.

» Report offensive content

4

Adam Gardner - 21/06/04

Open source databases are for real. In fact, I would go further than that. Open Source databases will eventually all but replace commercial databases for future projects. Even today, they have a reputation for reliability and more often that not are well documented.

When software is initially designed, a dbms needs to be picked that will be feature rich enough, reliable and fast. Open source allows developers to lower their prices by saving on license fees (not exactly brain surgery). Most software vendors realise this and either have, are working on, or are considering enabling their product to run on Open Source RDBMS.

Sometimes however there is no choice but to use a commercial platform. Firebird can do just as good a job for many applications as Oracle. There are some areas it is much better. In other areas, Oracle wins out.

Developers need to maintain their clients, so the question comes down to which has the lowest TCO. Is the cost of the license fee offset by the savings in support fees.

Each dbms has its die-hard evangelists ready to quote why their breed is a better choice for everything. Each application however, has different priorities. For some it is scalability, for others it is ACID, for others, it is purely speed even if it compromises reliability (eg web servers). Firebird (the one I use) is teriffic for what I need it to do, but it does not beat every other dbms at every function.

With each release, the difference between Commercial and Open Source narrows. We will end up having the choice between cheap license fees for mature products (Oracle, DB2 etc), Open Source general purpose (MySQL, PostgreSQL, Firebird, etc), or specialised products.

» Report offensive content

5

Keith Kube - 24/06/04

Ingres soon to be released as open source. (by august 04)

» Report offensive content

6

Quinton Dolan - 06/07/04

You forgot to include one of pioneers of opensource SQL database engines, developed right here in Australia at Bond University, and the origin of many of the API features still found in MySQL today, MiniSQL (mSQL) written by David J Hughes and released as opensource in June 1994.

» Report offensive content

7

Marcello Dias - 14/10/04

Iīm testing Ingres and never found a so powerfull Free RDBMS.
I donīt know where people got the Idea tha Ingres is outdated.
It has many features not present in any other open source project.
It should be compared to Oracle and Db2 not to Firebird.
It has also Visual Dba that is a manager much beter than those free
option for Postgres and Firebird.
MySql is not free at all ,at least not for me,Itīs license is a gotcha.

Marcello Dias

» Report offensive content

8

Harry - 31/07/05

Hsqldb is just great, I run it with a Roller Blogger system. Very reliable and recovers well from inadvertant power shutdowns.

» Report offensive content

Leave a comment

You must read and type the 6 chars within 0..9 and A..F

* indicates mandatory fields.

8

Harry - 31/07/05

Hsqldb is just great, I run it with a Roller Blogger system. Very reliable and recovers well from inadvertant power shutdowns. ... more

7

Marcello Dias - 14/10/04

Iīm testing Ingres and never found a so powerfull Free RDBMS. I donīt know where people got the Idea tha Ingres is ... more

6

Quinton Dolan - 07/06/04

You forgot to include one of pioneers of opensource SQL database engines, developed right here in Australia at Bond University, and ... more

Log in


Sign up | Forgot your password?

  • Staff Microsoft shows off IE9 preview

    This week, highlights from Microsoft's MIX10 conference and more in the Roundup. Read more »

    -- posted by Staff

  • Chris Duckett IE9's H.264 vote killed Ogg

    In a split decision by the judges, the winner of the W3C/WHATWG video codec consensus is H.264, taking home the future of video playback on the internet while loser Ogg goes home with nothing but thoughts of what might have been. Read more »

    -- posted by Chris Duckett

  • Staff Google launches Apps Marketplace

    Google launches and app store, while Mozilla plans to re-write its open-source license. More of this week's news in the Roundup. Read more »

    -- posted by Staff

What's on?

  • Optus Deal

    Broadband + home phone + PlayStation®3 in a single package price!