What is it?
Sun may own MySQL, but the company has put more resources into integrating the rival open source database PostgreSQL into its Solaris operating system.
Traditionally PostgreSQL has been regarded as the heavyweight of the two, the Oracle equivalent, in contrast to the cheap and cheerful, SQL Server-like MySQL. PostgreSQL has been the choice for on line transaction processing, MySQL for websites.
PostgreSQL had the reputation of performing poorly in web applications, which was blamed on its feature-heaviness, but performance has improved dramatically in recent releases.
PostgreSQL is also available in two commercial implementations which emphasise its mission-critical capabilities: Greenplum's massively parallel version for data warehousing, and EnterpriseDB's Oracle clone Postgres Plus, which claims 99.99 per cent availability.
IBM and NTT are major investors in EnterpriseDB. The Postgres version of SQL, PL/pgSQL, has always been similar to Oracle's PL/SQL, and the PostgreSQL team and supporting companies have been pushing PostgreSQL to Oracle migration for years. Even with 24/7 commercial support from Sun, Unisys and other service companies, PostgreSQL can be rolled out at a fraction of the cost of Oracle. Once other factors such as tools and skills availability are included, the cost advantage is less clear, however, and Gartner Group suggests that "total cost of ownership" of open source databases may still be higher than their commercial equivalents. Where did it originate? Michael Stonebraker, creator of Ingres, began work on Postgres in 1986 at UC Berkeley, California. An early commercial version of Postgres, Illustra, became part of the Informix Universal Server. What is it for? PostgreSQL's "enterprise-class" features include a query optimiser (also recently added by Sun to MySQL), Multi-Version Concurrency Control, point-in-time recovery, asynchronous replication and hot backups. As well as its own PL/pgSQL, PostgreSQL can run stored procedures in Java, C/C++, Perl, Python, Ruby and Tcl. PostgreSQL includes a framework allowing developers to define and create their own custom data types along with supporting functions and operators that define their behaviour. PostgreSQL 8.3, which became generally available last spring, added ANSI standard SQL/XML support. For administrators, there are a number of graphical alternatives to the psql command line, including phpPgAdmin, based on an interface written for MySQL. Sun has optimised PostgreSQL to take advantage of Solaris technologies such as native DTrace Probes, Solaris Containers (which allow Linux and other applications to run on Solaris), and predictive self-healing. What makes it special? According to analyst Robin Bloor, 2008 was the year that petabyte databases became manageable. Bloor says Greenplum, based on the PostgreSQL engine, is "architected for the petabyte world and can load data at a speed above 4.5 terabytes per hour - which is neat, given that it doesn't just write the data to disk, but actually organises it to enable fast queries". How difficult is it to master? You will need a good grasp of SQL. There are two-day retraining courses for experienced DBAs. Where is it used? Major users include BASF, Yahoo, Skype and NTT. PostgreSQL is widely used in the public sector in the US and across Europe. What systems does it run on? Linux, all major versions of Unix, Mac OSX, and a recent port to Windows with Visual C++ compilation. What's coming up? A community-driven PostgreSQL skills certication project is under way. Rates of pay Developers and DBAs earn £25,000 to £45,000.

written by Simon Riggs, October 14, 2009
written by Eric Miles, October 14, 2009

- 08/02/2012 04:36 - Virtualization With Xen On CentOS 6.2 (x86_64)
- 08/02/2012 04:34 - Virtual Users/Domains With Postfix/Courier/MySQL/SquirrelMail (CentOS 6.2 x86_64)
- 08/02/2012 04:29 - Running ownCloud3 On Nginx (LEMP) On Debian Squeeze/Ubuntu 11.10
- 23/01/2012 04:38 - The Perfect Server - CentOS 6.2 x86_64 With nginx [ISPConfig 3]
- 26/12/2011 04:39 - Running Joomla 1.7 On Nginx (LEMP) On Debian Squeeze/Ubuntu 11.10
- 18/05/2009 12:23 - Is Memcached a Good or Bad Sign for MySQL?
- 15/05/2009 11:24 - University of Duisburg-Essen relies on MySQL Enterprise Unlimited
- 12/05/2009 13:45 - Sun Presents Annual MySQL Awards
- 09/05/2009 08:40 - CommunityOne West MySQL Event
- 08/05/2009 06:12 - Sun Launches New MySQL Enterprise Partner Program for 'Remote DBA' Service Providers
- 24/04/2009 04:41 - Sun Announces MySQL 5.4
- 23/04/2009 02:07 - Lower Database TCO with Sun and MySQL
- 21/04/2009 05:41 - Oracle to Buy Sun
- 06/04/2009 10:28 - Speech Design Selects MySQL Cluster to Power New Value-Added Mobile Services
- 18/11/2008 10:59 - MySQL - Focus on Scalability for Web 2.0


