Find the locking sessions from following select s1.username || '@' || s1.machine || ' ( SID=' || s1.sid || ' ) is blocking ' || s2.username || '@' || s2.machine || ' ( SID=' || s2.sid || ' ) ' AS blocking_status from v$lock l1, v$session s1, v$lock l2, v$session s2 where s1.sid=l1.sid and s2.sid=l2.sid and l1.BLOCK=1 and l2.request > 0 and l1.id1 = l2.id1 and l2.id2 = l2.id2 ; Get Session details from this sql example : if session id = 421select * from V$Session where sid = 421; Kill Sessions from following alter system kill session '421,7951'; Temporary Tables Get the out put from following sql and run the out put. SELECT 'ALTER SYSTEM KILL SESSION '''||SID||','||SERIAL#||''';' FROM V$SESSION WHERE SID IN ( SELECT SID FROM V$LOCK WHERE id1 = (SELECT object_id FROM all_objects WHERE owner ='CMDC' AND object_name ='TMP_EQUIPSTATUS'));
Behavior Driven Development (BDD) is a development process that originally associated with Test-Driven Development (TDD). BDD is written in a readable format in an understandable language for anyone involved in software development. BDD Features Providing better readability and visibility. Verifying the software against customer requirements. Assure the implementation of the system is correct. Derives examples of different expected behaviors of the system. Uses examples as acceptance tests. Focus on customer requirements throughout the development. BDD Practice There are two practices in BDD:- Specification by Example (SbE). Test-Driven Development (TDD). Specification by example (SbE) uses examples in conversation to illustrate the business rules and the behavior of the software. This uses to have a better understanding for Business Analyst, Product Owners, Testers and the Developers to reduce the misunderstanding abou...
Comments
Post a Comment