Skip to main content

Database Design

  • Chapter
  • 2494 Accesses

Summary

In this chapter, we took a brief look at database design, from capturing requirements, through generating a conceptual design, and finally converting the conceptual design into a physical database design or schema. Along the way, we covered selecting candidate keys, primary keys, and foreign keys. We also looked at choosing data types for our columns, and talked about the importance of consistency in database design.

We briefly mentioned normal forms, an important foundation of good design with relational databases. Finally, we looked at three common problem patterns that appear in database design, and how they are conventionally solved.

In the next chapter, we will begin to look at ways to build client applications using PostgreSQL, starting with the libpq library, which allows access to PostgreSQL from C.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   69.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Neil Matthew and Richard Stones

About this chapter

Cite this chapter

(2005). Database Design. In: Beginning Databases with PostgreSQL. Apress. https://doi.org/10.1007/978-1-4302-0018-5_12

Download citation

Publish with us

Policies and ethics