A SQL Tuning Case Study: Could we K.I.S.S. Please?

                                         direct shot:

They say, it pays to K.I.S.S (Keep It Simple and Smart).
The simplest ideas are the greatest ideas.This philosophy also applies to sql
coding when we tell the oracle SQL engine what to fetch and how
to fetch it (Indirectly). There are great rewards for simplistic thinking.



Lets discuss this principle through a case study in which the user was
trying to fetch very simple data through an over-kill query, involving 
RA_* views which were internally using some of the same tables. The SQL
engine was therefore just trying to fetch and filter too much data from
the
same sources. It was not certainly efficient.



In this case study, we see how its important to understand the "Why" of
a query, rather than the "How" of a query. Many times, just rethinking
the whole approach pays great dividends.

Read the entire case study here...


Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

bocadmin_ww

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today