Visual/debugging enhancements for Oracle SQL explain plans?Understanding the results of Execute Explain Plan in Oracle SQL DeveloperOracle query using 'like' on indexed number column, poor performanceOracle EXECUTE IMMEDIATE changes explain plan of queryINSERT into temporary table GTT very slow from PL/SQLOracle SQL developer - Indexes and Execution plansSQL Execution PlanAnalysis of Oracle Explain Plan - Oracle Doing Full Table Accessperformance issues using UNIONIndex not being used in the QueryDifferent Explain Plans in SQL Developer vs Explain Plan for command
Could the museum Saturn V's be refitted for one more flight?
What Exploit Are These User Agents Trying to Use?
Was the old ablative pronoun "med" or "mēd"?
Does Dispel Magic work on Tiny Hut?
Are British MPs missing the point, with these 'Indicative Votes'?
How can I deal with my CEO asking me to hire someone with a higher salary than me, a co-founder?
Where would I need my direct neural interface to be implanted?
Mathematica command that allows it to read my intentions
Does int main() need a declaration on C++?
GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?
In Bayesian inference, why are some terms dropped from the posterior predictive?
Is it possible to map the firing of neurons in the human brain so as to stimulate artificial memories in someone else?
Is this draw by repetition?
files created then deleted at every second in tmp directory
Is this answer explanation correct?
How many wives did king shaul have
How exploitable/balanced is this homebrew spell: Spell Permanency?
Is it possible to create a QR code using text?
How to find if SQL server backup is encrypted with TDE without restoring the backup
Why were 5.25" floppy drives cheaper than 8"?
Placement of More Information/Help Icon button for Radio Buttons
Can compressed videos be decoded back to their uncompresed original format?
Venezuelan girlfriend wants to travel the USA to be with me. What is the process?
Is there a hemisphere-neutral way of specifying a season?
Visual/debugging enhancements for Oracle SQL explain plans?
Understanding the results of Execute Explain Plan in Oracle SQL DeveloperOracle query using 'like' on indexed number column, poor performanceOracle EXECUTE IMMEDIATE changes explain plan of queryINSERT into temporary table GTT very slow from PL/SQLOracle SQL developer - Indexes and Execution plansSQL Execution PlanAnalysis of Oracle Explain Plan - Oracle Doing Full Table Accessperformance issues using UNIONIndex not being used in the QueryDifferent Explain Plans in SQL Developer vs Explain Plan for command
I am using Eclipse (and its Data Tools Plugin) for DB/BI development and like to have some more visual/debugging aid in examining huge explain plans with e.g. up to 500 lines, e.g.:
----------------------------------------------------------------------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
----------------------------------------------------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 4077K| 21G| | 7224K (3)| 00:04:43 |
| 1 | SORT AGGREGATE | | 1 | 15 | | | |
|* 2 | TABLE ACCESS BY INDEX ROWID BATCHED | TAB1 | 1 | 15 | | 2 (0)| 00:00:01 |
|* 3 | INDEX RANGE SCAN | IDX_FK_1111111111 | 1 | | | 1 (0)| 00:00:01 |
| 4 | SORT AGGREGATE | | 1 | 15 | | | |
|* 5 | TABLE ACCESS BY INDEX ROWID BATCHED | TAB1 | 1 | 15 | | 2 (0)| 00:00:01 |
|* 6 | INDEX RANGE SCAN | IDX_FK_2222222222 | 1 | | | 1 (0)| 00:00:01 |
| 7 | WINDOW SORT | | 153 | 5967 | | 32 (7)| 00:00:01 |
|* 8 | HASH JOIN | | 153 | 5967 | | 31 (4)| 00:00:01 |
...
It would be nice to stay in Eclipse so I do not have to setup/change environments.
(I think SQL Developer and/or Toad had some graphic explain plan viewer with hierarchic collapse/expand functionality where there is also some Toad Eclipse Plugin available that I did not like because it was quite intrusive regarding project manipulation.)
But please feel free to add other answers for similar tools and maybe screenshots for users with similar needs but different environments.
sql oracle eclipse-plugin sql-execution-plan oracledb
add a comment |
I am using Eclipse (and its Data Tools Plugin) for DB/BI development and like to have some more visual/debugging aid in examining huge explain plans with e.g. up to 500 lines, e.g.:
----------------------------------------------------------------------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
----------------------------------------------------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 4077K| 21G| | 7224K (3)| 00:04:43 |
| 1 | SORT AGGREGATE | | 1 | 15 | | | |
|* 2 | TABLE ACCESS BY INDEX ROWID BATCHED | TAB1 | 1 | 15 | | 2 (0)| 00:00:01 |
|* 3 | INDEX RANGE SCAN | IDX_FK_1111111111 | 1 | | | 1 (0)| 00:00:01 |
| 4 | SORT AGGREGATE | | 1 | 15 | | | |
|* 5 | TABLE ACCESS BY INDEX ROWID BATCHED | TAB1 | 1 | 15 | | 2 (0)| 00:00:01 |
|* 6 | INDEX RANGE SCAN | IDX_FK_2222222222 | 1 | | | 1 (0)| 00:00:01 |
| 7 | WINDOW SORT | | 153 | 5967 | | 32 (7)| 00:00:01 |
|* 8 | HASH JOIN | | 153 | 5967 | | 31 (4)| 00:00:01 |
...
It would be nice to stay in Eclipse so I do not have to setup/change environments.
(I think SQL Developer and/or Toad had some graphic explain plan viewer with hierarchic collapse/expand functionality where there is also some Toad Eclipse Plugin available that I did not like because it was quite intrusive regarding project manipulation.)
But please feel free to add other answers for similar tools and maybe screenshots for users with similar needs but different environments.
sql oracle eclipse-plugin sql-execution-plan oracledb
I had problems with Oracle's OEPE Eclipse Plugin, but it had a nice context menu text and graphic explain plan feature: oracle.com/technetwork/developer-tools/eclipse/documentation/…
– Andreas Dietrich
Mar 21 at 20:45
add a comment |
I am using Eclipse (and its Data Tools Plugin) for DB/BI development and like to have some more visual/debugging aid in examining huge explain plans with e.g. up to 500 lines, e.g.:
----------------------------------------------------------------------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
----------------------------------------------------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 4077K| 21G| | 7224K (3)| 00:04:43 |
| 1 | SORT AGGREGATE | | 1 | 15 | | | |
|* 2 | TABLE ACCESS BY INDEX ROWID BATCHED | TAB1 | 1 | 15 | | 2 (0)| 00:00:01 |
|* 3 | INDEX RANGE SCAN | IDX_FK_1111111111 | 1 | | | 1 (0)| 00:00:01 |
| 4 | SORT AGGREGATE | | 1 | 15 | | | |
|* 5 | TABLE ACCESS BY INDEX ROWID BATCHED | TAB1 | 1 | 15 | | 2 (0)| 00:00:01 |
|* 6 | INDEX RANGE SCAN | IDX_FK_2222222222 | 1 | | | 1 (0)| 00:00:01 |
| 7 | WINDOW SORT | | 153 | 5967 | | 32 (7)| 00:00:01 |
|* 8 | HASH JOIN | | 153 | 5967 | | 31 (4)| 00:00:01 |
...
It would be nice to stay in Eclipse so I do not have to setup/change environments.
(I think SQL Developer and/or Toad had some graphic explain plan viewer with hierarchic collapse/expand functionality where there is also some Toad Eclipse Plugin available that I did not like because it was quite intrusive regarding project manipulation.)
But please feel free to add other answers for similar tools and maybe screenshots for users with similar needs but different environments.
sql oracle eclipse-plugin sql-execution-plan oracledb
I am using Eclipse (and its Data Tools Plugin) for DB/BI development and like to have some more visual/debugging aid in examining huge explain plans with e.g. up to 500 lines, e.g.:
----------------------------------------------------------------------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
----------------------------------------------------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 4077K| 21G| | 7224K (3)| 00:04:43 |
| 1 | SORT AGGREGATE | | 1 | 15 | | | |
|* 2 | TABLE ACCESS BY INDEX ROWID BATCHED | TAB1 | 1 | 15 | | 2 (0)| 00:00:01 |
|* 3 | INDEX RANGE SCAN | IDX_FK_1111111111 | 1 | | | 1 (0)| 00:00:01 |
| 4 | SORT AGGREGATE | | 1 | 15 | | | |
|* 5 | TABLE ACCESS BY INDEX ROWID BATCHED | TAB1 | 1 | 15 | | 2 (0)| 00:00:01 |
|* 6 | INDEX RANGE SCAN | IDX_FK_2222222222 | 1 | | | 1 (0)| 00:00:01 |
| 7 | WINDOW SORT | | 153 | 5967 | | 32 (7)| 00:00:01 |
|* 8 | HASH JOIN | | 153 | 5967 | | 31 (4)| 00:00:01 |
...
It would be nice to stay in Eclipse so I do not have to setup/change environments.
(I think SQL Developer and/or Toad had some graphic explain plan viewer with hierarchic collapse/expand functionality where there is also some Toad Eclipse Plugin available that I did not like because it was quite intrusive regarding project manipulation.)
But please feel free to add other answers for similar tools and maybe screenshots for users with similar needs but different environments.
sql oracle eclipse-plugin sql-execution-plan oracledb
sql oracle eclipse-plugin sql-execution-plan oracledb
asked Mar 21 at 20:42
Andreas DietrichAndreas Dietrich
2,17422265
2,17422265
I had problems with Oracle's OEPE Eclipse Plugin, but it had a nice context menu text and graphic explain plan feature: oracle.com/technetwork/developer-tools/eclipse/documentation/…
– Andreas Dietrich
Mar 21 at 20:45
add a comment |
I had problems with Oracle's OEPE Eclipse Plugin, but it had a nice context menu text and graphic explain plan feature: oracle.com/technetwork/developer-tools/eclipse/documentation/…
– Andreas Dietrich
Mar 21 at 20:45
I had problems with Oracle's OEPE Eclipse Plugin, but it had a nice context menu text and graphic explain plan feature: oracle.com/technetwork/developer-tools/eclipse/documentation/…
– Andreas Dietrich
Mar 21 at 20:45
I had problems with Oracle's OEPE Eclipse Plugin, but it had a nice context menu text and graphic explain plan feature: oracle.com/technetwork/developer-tools/eclipse/documentation/…
– Andreas Dietrich
Mar 21 at 20:45
add a comment |
2 Answers
2
active
oldest
votes
What you really want to use is SQL Monitor.
https://sqlmaria.com/2017/08/01/getting-the-most-out-of-oracle-sql-monitor/
thanks! looks good. although it looks as if one has to set it up (as web application server) or at least start it on the oracle host, which may not easily be possible?
– Andreas Dietrich
Mar 22 at 7:24
1
You do not need to set it up. It’s on by default. If you want to watch the queries live, then you need to use either EM or EMEcpress. But if you just want to view the final output, just generate the html file and open in a browser :)
– BobC
Mar 23 at 0:43
add a comment |
With the following simple regex find/replace strings applied to the text explain plan one can get a nice result:
(e.g. enabling/pushing the Editbox Eclipse Plugin Button
in an explain-plan-containing Editor (View) in Eclipse - any other editor with similar block display/highlight features will also do)
find: ^( |[^|]+d |)(s+)
replace: $2$1
will produce the following output (moving the operation indentions to the beginning of each line):
to get this kind of coloring one has to adjust Editbox (Eclipse -> Window -> Preferences-> Editbox -> Others
) this way:
Highlight selected box:
color <Custom> <Red>
,width <2>
Color levels: 14
Gradient tool:
(e.g.)from color <white> to
&<dark green>
(and maybe pushGenerate
)
(By the way: Hovering over such a block one can press ALT+Z
which will text-select the whole block e.g. for easy copy/paste. (on appropriately indented SQLs also useful for partial code execution))
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55288928%2fvisual-debugging-enhancements-for-oracle-sql-explain-plans%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
What you really want to use is SQL Monitor.
https://sqlmaria.com/2017/08/01/getting-the-most-out-of-oracle-sql-monitor/
thanks! looks good. although it looks as if one has to set it up (as web application server) or at least start it on the oracle host, which may not easily be possible?
– Andreas Dietrich
Mar 22 at 7:24
1
You do not need to set it up. It’s on by default. If you want to watch the queries live, then you need to use either EM or EMEcpress. But if you just want to view the final output, just generate the html file and open in a browser :)
– BobC
Mar 23 at 0:43
add a comment |
What you really want to use is SQL Monitor.
https://sqlmaria.com/2017/08/01/getting-the-most-out-of-oracle-sql-monitor/
thanks! looks good. although it looks as if one has to set it up (as web application server) or at least start it on the oracle host, which may not easily be possible?
– Andreas Dietrich
Mar 22 at 7:24
1
You do not need to set it up. It’s on by default. If you want to watch the queries live, then you need to use either EM or EMEcpress. But if you just want to view the final output, just generate the html file and open in a browser :)
– BobC
Mar 23 at 0:43
add a comment |
What you really want to use is SQL Monitor.
https://sqlmaria.com/2017/08/01/getting-the-most-out-of-oracle-sql-monitor/
What you really want to use is SQL Monitor.
https://sqlmaria.com/2017/08/01/getting-the-most-out-of-oracle-sql-monitor/
answered Mar 22 at 3:20
BobCBobC
2,9621613
2,9621613
thanks! looks good. although it looks as if one has to set it up (as web application server) or at least start it on the oracle host, which may not easily be possible?
– Andreas Dietrich
Mar 22 at 7:24
1
You do not need to set it up. It’s on by default. If you want to watch the queries live, then you need to use either EM or EMEcpress. But if you just want to view the final output, just generate the html file and open in a browser :)
– BobC
Mar 23 at 0:43
add a comment |
thanks! looks good. although it looks as if one has to set it up (as web application server) or at least start it on the oracle host, which may not easily be possible?
– Andreas Dietrich
Mar 22 at 7:24
1
You do not need to set it up. It’s on by default. If you want to watch the queries live, then you need to use either EM or EMEcpress. But if you just want to view the final output, just generate the html file and open in a browser :)
– BobC
Mar 23 at 0:43
thanks! looks good. although it looks as if one has to set it up (as web application server) or at least start it on the oracle host, which may not easily be possible?
– Andreas Dietrich
Mar 22 at 7:24
thanks! looks good. although it looks as if one has to set it up (as web application server) or at least start it on the oracle host, which may not easily be possible?
– Andreas Dietrich
Mar 22 at 7:24
1
1
You do not need to set it up. It’s on by default. If you want to watch the queries live, then you need to use either EM or EMEcpress. But if you just want to view the final output, just generate the html file and open in a browser :)
– BobC
Mar 23 at 0:43
You do not need to set it up. It’s on by default. If you want to watch the queries live, then you need to use either EM or EMEcpress. But if you just want to view the final output, just generate the html file and open in a browser :)
– BobC
Mar 23 at 0:43
add a comment |
With the following simple regex find/replace strings applied to the text explain plan one can get a nice result:
(e.g. enabling/pushing the Editbox Eclipse Plugin Button
in an explain-plan-containing Editor (View) in Eclipse - any other editor with similar block display/highlight features will also do)
find: ^( |[^|]+d |)(s+)
replace: $2$1
will produce the following output (moving the operation indentions to the beginning of each line):
to get this kind of coloring one has to adjust Editbox (Eclipse -> Window -> Preferences-> Editbox -> Others
) this way:
Highlight selected box:
color <Custom> <Red>
,width <2>
Color levels: 14
Gradient tool:
(e.g.)from color <white> to
&<dark green>
(and maybe pushGenerate
)
(By the way: Hovering over such a block one can press ALT+Z
which will text-select the whole block e.g. for easy copy/paste. (on appropriately indented SQLs also useful for partial code execution))
add a comment |
With the following simple regex find/replace strings applied to the text explain plan one can get a nice result:
(e.g. enabling/pushing the Editbox Eclipse Plugin Button
in an explain-plan-containing Editor (View) in Eclipse - any other editor with similar block display/highlight features will also do)
find: ^( |[^|]+d |)(s+)
replace: $2$1
will produce the following output (moving the operation indentions to the beginning of each line):
to get this kind of coloring one has to adjust Editbox (Eclipse -> Window -> Preferences-> Editbox -> Others
) this way:
Highlight selected box:
color <Custom> <Red>
,width <2>
Color levels: 14
Gradient tool:
(e.g.)from color <white> to
&<dark green>
(and maybe pushGenerate
)
(By the way: Hovering over such a block one can press ALT+Z
which will text-select the whole block e.g. for easy copy/paste. (on appropriately indented SQLs also useful for partial code execution))
add a comment |
With the following simple regex find/replace strings applied to the text explain plan one can get a nice result:
(e.g. enabling/pushing the Editbox Eclipse Plugin Button
in an explain-plan-containing Editor (View) in Eclipse - any other editor with similar block display/highlight features will also do)
find: ^( |[^|]+d |)(s+)
replace: $2$1
will produce the following output (moving the operation indentions to the beginning of each line):
to get this kind of coloring one has to adjust Editbox (Eclipse -> Window -> Preferences-> Editbox -> Others
) this way:
Highlight selected box:
color <Custom> <Red>
,width <2>
Color levels: 14
Gradient tool:
(e.g.)from color <white> to
&<dark green>
(and maybe pushGenerate
)
(By the way: Hovering over such a block one can press ALT+Z
which will text-select the whole block e.g. for easy copy/paste. (on appropriately indented SQLs also useful for partial code execution))
With the following simple regex find/replace strings applied to the text explain plan one can get a nice result:
(e.g. enabling/pushing the Editbox Eclipse Plugin Button
in an explain-plan-containing Editor (View) in Eclipse - any other editor with similar block display/highlight features will also do)
find: ^( |[^|]+d |)(s+)
replace: $2$1
will produce the following output (moving the operation indentions to the beginning of each line):
to get this kind of coloring one has to adjust Editbox (Eclipse -> Window -> Preferences-> Editbox -> Others
) this way:
Highlight selected box:
color <Custom> <Red>
,width <2>
Color levels: 14
Gradient tool:
(e.g.)from color <white> to
&<dark green>
(and maybe pushGenerate
)
(By the way: Hovering over such a block one can press ALT+Z
which will text-select the whole block e.g. for easy copy/paste. (on appropriately indented SQLs also useful for partial code execution))
answered Mar 21 at 20:42
Andreas DietrichAndreas Dietrich
2,17422265
2,17422265
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55288928%2fvisual-debugging-enhancements-for-oracle-sql-explain-plans%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I had problems with Oracle's OEPE Eclipse Plugin, but it had a nice context menu text and graphic explain plan feature: oracle.com/technetwork/developer-tools/eclipse/documentation/…
– Andreas Dietrich
Mar 21 at 20:45