This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- Show information about Oracle sessions | |
-- | |
SELECT s.inst_id, s.osuser, gps.qcsid, p.spid, s.sid, s.serial# | |
, s.machine, s.schemaname, s.program, w.event AS wait_event | |
FROM gv$session s | |
JOIN gv$process p ON p.addr = s.paddr | |
LEFT OUTER JOIN gv$session_wait w ON w.sid = s.sid | |
LEFT OUTER JOIN gv$px_session gps ON gps.sid = s.sid AND gps.serial# = s.serial# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Find the size of all tables in an Oracle schema | |
-- Script by Sergey Stadnik, http://ozmoroz.com | |
-- Licensed under CC BY with attribution required | |
-- Based on Stackoverflow.com discussion | |
-- http://stackoverflow.com/questions/264914/how-do-i-calculate-tables-size-in-oracle | |
DEFINE schema_name = 'replace_with_your_schema_name' | |
SELECT * FROM ( | |
SELECT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
handleClick = (…args) => (event) => {…} | |
… | |
<button onClick=(handleClick(…args)}>Button</button> |