哪些资源可以帮助我了解关系数据库设计的基础知识
这是一些一直给我带来麻烦的基本数据库问题。我尝试过使用谷歌和维基,但不知何故我错过了理解功能而不是术语。
如果可能的话,如果有人可以使用一些视觉代表性示例分享对这个问题的更多见解,我将不胜感激。
什么是密钥?候选键?一个 主键?备用钥匙?一个 外键?
什么是索引以及它有什么帮助 您的数据库?
可用的数据类型有哪些? 何时使用哪些?
This are few of the fundamental database questions which has always given me trouble. I have tried using google and wiki but I somehow I miss out on understanding the functionality rather than terminology.
If possible would really appreciate if someone can share more insights on this questions using some visual representative examples.
What is a key? A candidate key? A
primary key? An alternate key? A
foreign key?What is an index and how does it help
your database?What are the data types available and
when to use which ones?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
购买一本有关关系数据库的介绍性书籍,例如这些之一。
Buy an introductory book about relational databases, such as one of these.
我强烈推荐信息专业人员的数据建模。您询问的是基本理论和概念,这些在书中比在像 SO 这样的问答答案网站上得到更好的解释。
I highly recommend Data Modeling for Information Professionals. You are asking about basic fundamental theory and concepts which are much better explained in a book than on a Q&A answer site like SO.
您可以简单地搜索 google 或 wiki...
什么是索引以及它如何帮助您数据库?
有哪些可用的数据类型以及何时使用哪些数据类型?
但是在每个数据库(同一数据库的每个版本)中,您可以拥有其他数据类型...如果您指定您感兴趣的数据库类型,那就更好
主键
在此站点中您还可以找到其他键;)
You could simple search google or wiki...
What is an index and how does it help your database?
What are the data types available and when to use which ones?
But in every database (every version of the same db) You can have other data types...its better if You specify which type of db You are interesting
A primary key
In this site You find other keys also ;)
“主键”和“备用键”。按主键搜索可能会更加优化。
数据库之间的数据类型差异很大,但通常您会拥有:
There's not really much difference between a "primary key" and an "alternate key". Searches by primary key might be more optimized.
Data types vary a lot between databases, but generally you'll have: