Chinaunix首页 | 论坛 | 博客
  • 博客访问: 76749
  • 博文数量: 17
  • 博客积分: 570
  • 博客等级: 中士
  • 技术积分: 180
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-15 20:08
文章分类

全部博文(17)

文章存档

2009年(4)

2008年(3)

2007年(2)

2006年(8)

我的朋友

分类: Oracle

2006-11-30 12:07:25

     Kevin Loney 在 Oralce Database 10g: The Complete Reference 一书中给了十条数据库设计的10条戒律:
 
The ten commandments of humane design:
1. Include users. Put them on the project team and teach them the relational model and SQL.
2. Name tables, columns, keys, and data jointly with the users. Develop an application thesaurus to ensure name consistency.
3. Use English words that are meaningful, memorable, descriptive, short, and singular. Use underscores consistently or not at all.
4. Don’t mix levels in naming.
5. Avoid codes and abbreviations.
6. Use meaningful keys where possible.
7. Decompose overloaded keys.
8. Analyze and design from the tasks, not just the data. Remember that normalization is not design.
9. Move tasks from users to the machine. It is profitable to spend cycles and storage to gain ease of use.
10. Don’t be seduced by development speed. Take time and care in analyses, design, testing, and tuning.
阅读(790) | 评论(0) | 转发(0) |
0

上一篇:对付Hibernate的“懒惰”

下一篇:JSF下马威

给主人留下些什么吧!~~