|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: New Certification: Oracle Expert - SQL Tuning 11g [message #598179 is a reply to message #598131] |
Fri, 11 October 2013 01:10 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
rc3d, please, don't get me wrong.
You said that you are a beginner. Reading this discussion, I have a feeling that SQL Tuning might not be the right choice for you at the moment. Saying that code you produce isn't optimized doesn't necessarily mean that it requires some kind of "expert tuning". Maybe, if you spent some more time in doing Oracle, you'd be able to compare code "now" and "some time later" and see the improvement.
For example: you know there's PL/SQL and saw that cursor FOR loop is a nice thing, so you update a table in a loop, committing after every UPDATE statement. There's a good chance that - if you rewrite it in a way that it uses pure SQL (not PL/SQL) UPDATE statement, the same task would be done much faster. This is not really "tuning" but using an appropriate technique.
That's why I was thinking that it might be a better choice to forget about SQL Tuning for a while. See what Matthew said, that it is one of the hardest exams he'd ever taken, and if it was hard for him, imagine how you'd feel about it. I'm not suggesting that you are "stupid" and unable to take it, I just think that you aren't ready for it yet. Spend some time here, reading (and solving) problems in our (PL/)SQL forum - you might benefit from it.
|
|
|
|
|