Prev | Current Page 268 | Next

Rick Greenwald, Robert Stackowiak, Jonathan Stern

"Oracle Essentials: Oracle Database 11g"


120 | Chapter 4: Oracle Data Structures
You can also view the execution plan through Enterprise Manager for the SQL statements
that use the most resources. Tuning your SQL statements isn??™t a trivial task,
but with the EXPLAIN PLAN and TKPROF utilities you can get to the bottom of the
decisions made by the cost-based optimizer. It takes a bit of work to understand
exactly how to read an execution plan, but it??™s better to have access to this type of
information than not. In large-scale system-development projects, it??™s quite common
for developers to submit EXPLAIN PLANs for the SQL they??™re writing to a DBA as a
formal step toward completing a form or report. While time-consuming, this is the
best way to ensure that your SQL is tuned before going into production.
SQL Advisors
Oracle Database 10g added a tool called the SQL Tuning Advisor. This tool performs
advanced optimization analysis on selected SQL statements, using workloads
that have been automatically collected into the Automatic Workload Repository or
that you have specified yourself.


Pages:
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280
gromada CSS Ninja remont warszawa traktorki ogrodowe kolej transsyberyjska