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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights 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
DOI: https://doi.org/10.1007/978-1-4302-0018-5_12
Publisher Name: Apress
Print ISBN: 978-1-59059-478-0
Online ISBN: 978-1-4302-0018-5
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books