Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: "Brian Selzer" <brian@xxxxxxxxxxxxxxxxxxx>
- Date: Sat, 05 May 2007 09:42:28 GMT
"David Cressey" <cressey73@xxxxxxxxxxx> wrote in message
news:QvJ_h.11$rk5.8@xxxxxxxxxxx
"Brian Selzer" <brian@xxxxxxxxxxxxxxxxxxx> wrote in message
news:eFF_h.7202$rO7.3983@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
and
"Cimode" <cimode@xxxxxxxxxxx> wrote in message
news:1178260494.811737.293620@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 4 mai, 02:35, "Brian Selzer" <b...@xxxxxxxxxxxxxxxxxxx> wrote:
"Cimode" <cim...@xxxxxxxxxxx> wrote in message
news:1178221012.371056.145700@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 3 mai, 21:04, "Brian Selzer" <b...@xxxxxxxxxxxxxxxxxxx> wrote:
"Cimode" <cim...@xxxxxxxxxxx> wrote in message
On 3 mai, 18:45, "David Cressey" <cresse...@xxxxxxxxxxx> wrote:
"Bob Badour" <bbad...@xxxxxxxxxxxxxxxx> wrote in message[Snipped]
Maybe I cut him too much slack. If the past is any guide,
optimizers
will
get better, and Brian won't. It's instructive that Both Cimode
meKevinFor my defense, I am trying to trigge questions here. It would
provide actual data, while Brian merely states his claim.
be
illusional ton my part to hope to get definite answers.
But even if he wins this particular race, he will not convince
instinct.thatYou will soon realize that Brian mainly tries to convince
cursors are the way to go. I've seen too much evidence to the
contrary.
himself.
Getting out of procedural mindset is nothing but *natural*
dip
Could you please elaborate? I don't need convincing. Sometimes I
toldintoYou are in denial. Don't you realize that at least 4 people have
waters that a bit too deep and end up chewing on my foot, but when
I
know
I'm right, I don't need convincing, and I certainly don't try to
convince
myself.
thatyou the exact opposite of your claims and you are refusing to admit
they may just be right. Is 'nt there a slight doubt in your mind
thisyou may be missing something ? that some aspect of fundamental
theory
may have elluded you?
There is an understandable but unreasonable bias against cursors in
group. I wouldn't be surprised if 15 people told me I was full of it,Have you considered the idea that some people here were once in your
since
most of the time, cursors are used incorrectly or where a set-based
solution
would perform better, and once someone has had a bad experience, it's
difficult to set aside emotionalism and examine a similar solution
dispassionately.
exact shoes and they once may had the unshakable belief in what you
just wrote.
I only know what I have experienced, and to me it makes sense.
This raises the following question: does "what you have experienced"
include what you have learned from other people? If not, what will it
take
to persuade you that some of the writers in this newgroup are onto
something
you might find worth while.
I admit that I am more willing to trust my own personal experience than that
of others. And even more so when I have a logical rationale to back it up.
What will it take? In this case, hard evidence.
Everyiteration.
optimizer step is implemented in the engine by using some form of
What I'm suggesting effectively replaces several optimizer steps with a
single user-defined one that makes a single pass through the
data--similar
to what a step that computes aggregates does.
I think you are greatly underestimating what a good optimizer can do. I'm
judging from a limited understanding of the Rdb/VMS optimizer, going back
to 1994. I can only assume that things have gotten better since then.
Even
if they haven't gotten better, I'm sure they haven't gotten worse.
When you realize that you have to squeeze a batch process that's taking over
30 hours to run into a 2-hour window...when you've tweaked, rewritten, and
rewritten again a set-based solution, spending weeks pouring over execution
plans and traces...when you've tried indexes, optimizer hints, forced
plans--even thrown hardware at it, and still have a solution that performs
better, but not good enough to meet requirements...when you've thrown up
your hands and polished your resume...you gain a far too intimate
understanding of what an optimizer can and cannot do. The most efficient
set-based solution I could come up with still took 7 hours to run--even
after adding hardware. But after introducing 5 cursors at key points in the
process, the execution time dropped to just over an hour. In three
instances a cursor replaced a complex section of an execution plan resulting
from multiple self-joins; in another instance, two cursors executing
simultaneously replaced a complex section of an execution plan resulting
from several correlated subqueries.
.
- Follow-Ups:
- References:
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: Cimode
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: Cimode
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: Brian Selzer
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: Jon Heggland
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: Brian Selzer
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: Brian Selzer
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: Cimode
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: paul c
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: Cimode
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: David Cressey
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: Brian Selzer
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: David Cressey
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: Bob Badour
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: David Cressey
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: Cimode
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: Brian Selzer
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: Cimode
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: Brian Selzer
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: Cimode
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: Brian Selzer
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- From: David Cressey
- Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- Prev by Date: Re: more closed-world chatter
- Next by Date: Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- Previous by thread: Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- Next by thread: Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
- Index(es):
Relevant Pages
|