13.07.2015 Views

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

14.5 Oracle, PostgreSQL, MySQL31714.5.1 MySQLMySQL is a very fast but somewhat limited SQL database system. It is wildlypopular mainly because it is simple, fast, and Free. It is everything that youwould need to back a dynamic Web site. As of this writing, the stable producti<strong>on</strong>versi<strong>on</strong> of MySQL is 4.0.16, but most <strong>Linux</strong> distributi<strong>on</strong>s are still shippingsomething from the 3.23.x series.At this point, MySQL lacks some key features:• Stored procedures• Sub-SELECTs• TriggersVersi<strong>on</strong> 4.0.x does support some l<strong>on</strong>g-awaited features (if you use theInnoDB table type instead of the default MyISAM tables), such as row-levellocking, foreign keys, and transacti<strong>on</strong>s. But InnoDB tables are not directlyavailable in the 3.23.x versi<strong>on</strong>s still shipping with many distributi<strong>on</strong>s.MySQL is an excellent choice for designs that do not require stored procedures,triggers, or transacti<strong>on</strong>s. It is widely used as a back end for dynamic Websites—applicati<strong>on</strong>s with many reading users and few writing users.For more informati<strong>on</strong> <strong>on</strong> MySQL, see Core MySQL by Le<strong>on</strong> Atkins<strong>on</strong>(ISBN 0-13-066190-2).14.5.2 PostgreSQLPostgreSQL is a surprisingly complete and full-featured database offering.Not <strong>on</strong>ly does it fully support stored procedures, triggers, views, foreignkeys, and transacti<strong>on</strong>s, but it also implements an innovative “record versi<strong>on</strong>ing”system for multiuser integrity. Unlike many other databases, readers may c<strong>on</strong>tinueto read c<strong>on</strong>sistent data during writing activity (n<strong>on</strong>blocking revisi<strong>on</strong>s), andbackups may be taken while the database is still available for queries. This is aserious database.This database has excellent public documentati<strong>on</strong>. Take a look at thePostgreSQL Documentati<strong>on</strong>. 1 Another useful book is PostgreSQL by Korry andSusan Douglas (ISBN 0-7357-1257-3).1. http://www.postgresql.org/docs/current/static/index.html

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!