about lock? what should a dba do?

[复制链接]
查看11 | 回复4 | 2015-3-6 11:57:31 | 显示全部楼层 |阅读模式
Hi, there,
It seems that locks a very complex strategy to ensure the concurrency of your db.
Butwhat need to be involved as a dba? I have not seen any case that require dba to do anything, only theory..
Can any experienced dba give some working knowledge or example ?
thanks in advance!




回复

使用道具 举报

千问 | 2015-3-6 11:57:31 | 显示全部楼层
In case of a dead lock happened, the DBA has to intervene to kill one of the session.
回复

使用道具 举报

千问 | 2015-3-6 11:57:31 | 显示全部楼层
it also help you to gauge the performance of sql statements.
回复

使用道具 举报

千问 | 2015-3-6 11:57:31 | 显示全部楼层
比如一个(错误)sessoion说用Exclusive模式锁住了一个重要的表,导致许多别的进程都无法DML,就需要考虑杀掉这个进程。
就需要查处这个Lock标的进程,杀掉他。
回复

使用道具 举报

千问 | 2015-3-6 11:57:31 | 显示全部楼层
Beginning the db design?
By the way, chao_ping, how is bj dba meeting?can u count me?

I will be back sooner or later...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行