当前位置:网站首页>oracle杀死正在执行的sql
oracle杀死正在执行的sql
2022-04-23 06:05:00 【旺财2】
查出正在执行的sql
SELECT b.sid oracleID,
b.username 登录Oracle用户名,
b.serial#,
spid 操作系统ID,
paddr,
sql_text 正在执行的SQL,
b.machine 计算机名
FROM v$session b
left join v$process a on a.addr = b.paddr
left join v$sqlarea c on b.sql_hash_value = c.hash_value
如何写 杀死进程的sql
alter system kill session '{ORACLEID},{SERIAL#}'; 如下:
alter system kill session '1345,20312';
alter system kill session '4,21443';
alter system kill session '1342,35376';
版权声明
本文为[旺财2]所创,转载请带上原文链接,感谢
https://blog.csdn.net/wdyliuxingfeiyang/article/details/120777130
边栏推荐
- [shell script exercise] batch add the newly added disks to the specified VG
- Prometheus和Thanos Receiver的“写多租户”实现
- Exception record-6
- Exception record-9
- Virtio and Vhost_ Net introduction
- 异常记录-13
- oracle计算两日期相差多少秒,分钟,小时,天
- Kubernetes coredns FAQ reference
- Detailed explanation of RDMA programming
- JS format current time and date calculation
猜你喜欢
Introduction to DDoS attack / defense
冬季实战营 动手实战-MySQL数据库快速部署实践 领鼠标 云小宝
阿里云日志服务sls的典型应用场景
Using Prom label proxy to implement label based multi tenant reading of Prometheus thanos
Chaos vous emmène au projet chaos.
Prometheus Thanos快速指南
阿里矢量库的图标使用教程(在线,下载)
Practice of openvswitch VLAN network
实践使用PolarDB和ECS搭建门户网站
通过源码探究@ModelAndView如何实现数据与页面的转发
随机推荐
select命令产生redo日志问题的分析
Alertmanager重复/缺失告警现象探究及两个关键参数group_wait和group_interval的释义
Build an OSS based image sharing website - polite feedback
OSS云存储管理实践(体验有礼)
Openvswitch compilation and installation
Introduction to RDMA network
Memcached source code analysis
异常记录-9
异常记录-7
oracle存储过程中is和as区别
冬季实战营 动手实战-MySQL数据库快速部署实践 领鼠标 云小宝
Winter combat camp hands-on combat - first understand the cloud foundation, hands-on practice ECS ECS ECS novice on the road to get the mouse cloud Xiaobao backpack shadowless
OVS and OVS + dpdk architecture analysis
异常记录-18
Dolphinscheduler集成Flink任务踩坑记录
你应该知道的 JVM 基础知识
Prometheus alarm record persistence (historical alarm saving and Statistics)
Apache SeaTunnel 2.1.0部署及踩坑
Prometheus Thanos快速指南
Chaos带你快速上手混沌工程