Re: Dreaming About Redesigning SQL

From: "Anthony W(dot) Youngman" <thewolery(at)nospam(dot)demon(dot)co(dot)uk>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Dreaming About Redesigning SQL
Date: 2003-10-26 23:04:02
Message-ID: 7nqNg2GiLFn$EwIl@thewolery.demon.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

In article <$xpsVWAvnCn$Ew5r(at)thewolery(dot)demon(dot)co(dot)uk>, Anthony W. Youngman
<thewolery(at)nospam(dot)demon(dot)co(dot)uk> writes
>>Really, however you calculate it, it is an order of magnitude less
>>than your alternative.
>>
>>And please don't tell me that using indexes is not fair or not in the
>>spirit of the
>>relational model ;-)
>
>Well, it does result in data being stored multiple times ;-)
>
>And while it maybe doesn't affect the result that much, you wanted the
>value? Where has that come from? What if the price changed half way
>through the period you're calculating? :-) You've failed to answer your
>own question, so maybe I could match you ...

Whoops - sorry - I did notice after I wrote this that you included price
in your index. But it does seem strange indexing on a composite field
like that ...

Cheers,
Wol
--
Anthony W. Youngman - wol at thewolery dot demon dot co dot uk
Witches are curious by definition and inquisitive by nature. She moved in. "Let
me through. I'm a nosey person.", she said, employing both elbows.
Maskerade : (c) 1995 Terry Pratchett

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Lauri Pietarinen 2003-10-26 23:06:27 Re: Dreaming About Redesigning SQL
Previous Message Alvaro Herrera 2003-10-26 22:59:54 Re: Question about read interval type in binary format