What Is A Relational Database (RDBMS)?  |  Google Cloud (2024)

Contact Us Start free

  • Home
Stay organized with collections Save and categorize content based on your preferences.

Jump to

What is a relational database?

A relational database is a collection of information that organizes data in predefined relationships where data is stored in one or more tables (or "relations") of columns and rows, making it easy to see and understand how different data structures relate to each other. Relationships are a logical connection between different tables, established on the basis of interaction among these tables.

Learn how Google Cloud’s relational databases Cloud SQL,Cloud Spanner and AlloyDB for PostgreSQL can help you reduce operational costs and help you build transformative applications.

Ready to get started? Create a 90-day Cloud Spanner free trial instance with 10 GB of storage at no cost.

Relational database defined

A relational database (RDB) is a way of structuring information in tables, rows, and columns. An RDB has the ability to establish links—or relationships–between information by joining tables, which makes it easy to understand and gain insights about the relationship between various data points.

The relational database model

Developed by E.F. Codd from IBM in the 1970s, the relational database model allows any table to be related to another table using a common attribute. Instead of using hierarchical structures to organize data, Codd proposed a shift to using a data model where data is stored, accessed, and related in tables without reorganizing the tables that contain them.

Think of the relational database as a collection of spreadsheet files that help businesses organize, manage, and relate data. In the relational database model, each “spreadsheet” is a table that stores information, represented as columns (attributes) and rows (records or tuples).

Attributes (columns) specify a data type, and each record (or row) contains the value of that specific data type. All tables in a relational database have an attribute known as the primary key, which is a unique identifier of a row, and each row can be used to create a relationship between different tables using a foreign key—a reference to a primary key of another existing table.

Let’s take a look at how the relational database model works in practice:

Say you have a Customer table and an Order table.

What Is A Relational Database (RDBMS)? | Google Cloud (2)

The Customer table contains data about the customer:

  • Customer ID (primary key)
  • Customer name
  • Billing address
  • Shipping address

In the Customer table, the customer ID is a primary key that uniquely identifies who the customer is in the relational database. No other customer would have the same Customer ID.

The Order table contains transactional information about an order:

  • Order ID (primary key)
  • Customer ID (foreign key)
  • Order date
  • Shipping date
  • Order status

Here, the primary key to identify a specific order is the Order ID. You can connect a customer with an order by using a foreign key to link the customer ID from the Customer table.

The two tables are now related based on the shared customer ID, which means you can query both tables to create formal reports or use the data for other applications. For instance, a retail branch manager could generate a report about all customers who made a purchase on a specific date or figure out which customers had orders that had a delayed delivery date in the last month.

The above explanation is meant to be simple. But relational databases also excel at showing very complex relationships between data, allowing you to reference data in more tables as long as the data conforms to the predefined relational schema of your database.

As the data is organized as pre-defined relationships, you can query the data declaratively. A declarative query is a way to define what you want to extract from the system without expressing how the system should compute the result. This is at the heart of a relational system as opposed to other systems.

Examples of relational databases

Now that you understand how relational databases work, you can begin to learn about the many relational database management systems that use the relational database model. A relational database management system (RDBMS) is a program used to create, update, and manage relational databases. Some of the most well-known RDBMSs include MySQL, PostgreSQL, MariaDB, Microsoft SQL Server, and Oracle Database.

Cloud-based relational databases like Cloud SQL, Cloud Spanner and AlloyDB have become increasingly popular as they offer managed services for database maintenance, patching, capacity management, provisioning and infrastructure support.

Ready to get started? Create a 90-day Cloud Spanner free trial instance with 10 GB of storage at no cost.

Benefits of relational databases

The main benefit of the relational database model is that it provides an intuitive way to represent data and allows easy access to related data points. As a result, relational databases are most commonly used by organizations that need to manage large amounts of structured data, from tracking inventory to processing transactional data to application logging.

There are many other advantages to using relational databases to manage and store your data, including:

Flexibility

It’s easy to add, update, or delete tables, relationships, and make other changes to data whenever you need without changing the overall database structure or impacting existing applications.

ACID compliance

Relational databases support ACID (Atomicity, Consistency, Isolation, Durability) performance to ensure data validity regardless of errors, failures, or other potential mishaps.

Ease of use

It’s easy to run complex queries using SQL, which enables even non-technical users to learn how to interact with the database.

Collaboration

Multiple people can operate and access data simultaneously. Built-in locking prevents simultaneous access to data when it’s being updated.

Built-in security

Role-based security ensures data access is limited to specific users.

Database normalization

Relational databases employ a design technique known as normalization that reduces data redundancy and improves data integrity.

Relational vs. non-relational databases

The main difference between relational and non-relational databases (NoSQL databases) is how data is stored and organized. Non-relational databases do not store data in a rule-based, tabular way. Instead, they store data as individual, unconnected files and can be used for complex, unstructured data types, such as documents or rich media files.

Unlike relational databases, NoSQL databases follow a flexible data model, making them ideal for storing data that changes frequently or for applications that handle diverse types of data.

Solve your business challenges with Google Cloud

Create a 90-day Cloud Spanner free trial instance with 10 GB of storage at no cost.

Get started

Talk to a Google Cloud sales specialist to discuss your unique challenge in more detail.

Contact us

Related products and services

Google Cloud offers a range of fully-managed relational database services built to suit your business needs, from retiring your on-premises data center, to running SaaS applications, to migrating core business systems.

Our relational database offerings give you more choices for moving workloads to the cloud than ever before. Give your developers greater flexibility and freedom, so they have more time to focus on building the best possible apps.

Cloud SQL Fully managed relational database service for MySQL, PostgreSQL, and SQL Server.
Cloud Spanner Fully managed relational database with unlimited scale, strong consistency, and up to 99.999% availability.
AlloyDB Fully managed PostgreSQL-compatible database service for your most demanding enterprise database workloads.

Take the next step

Start building on Google Cloud with $300 in free credits and 20+ always free products.

Get started for free

Take the next step

Start your next project, explore interactive tutorials, and manage your account.

Go to console

  • Need help getting started?

    Contact sales
  • Work with a trusted partner

    Find a partner
  • Continue browsing

    See all products
  • Need help getting started?

    Contact sales
  • Work with a trusted partner

    Find a partner
  • Get tips & best practices

    See tutorials

What Is A Relational Database (RDBMS)?  |  Google Cloud (2024)
Top Articles
Supply Chain Strategy: Back to Basics
Why Do Students Drop Out of Computer Science Studies?
Mchoul Funeral Home Of Fishkill Inc. Services
Play FETCH GAMES for Free!
Odawa Hypixel
Faint Citrine Lost Ark
Ixl Elmoreco.com
Chris wragge hi-res stock photography and images - Alamy
Top 10: Die besten italienischen Restaurants in Wien - Falstaff
Doublelist Paducah Ky
Dr Doe's Chemistry Quiz Answer Key
Melfme
Ashlyn Peaks Bio
Atrium Shift Select
How to Watch Braves vs. Dodgers: TV Channel & Live Stream - September 15
Craigslist Chautauqua Ny
Purple Crip Strain Leafly
Worcester On Craigslist
Nebraska Furniture Tables
2021 Lexus IS for sale - Richardson, TX - craigslist
800-695-2780
Sivir Urf Runes
Van Buren County Arrests.org
Indiana Wesleyan Transcripts
Closest Bj Near Me
Beverage Lyons Funeral Home Obituaries
Craigslist Battle Ground Washington
Ceramic tiles vs vitrified tiles: Which one should you choose? - Building And Interiors
Lovindabooty
Mynahealthcare Login
Uno Fall 2023 Calendar
R/Sandiego
Clearvue Eye Care Nyc
Solve 100000div3= | Microsoft Math Solver
Cross-Border Share Swaps Made Easier Through Amendments to India’s Foreign Exchange Regulations - Transatlantic Law International
Delaware judge sets Twitter, Elon Musk trial for October
Boone County Sheriff 700 Report
Wisconsin Women's Volleyball Team Leaked Pictures
Guy Ritchie's The Covenant Showtimes Near Grand Theatres - Bismarck
boston furniture "patio" - craigslist
Chase Bank Zip Code
Best Conjuration Spell In Skyrim
Funkin' on the Heights
St Anthony Hospital Crown Point Visiting Hours
Argus Leader Obits Today
Who uses the Fandom Wiki anymore?
Mlb Hitting Streak Record Holder Crossword Clue
Home | General Store and Gas Station | Cressman's General Store | California
Karen Kripas Obituary
One Facing Life Maybe Crossword
Escape From Tarkov Supply Plans Therapist Quest Guide
login.microsoftonline.com Reviews | scam or legit check
Latest Posts
Article information

Author: Golda Nolan II

Last Updated:

Views: 6617

Rating: 4.8 / 5 (58 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Golda Nolan II

Birthday: 1998-05-14

Address: Suite 369 9754 Roberts Pines, West Benitaburgh, NM 69180-7958

Phone: +522993866487

Job: Sales Executive

Hobby: Worldbuilding, Shopping, Quilting, Cooking, Homebrewing, Leather crafting, Pet

Introduction: My name is Golda Nolan II, I am a thoughtful, clever, cute, jolly, brave, powerful, splendid person who loves writing and wants to share my knowledge and understanding with you.