Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Database Design and Modeling with PostgreSQL and MySQL

You're reading from   Database Design and Modeling with PostgreSQL and MySQL Build efficient and scalable databases for modern applications using open source databases

Arrow left icon
Product type Paperback
Published in Jul 2024
Publisher Packt
ISBN-13 9781803233475
Length 222 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Alkin Tezuysal Alkin Tezuysal
Author Profile Icon Alkin Tezuysal
Alkin Tezuysal
Ibrar Ahmed Ibrar Ahmed
Author Profile Icon Ibrar Ahmed
Ibrar Ahmed
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Part 1: Introduction to Databases
2. Chapter 1: SQL and NoSQL Databases: Characteristics, Design, and Trade-Offs FREE CHAPTER 3. Chapter 2: Building a Strong Foundation for Database Design 4. Part 2: Practical Implementation
5. Chapter 3: Getting Your Hands Dirty with PostgreSQL and MySQL 6. Part 3: Core Concepts in Database Design
7. Chapter 4: Mastering the Building Blocks of Database Design and Modeling 8. Part 4: Advanced Database Techniques
9. Chapter 5: Advanced Techniques for Advanced Databases 10. Chapter 6: Understanding Database Scalability 11. Part 5: Best Practices and Future Trends
12. Chapter 7: Best Practices for Building and Maintaining Your Database 13. Chapter 8: The Future of Databases and Their Designs 14. Index 15. Other Books You May Enjoy

Understanding databases and data models

A database is a structured collection of data that’s organized and accessed electronically, providing efficient mechanisms for data storage, retrieval, update, and management. The blueprint for data organization within a database is defined by its data model. The two primary paradigms for data models are the relational data model, commonly associated with SQL databases, and various data models used in NoSQL databases. The relational data model organizes data into schemas and tables with rows and columns, representing records and attributes, respectively. Relationships between tables are established through keys, ensuring data integrity. Normalization is employed to reduce data redundancy and enhance data integrity. SQL, the language of relational databases, offers powerful querying capabilities for interacting with data. Additionally, SQL databases support ACID transactions, ensuring reliability and consistency. In contrast, NoSQL databases embrace various data models, such as document stores, key-value stores, column-family stores, and graph databases. These models cater to different use cases and provide flexibility, scalability, and performance advantages, albeit with trade-offs in terms of transaction support and consistency models.

In light of these relational database characteristics, it’s essential to grasp the influence of these foundational elements on database efficiency and reliability. To achieve a thorough understanding, we will dive deeper into each concept for related areas, shedding light on their significance in practical scenarios.

You have been reading a chapter from
Database Design and Modeling with PostgreSQL and MySQL
Published in: Jul 2024
Publisher: Packt
ISBN-13: 9781803233475
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime