当前位置:网站首页>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
边栏推荐
- mysql和pgsql时间相关操作
- 异常记录-10
- 基于ECS搭建云上博客(体验有礼)
- Information:2021/9/29 10:01 - Build completed with 1 error and 0 warnings in 11s 30ms Error异常处理
- Will restarting the Oracle listener break the existing connection
- 异常记录-17
- 搭建基于OSS的图片分享网站-反馈有礼
- BPF program of type XDP
- VirtualBox如何修改“网络地址转换(NAT)”网络模式下分配给虚拟机的IP网段
- Abnormal record-18
猜你喜欢

10g数据库使用大内存主机时不能启动的问题

Prometheus thanos Quick Guide

冬季实战营 动手实战-初识上云基础,动手实操ECS云服务器新手上路 领鼠标 云小宝 背包 无影

使用prom-label-proxy实现Prometheus Thanos的基于标签的多租户读

Dolphinscheduler集成Flink任务踩坑记录

冬季实战营动手实战-上云必备环境准备,动手实操快速搭建LAMP环境 领鼠标 云小宝 背包 无影

【机器学习】笔记 4、KNN+交叉验证

Redis practice notes and source code analysis

qs. In the stringify interface, the input parameter is converted into a & connected string (with the application / x-www-form-urlencoded request header)

Prometheus cortex Architecture Overview (horizontally scalable, highly available, multi tenant, long-term storage)
随机推荐
异常记录-21
10g数据库使用大内存主机时不能启动的问题
异常记录-9
Alertmanager重复/缺失告警现象探究及两个关键参数group_wait和group_interval的释义
将数组中指定的对象排在数组的前边
select命令产生redo日志问题的分析
阿里云日志服务sls的典型应用场景
Introduction to RDMA network
oracle表空间表分区详解及oracle表分区查询使用方法
pg库对姓名进行校验
Practice of openvswitch VLAN network
switch case时连写常规判断表达式的错误 case和if并用 l
qs. In the stringify interface, the input parameter is converted into a & connected string (with the application / x-www-form-urlencoded request header)
通过源码探究@ModelAndView如何实现数据与页面的转发
OVS and OVS + dpdk architecture analysis
Abnormal record-13
[shell script exercise] batch add the newly added disks to the specified VG
Exception record-5
Static interface method calls are not supported at language level ‘5‘ 异常解决
When switch case, concatenate the error case and if of the conventional judgment expression and use L