Trade-offs in database
Last week, The group ADAM made a wonderful lecture for us. I appreciated their lecture a lot not only because of their creative video, their clear explanation but also the use of comparisons which inspires me to write this blog.
When we make a comparison between similar concepts or approaches, the characteristics of each would be more evident and easier to understand. What’s more, we will find the trade-offs between alternatives which can provides us with advice when facing selections. So I will review the several comparisons in the half-term database learning and conclude the main trade-offs worth considering in database design.
Comparison I. Relational Model vs. E-R Model
Trade-off: Natural to users vs. Natural to designer
Related lecture: Relational Model & E-R Model
Comparison II. Normalization vs. Denormalization
Trade-off: space vs. efficiency(speed)
Related lecture: Database design
When we design a database, we do normalization to reduce redundancy( 1NF->2NF->3NF), but when we reduce redundancy, it will be more complicated for use to get the data we want by visiting more linked tables. So we choose to do denormalization to improve the efficiency.
Comparison III. XML vs. Json
Trade-off: natural language vs. space
Related lecture: Data serialization
Comparison V. Ordered indices vs. B+-tree index
Trade-off: space vs. efficiency(speed)
Related lecture: Data Storage and querying(Our lecture in week11)
So as we can see, (1)space and efficiency (2)natural and concise are trade-offs we often meet dealing with database design.
July 10, 2013 at 8am to July 15, 2013 at 8pm – S.T. Building 舜德楼
2 Comments 0 LikesShare your knowledge and creativity with the world, protect your work with CC Licenses and discover other creative works and CC activities around the world. For Chinese CC, please go to: (中文版知识共享协议网站请点击) http://cn.creativecommons.org.
Creative Commons licenses provide a flexible range of protections and freedoms for authors, artists, and educators.
Toyhouse.cc is licensed under a Creative Commons Attribution-NoDerivs 3.0 Unported License.
© 2013 Created by Toyhouse Administrator.
You need to be a member of Toyhouse to add comments!
Join Toyhouse