Unix Technical Forum

Re: Working with huge tables of chronological data

This is a discussion on Re: Working with huge tables of chronological data within the Oracle Database forums, part of the Database Server Software category; --> "Jonathan Lewis" <jonathan@jlcomp.demon.co.uk> wrote in message news:... > > "charely" <nospam@skynet.be> wrote in message > news:461a24bd$0$13860$ba620e4c@news.skynet.be... >> > > ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 05:04 AM
Jonathan Lewis
 
Posts: n/a
Default Re: Working with huge tables of chronological data


"Jonathan Lewis" <jonathan@jlcomp.demon.co.uk> wrote in message news:...
>
> "charely" <nospam@skynet.be> wrote in message
> news:461a24bd$0$13860$ba620e4c@news.skynet.be...
>>

>
> Charley,
>
> You are correct - I lost sight of that entire branch
> of the thread. It is your solution, minus the boundary
> condition that you had captured in your version of
> the code. (I leave the need for < or <= operators
> to the original poster to decide - the choice depends
> on his exact requirements).
>
> I think the 'select max(timed) from ta' option in your
> original solution is actually more elegant than picking
> an arbitrary future date - it doesn't add materially to
> the resource usage as it will only execute once through
> a min/max range scan.
>
>
> The answer to Charles Hooper's question in the follow-up
> to your original post: where did the bind variable come from ?
> It's how Oracle handles the correlated column from the outer
> table as it generates the plan for the correlated subquery.
>


charely

Apologies for spelling your name incorrectly.
I let the spell-checker "correct" what I had
typed before my brain caught up with what
I was reading.


--
Regards

Jonathan Lewis
http://jonathanlewis.wordpress.com

Author: Cost Based Oracle: Fundamentals
http://www.jlcomp.demon.co.uk/cbo_book/ind_book.html

The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:07 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com