performancetuning
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| performancetuning [2015/07/21 08:51] – z0hpvk | performancetuning [2025/04/01 08:34] (current) – z0hpvk | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Performance Tuning ===== | ===== Performance Tuning ===== | ||
| - | === Get Active Sessions === | + | |
| + | ==== Simple Explain Plan ==== | ||
| + | <code sql> | ||
| + | SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY); | ||
| + | </ | ||
| + | |||
| + | ==== Get Active Sessions | ||
| < | < | ||
| COLUMN EVENT FORMAT A30 | COLUMN EVENT FORMAT A30 | ||
| Line 25: | Line 31: | ||
| AND s.username LIKE UPPER(' | AND s.username LIKE UPPER(' | ||
| - | === Get Query === | + | ==== Get Query ==== |
| < | < | ||
| set serverout on size 10000 | set serverout on size 10000 | ||
| Line 55: | Line 61: | ||
| SPOOL OFF</ | SPOOL OFF</ | ||
| - | === Get Explain Plan === | + | ==== Get Explain Plan ==== |
| < | < | ||
| SET SERVEROUT ON SIZE 1000000 | SET SERVEROUT ON SIZE 1000000 | ||
performancetuning.1437468692.txt.gz · Last modified: (external edit)
