舒俱来是什么宝石| ccu是什么病房| aa是什么病| 烫伤擦什么药| 什么人不适合做收银员| 翡翠对人体有什么好处| 射手座和什么星座最配| 叶酸有什么作用| 急性阑尾炎什么症状| lp是什么的简称| 胸片能查出什么| hpv是一种什么病| 什么叫肽| facebook是什么| 本我是什么意思| 身体出现白斑有可能患什么病| 黄芪的读音是什么| 朱砂是什么| 圆脸适合什么短发发型| 6月16什么星座| 八月初八是什么星座| 小孩容易出汗是什么原因| 肠息肉是什么症状| 红霉素软膏和红霉素眼膏有什么区别| 慕斯蛋糕是什么意思| 沉鱼落雁闭月羞花是什么意思| gp是什么的缩写| 什么叫克隆| 乌鸡白凤丸有什么功效| 转的第四笔是什么| 小蛮腰什么意思| 露酒是什么酒| 两千年前是什么朝代| 鄙视你是什么意思| 724是什么意思| 妊娠高血压对胎儿有什么影响| theme什么意思| 睡觉时头晕是什么原因| 尿频尿急尿不尽吃什么药效果最好| 常吃大蒜有什么好处| 火车代表什么生肖| 乌黑乌黑的什么| 淋巴细胞偏低是什么原因| 中宫是什么意思| 戌时属什么生肖| 蛋白粉什么时间喝最好| 糖吃多了有什么危害| 合肥有什么玩的| 腹黑是什么意思| 艾滋病初期什么症状| 钢铁锅含眼泪喊修瓢锅这是什么歌| 四是什么生肖| 香榧是什么东西| 黑户是什么| 排恶露吃什么药| 心梗是什么意思| 疯马皮是什么皮| 刀枪不入是什么生肖| 颌下淋巴结肿大挂什么科| 相爱相杀是什么意思| 体外是什么意思| 回声增强什么意思| 十一月什么星座| 上午9点是什么时辰| 什么的蘑菇| 孕妇手肿是什么原因| 床垫什么样的好| 撕漫男是什么意思| 拼音b像什么| 什么茶最好喝| 梦见红色的蛇是什么意思| 乳晕是什么意思| 补肾吃什么食物最好| 心梗是什么意思| 马拉松是什么意思| 肚子疼吃什么食物好| 什么情况下需要做活检| 人活着到底是为了什么| 皮下囊肿挂什么科| 属鼠的贵人是什么属相| 桃花长什么样| 脾虚是什么原因导致的| 为什么早上起来口苦| 冬五行属什么| 喉炎吃什么药| 什么药可以流产| 萧墙是什么意思| 天蝎座女生配什么星座| 腱鞘炎吃什么药好使| 胃胀胃痛吃什么药| 幡然是什么意思| 大便拉水是什么原因| 田七和三七有什么区别| 九月四号是什么星座的| 黄芪补什么| 黄皮果是什么水果| 张郃字什么| 热伤风感冒吃什么药好| 看血管挂什么科| 永加日念什么| 大白条是什么鱼| 半月板变性是什么意思| 38岁适合什么护肤品| loho眼镜属于什么档次| 天龙八部是什么朝代| 娇小是什么意思| 事后紧急避孕药什么时候吃有效| 长痱子用什么药| 鹿晗的原名是什么| 做梦梦到屎什么意思| 庚日是什么意思啊| 石灰的主要成分是什么| 挪威用什么货币| 大连有什么好吃的| 怀璧其罪是什么意思| 维生素b2有什么作用和功效| 2月19是什么星座| 流清水鼻涕是什么感冒| 站姐是什么意思| 棉麻是什么面料| 男人沉默了说明什么| 日入是什么时辰| 买手机上什么网| 狗吃什么药会立马就死| 尿酸高适合喝什么汤| 什么人容易得骨肿瘤| 尿渗透压低是什么原因| 一什么鼓| 蜻蜓喜欢吃什么| 海绵体充血不足吃什么药| 老年人骨质疏松吃什么钙片好| 瞬息万变是什么意思| 大便很粗是什么原因| 腮腺炎吃什么药最管用| 川芎治什么病最好| auc是什么意思| 血脂高有什么症状表现| 什么球| 琀是什么意思| 郑成功是什么朝代的| 阴道排气是什么原因| 斯什么意思| 告诫是什么意思| 一个金字旁一个各念什么| 甲状腺结节吃什么中药| 白细胞30是什么意思| 头疼是什么原因引起| 终结者是什么意思| 贼不走空什么意思| m表示什么| 音容笑貌的意思是什么| 乳腺纤维瘤是什么原因引起的| 常吃海带有什么好处| 冰是什么意思| 高三吃什么补脑抗疲劳| 今天是什么节日吗| 悠哉悠哉是什么意思| 急性扁桃体化脓是什么原因引起的| noon什么意思| 背上长痘是什么原因| 首善是什么意思| 久而久之下一句是什么| 血压低压高是什么原因| 喝水多尿多是什么原因| 扎是什么意思| 额头炎是什么症状| 燕子进屋来有什么兆头| anello是什么牌子| 什么牌子的冰箱好用又省电| 初级会计什么时候拿证| 什么是全脂奶粉| 哺乳期吃什么下奶| 乙肝疫苗什么时候打| 木薯淀粉是什么粉| 气胸病是什么原因引起的| le是什么元素| a血型和o血型生出宝宝是什么血型| ck属于什么档次| ppd是什么检查| 什么符号| 为什么拉尿会刺痛| 陈皮泡酒喝有什么功效和作用| 谁发明了什么| 胃胀疼是什么原因| 鲁智深的绰号是什么| 乳头瘤有什么症状| a-l-岩藻糖苷酶偏高是什么原因| 为什么拼音| 低密度脂蛋白胆固醇高吃什么药| 梦见和死去的人说话是什么意思| 犒劳自己是什么意思| 乌金是什么| 石花菜是什么植物| 治疗胃反酸烧心用什么药最好| 为什么眉毛会白| 益生菌什么时候吃最好| 七夕之夜是什么生肖| 脂肪肝吃什么中成药| 见红的血是什么颜色| 分手送什么花| 混不吝是什么意思| 澳门用什么币种| 肿瘤是什么样子的| 肚脐左上方是什么部位| 碧生源减肥茶有什么副作用| 湿气重喝什么茶好| 测血糖挂什么科| 转奶是什么意思| 肾结石是什么原因导致的| 猫癣用什么药| 粉是什么做的| 如意丹的作用是什么| 阴差阳错代表什么生肖| 过敏性鼻炎吃什么药能快速缓解| 拍大腿内侧有什么好处| 鹅蛋治什么妇科病| 百忧解是什么药| 有尿意但是尿不出来是什么原因| bps是什么意思| 抗宫炎片主要治什么| 经期吃什么补血| 看胸部挂什么科| 目赤什么意思| 恶心呕吐吃什么药| 增强免疫力的针叫什么| 梦到生女儿是什么意思| 干咳吃什么药好| 肉桂是什么茶| 苹果花是什么颜色| 高血糖吃什么降得快| 5月是什么月| 胃肠型感冒吃什么药| 包的部首是什么| 两头尖是什么中药| 心理活动是什么意思| 实性结节是什么意思| 手腕疼挂什么科| 羽毛球拍什么材质的好| 坐骨神经痛吃什么药好| 你会不会突然的出现是什么歌| 今年28岁属什么生肖| 什么人不能吃桃子| 骨质疏松挂什么科| 什么是卵泡期| 乙肝通过什么途径传染| 丑未戌三刑 会发生什么| 夏季感冒吃什么药| 蚊子最怕什么植物| 王八看绿豆是什么意思| 什么是代孕| coo是什么| 许久是什么意思| 早孕试纸和验孕棒有什么区别| 星是什么意思| 开火车什么意思| 世界上最难写的字是什么字| 鱼腥草长什么样| 阑尾炎不能吃什么| hrd是什么| 关节退行性变是什么意思| 猫咪为什么害怕黄瓜| 左手食指有痣代表什么| 什么是半月板损伤| 中国国花是什么花| 百度
BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News How Database Administration Fits into DevOps

人中浅的女人代表什么

The Agile Consortium International and Unicom are organizing the DevOps Summit Brussels 2016 on February 4 in Brussels, Belgium. InfoQ will cover this event.

Dan North will talk about how database administration fits into the world of DevOps at the DevOps Summit Brussels. InfoQ interviewed him about the activities that are performed by database administrators and how they are related to those done by developers and by operations, how database administration is usually organized, how the database fits into DevOps or Continuous Delivery, and what he expects that the future will bring for database administration when organizations adopt DevOps.

InfoQ: What are the activities that are typically performed by database administrators?

North: The DBA role typically spans multiple production environments, development teams, technologies and stakeholders. They may be tuning a database one minute, applying a security patch the next, responding to a production issue or answering developers’ questions. They need to ensure backups and replication are configured correctly, the appropriate systems and users have access to the right databases (and no-one else!), and they need to be on hand to troubleshoot unusual system behaviour.

Their real value lies in understanding the mechanics and details of the database itself, its runtime characteristics and configuration, so they can bridge the gap between developers writing queries and operations staff running jobs. A skilled DBA can identify ways to speed up slow-running queries, either by changing the query logic, altering the database schema or editing database runtime parameters. For instance, changing the order of joins, introducing an index (or sometimes removing an index!), adding hints to the database’s Query Execution Planner, or updating database heuristics, can all have a dramatic impact on performance.

InfoQ: How do their activities relate to those done by developers and by operations?

North: Sadly, too few developers really understand what goes on in a relational database. Mapping layers like Hibernate or Microsoft’s Entity Framework hide the internals from regular enterprise developers, whose bread and butter is C# or Java programming, and of course this is a double-edged sword. On one hand it makes it easier to develop basic applications where the database schema maps onto equivalent OO data structures, but things quickly become complex when your desired domain model diverges from the database schema, or when there are performance, availability or scaling considerations. At this point having a helpful DBA as part of the development team can be invaluable.

On the operations side, the DBA is often responsible for implementing a business’s replication or availability strategy. It is Operations’ role to monitor the systems, diagnose issues and "keep the lights on", but the DBAs will be closely involved in monitoring and diagnosing database-related issues. They also define the database management and maintenance processes the Operations team carry out.

InfoQ: Can you give some examples of how database administration is usually organized? What are the benefits and pitfalls of organizing it in such a way?

North: Traditionally the DBA role is another technology silo, turning requests or tickets into work. This means they can be lacking context about the broader business or technology needs and constraints, and are doing the best they can in an information vacuum. In my experience DBAs are often in an on-call support role so they are the ones being paged in the middle of the night when a developer’s query exceeds some usage threshold. Because of this they tend to be conservative, if not outright sceptical, about database changes coming through from developers.

Sometimes there is a mix of "Production DBAs" and "Development DBAs". The former tend to sit together, doing all the production maintenance work I described above. The latter are helping development teams interact with the database correctly, both in terms of schema design and querying. This model can work really well, especially where the Production and Development DBAs have an existing relationship of trust. The Production DBAs know the Development DBAs will ensure a level of quality and sanity in the schema design and database queries, and the Development DBAs trust the Production DBAs to configure and maintain the various database instances appropriately.

InfoQ: How does the database fit into DevOps or Continuous Delivery?

North: In a lot of organisations it simply doesn’t. Any database changes go through a separate out-of-band process independent of application code changes, and shepherding database-and-application changes through to production can be fraught.

Some organisations talk about "database-as-code", and have some kind of automated process that runs changes into the database as managed change scripts. These scripts live under source control along with the application code, which makes it easier to track and analyse changes. These change scripts, known as migration scripts or simply migrations, are the closest we have got to treating the database as code, but they still contain lots of unnecessary complexity.

InfoQ: What do you expect that the future will bring for database administration when organizations adopt DevOps? How can database administrators prepare themselves?

North: The ideal model is for DBAs to be an integral part of both Development and Operations teams. DevOps is about integrating the technical advances of agile development such as continuous integration, automation and version control into an Operations context, at the same time as retaining the rigour and discipline of the lights-on mentality.

In the future I would like database changes to be as simple as code changes. I don’t want to write migration scripts by hand or keep an audit of which scripts have been run in and which ones haven’t. I should be able to make whatever changes I choose to a development database and then "check it in" like I would with code. I don’t hand-roll the diffs that go into my version control system, I just change the software and the VCS figures out what changed.

The database tooling should figure out what has changed since the last "version" of the database and create the appropriate migrations. Some vendors such as Red Gate are making inroads in this space, but it feels like we still have a long way to go. Most of the current "agile" database tooling is around creating, applying and managing migrations rather than genuinely treating the database as code.

Rate this Article

Adoption
Style

BT
高压偏低有什么危害 检查肠胃做什么检查 什么样的人招蚊子 min代表什么意思 什么是疣体
鸟字旁的字和什么有关 闷葫芦是什么意思 梦见红棺材是什么征兆 c13阴性是什么意思 空腹吃荔枝有什么危害
今年52岁属什么生肖 什么原因得疱疹 皮肤属于什么组织 什么笔记本电脑好 拨备覆盖率是什么意思
什么人不能喝绿豆汤 杂菌阳性是什么意思 女生过生日送什么礼物好 23岁属什么 海参是什么动物
苟不教的苟是什么意思liaochangning.com 眼睛经常有眼屎是什么原因hcv8jop9ns6r.cn 狗尾巴草的花语是什么hcv7jop4ns7r.cn 什么是包皮过长图片hcv9jop6ns9r.cn 原字五行属什么hcv9jop7ns2r.cn
胆囊炎适合吃什么食物hcv8jop8ns4r.cn 老子叫什么名字xianpinbao.com 挂号特需是什么意思0735v.com 619是什么意思hcv8jop2ns9r.cn mcv偏低是什么意思hcv8jop3ns7r.cn
京东自营店什么意思hcv7jop6ns3r.cn 洗耳朵用什么药水hcv8jop6ns4r.cn 莱昂纳多为什么叫小李子hcv8jop8ns1r.cn 有什么可以快速止痒的方法chuanglingweilai.com cini是什么意思bfb118.com
驴血是什么颜色hcv8jop2ns5r.cn 双肺上叶肺大泡是什么意思hcv9jop7ns1r.cn 狗又吐又拉稀吃什么药hcv9jop0ns1r.cn 锡兵是什么意思wmyky.com 蒙氏教育是什么cj623037.com
百度