In this post I am going to explain you how to get the Oracle blocking session details.
SQL
Get details of which session is blocking and waiting.
set pages 1000 lines 120 col username for a15 SELECT OC.inst_id, OC.user_name username,
set lines 120 pages 1000 break on report compute SUM of tot on report
select to_char(last_ddl_time,'DD-MON-YYYY HH24:MI:SS') from dba_objects where owner='&user' and object_name='&Object_name';
uname -M / prtconf
cat /sys/devices/virtual/dmi/id/*
PROCEDURE PURGE Argument Name Type In/Out Default? ------------------------------ ----------------------- ------ --------
EXEC dbms_stats.delete_table_stats('<TALE OWNER>', '<TABLE NAME>'); EXEC dbms_stats.delete_table_stats(OWNNAME=>'<TALE OWNER>', TABNAME=>'<TABLE NAME>');
SQL> create user "mytest" identified by mytest; create user "mytest" identified by mytest * ERROR at line 1: ORA-65096: invalid common user or role name
A thousand may fall at your side, ten thousand at your right hand, but it will not come near you. (Psalm 91:7)
acehints.com Copyright 2011-23 All Rights Reserved | Site Map | Contact | Disclaimer