standardtom ([personal profile] standardtom) wrote2004-12-14 03:02 pm

The CPU cycles on...

An SQL statement I started running three hours ago has only just now finished.

And it only inserted 85 frippin' rows.

I feel very cheated.

[identity profile] cincycub.livejournal.com 2004-12-14 01:04 pm (UTC)(link)
OMG, I'd say there's somethin wrong there...

[identity profile] standardtom.livejournal.com 2004-12-14 01:33 pm (UTC)(link)
It was pretty cobbled-together anyway. But I still didn't expect it to take THAT long.

It was comparing the results of a function-within-a-function to a large IN clause.

[identity profile] cincycub.livejournal.com 2004-12-14 01:40 pm (UTC)(link)
Oh wow. Maybe it's time to rewrite :)

[identity profile] standardtom.livejournal.com 2004-12-14 01:46 pm (UTC)(link)
Rewrite?

The horror!

;-)

[identity profile] zoxobear.livejournal.com 2004-12-14 01:08 pm (UTC)(link)
Oracle $ $ $

[identity profile] standardtom.livejournal.com 2004-12-14 01:38 pm (UTC)(link)
Description of Oracle's worldview:

"Come into my parlor, said the spider to the fly."

[identity profile] standardtom.livejournal.com 2004-12-15 08:22 am (UTC)(link)
I <3 Toad!

I use it every day.

[identity profile] mississippicub.livejournal.com 2004-12-14 01:24 pm (UTC)(link)
thats screwed up

[identity profile] standardtom.livejournal.com 2004-12-14 01:37 pm (UTC)(link)
Yeah.

But then, I am t3h 1n3ff1c13nt c0d3r!

[identity profile] quirkstreet.livejournal.com 2004-12-14 01:43 pm (UTC)(link)
I feeeeel your pain.

[identity profile] standardtom.livejournal.com 2004-12-14 01:51 pm (UTC)(link)
God I love that user icon.

But I digress... :-)

[identity profile] quirkstreet.livejournal.com 2004-12-14 01:55 pm (UTC)(link)
Well, thank you.

And it even exists in a larger format somewhere ... [leer]

[identity profile] standardtom.livejournal.com 2004-12-14 02:07 pm (UTC)(link)
Well now.

If I ask real nice, could I see the large-format version? My LJ email address works just fine. :-D

[identity profile] nfotxn.livejournal.com 2004-12-14 01:57 pm (UTC)(link)
Uh, how much data are you dealing with?

[identity profile] standardtom.livejournal.com 2004-12-14 02:09 pm (UTC)(link)
It actually was sifting through a lot of data, and doing some pretty involved subqueries inside a PL/SQL function. And the more I look at it, I'm beginning to think that my query was contending with someone else's that was running at the same time.

[identity profile] biguyfriend.livejournal.com 2004-12-16 09:01 pm (UTC)(link)
I was going to ask you if you were on your own db or on one that was shared by everyone? Plus, how many tables were involved here? anyway, I feel your pain...I am beginning to hate ALL queries... Hugs buddy, ya know I love ya.

[identity profile] standardtom.livejournal.com 2004-12-17 04:04 pm (UTC)(link)
Hey :-)

It was most definitely a shared db... it was the main Oracle database that the whole university shares. So, it had occurred to me that I might have been contending with someone else.

Also, it wasn't but two or three tables. A lot of the actual activity was being generated most likely by the PL/SQL function, which was doing something with addresses that's pretty intensive.

Of course I know you love me. Ditto. :-D

[identity profile] shawnsyms.livejournal.com 2005-01-26 01:56 am (UTC)(link)
I want to give you a birthday gift in the flesh some day soon.

xoxo