-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for oracle database #36
Conversation
Can you post a screenshot of what it looks like? |
I have added in readme as well you check out in PR file diff or you can check it out here, |
command.ExecuteNonQuery(); | ||
|
||
// Querying the execution plan using DBMS_XPLAN | ||
command.CommandText = "SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY())"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this give an actual query plan or an estimated one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an estimated plan, should we give option for actual plan or show only actual plan
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actual is better as that's how it behaves for other databases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actual is better as that's how it behaves for other databases.
Done, also added a line in readme which make it clear to users that all plans are actual query plans
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please also tell me scope for this PR, would you consider it only when tree visuals are ready?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Textual plan is fine. You can do the tree in a separate PR if you want to. I'll review the changes later today.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Textual plan is fine. You can do the tree in a separate PR if you want to. I'll review the changes later today.
Thanks, I shared this with my oracle DBA friends they liked the plan content specially I/O stats, but they complained hitting 5 sec time out more often than not.When I looked its mostly in first connection and specially when its remote DB in another region - Like their machine is in ASIA and they are connecting DB in US East.
I see this in known issues, need to think how we can get around this.
Just throwing an idea - Few weeks ago I wrote an extension to do Sonar scan in VS with Sonar Qube, To do this I used docked browser control at bottom of VS, Do you think its worth exploring this path?
I did try to add support for oracle, if its ok - I can easily extend this for mysql as well.
I know execution plan looks pretty straight forward without any interactive UI like SQL server, but this is how I see it today in Sql Developer(IDE for Oracle) as well, so for start I think it's good as it will help - I am working on making it as tree but couple of my friends who are oracle DBA from multiple years don't like it as they are used of the view which I have updated in readme.
Thank you for great work with this extension. Let me know your thoughts on this PR