What’s the Difference between a Graph Database and a Relational Database?

Graph databases have been gaining popularity over recent years as a viable alternative to the relational model. Graph databases are particularly well suited to storing connected data – data with lots of interconnected relationships, especially those that run many levels deep.

This article looks at the main differences between graph databases and relational databases.

Continue reading

What is a Graph Database?

A graph database is a database that uses a graphical model to represent and store the data.

The graph database model is an alternative to the relational model.

In a relational database, data is stored in tables using a rigid structure with a predefined schema.

In a graph database, there is no predefined schema as such. Rather, any schema is simply a reflection of the data that has been entered. As more varied data is entered, the schema grows accordingly.

Continue reading

What is an ORDBMS?

ORDBMS stands for Object-Relational Database Management System.

An ORDBMS is a database management system that is a hybrid between the object-oriented model (OODBMS) and the relational model (RDBMS).

Each of those two models has their strengths and weaknesses. By combining the two models, a DBMS can take advantage of various strengths from each model.

Continue reading

What is an OODBMS?

OODBMS stands for Object-Oriented Database Management System.

An object-oriented database management system (also known simply as an object database) is a DBMS where data is represented in the form of objects, as used in object-oriented programming.

In contrast to relational database management systems (RDBMSs), where data is stored in tables with rows and columns, an object-oriented database stores complex data and relationships between data directly, without mapping to relational rows and columns.

Continue reading

What is a Data Warehouse?

A data warehouse is a large collection of data that can be used to help an organisation make key business decisions.

Here’s a more precise definition of the term,  as coined by Bill Inmon, (considered by many to be “the father of data warehousing”):

A data warehouse is a subject-oriented, integrated, nonvolatile, and time-variant collection of data in support of management’s decisions.

Continue reading

What is Big Data?

The term big data refers to the massive amounts of data – both structured and unstructured – that inundate organisations on a day-to-day basis.

Typically, big data is so large, and accumulates so fast, that traditional data storage and processing applications are inadequate.

The big data industry helps organisations capture and analyse their big data, so that those organisations can make more informed business decisions.

Continue reading

What is a DBMS?

DBMS stands for Database Management System.

A database management system is an application that enables the creation and administration of databases. Database management system is a broad term that includes any system that performs that function.

The most common type of DBMS is an RDBMS (Relational Database Management System). RDBMSs allow you to create relational databases – databases that have multiple tables that contain related data.

Continue reading

What is a Database Schema?

In database terms, a schema (pronounced “skee-muh” or “skee-mah”) is the organisation and structure of a database. Both schemas and schemata can be used as plural forms.

A schema contains schema objects, which could be tablescolumns, data types, views, stored procedures, relationships, primary keys, foreign keys, etc.

A database schema can be represented in a visual diagram, which shows the database objects and their relationship with each other.

Screenshot of a database schema.
A basic schema diagram representing a small three-table database.

Above is a simple example of a schema diagram. It shows three tables, along with their data types, relationships between the tables, as well as their primary keys and foreign keys.

Continue reading

What is SQL?

SQL is the standard language for querying data inside a relational database management system (RDBMS). It is supported by all of the major database systems, such as Microsoft Access, SQL Server, MySQL, Oracle, PostgreSQL, DB2, etc.

SQL is a relatively easy language to learn when compared to most programming languages. It is based on SQL “statements” that, at times, can resemble natural language.

For example:

SELECT CustomerName
FROM Customers
WHERE CustomerId = 1

The above SQL statement is asking the database to:

Select the value of the CustomerName column from the Customers table where the CustomerId column’s value equals 1“.

Continue reading