常见的错误观念,及解决方法。
- 错误:让开发人员与DBA各自为政。正确让他们有更多的观念交流。
- 错误:测试开销太大。正确: 长久眼光来看,没有测试开销更大。
- 错误:没有深入了解database都提供了什么。正确:原因可能是想着数据库的移植性,或是对db的不熟悉。
DBA Don'ts:
- No views allowed.
- No stored procedures allowed.
- No features added after version 6 allowed.
- No adoption of new features for N releases.
DBA Dos:
- Do consider the develper as someone you can teach and to whom you can pass on your database knowledge.
- Do evaluate and test new features as they come out.不要对它们放手不管。不要因为某个功能给你带来的一次坏的体验而完成放弃它。每个事物都有自己的位置,都有它存在的价值。也许(大多数是)不好的体验源自于不合适的使用它。锤子用来定钉子是个非常好的工具,但是用来拧就非常难用了。
- Do backup up(支持) your policy and procedures with factual evidence.(使用确实的证据来支持你的观点。)
Developer Dos and Don'ts
- Do not try to work around the DBAs, work with then.
- Do not assum that the DBAs are working against you.
- Do ask the DBAs to tell u why.
- Do make sure you know what you are talking about.否则,你很快会失去公信力。使用科学的方法:设定一个假设,构建测试证明(否定)此假设。确保此测试足以证明你的观点。In that fashion, you 'll have a very solid leg stand on when describing why your approach is correct.
本文深入探讨了数据库管理与开发中常见的误解,并提供了有效的解决策略。包括如何避免让开发人员与DBA各自为政,认识到测试的重要性,以及深入了解数据库功能的重要性。此外,文章还提出了DBA和开发者之间的互动方式,强调了评估和测试新功能的必要性,以及备份政策的重要性。
275

被折叠的 条评论
为什么被折叠?



