Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
YiRanCN committed Jul 18, 2024
1 parent 1ae22cc commit d782e54
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/study/db/SQL/达梦.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@

对标的是Oracle

### 清除达梦的一些连接

莫名其妙达梦多了一些无效的连接,估计是会话时间一致没控制导致的,

```SQL
-- 查询所有会话连接 可以根据IP模糊搜素
SELECT * FROM V$SESSIONS where CLNT_IP like '%103.41%';

-- 结束会话 上面语句返回的SESS_ID字段
CALL SP_CLOSE_SESSION(140149950321128);
```

### 参考

- [DM8官方介绍](https://www.dameng.com/DM8.html)
Expand Down

0 comments on commit d782e54

Please sign in to comment.