Databases/Introduction/Transwiki Database

Databases are a way of storing data in order that it may be information within a context of both itself and external sources.

Types of Databases
There are several types of databases available :


 * Flat Databases
 * Relational Databases
 * Object Oriented Databases
 * Hierarchical Databases
 * Post-Relational Databases

Examples of Databases

 * 1) Flat Databases
 * 2) * Unix passwd/shadow and group/gshadow files
 * 3) Relational Databases
 * 4) * Firebird (http://www.firebirdsql.com/)
 * 5) * MySQL (http://www.mysql.com/products/)
 * 6) * PostgreSQL (http://www.postgresql.org/)
 * 7) * Oracle Database (http://www.oracle.com/database/)
 * 8) * Microsoft SQL Server (http://www.microsoft.com/sql/)
 * 9) Post-relational Databases
 * 10) * InterSystems Caché (http://www.InterSystems.com)

Database Programming Languages
Many people think that the programming languages used to access a database define what kind of database is used. This is not true.

For example,

SQL can be used to access information in both Relational Databases and in Post Relational Databases.

Caché ObjectScript can be used to access information in Object Oriented Databases, Hierarchical Databases, and Post-Relational Databases.

OQL can be used to access information in Object Oriented Databases.

OCL is part of the UML specification and allows the querying of objects that can be persisted in any form (for example, XML files and relational databases)

MUMPS can be used to access information in Hierarchical Databases, and Flat Databases.

Dbase can be used to access information in Flat Databases.

Database theory is hard to learn and needs an understanding of some mathematical theories to understand certain concepts.

External References

 * Borland Presentation on OCL