From: | Jim Green <student(dot)northwestern(at)gmail(dot)com> |
---|---|
To: | John R Pierce <pierce(at)hogranch(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: huge price database question.. |
Date: | 2012-03-21 02:30:16 |
Message-ID: | CACAe89ybCyk06ELRB2qR=N+fFzQBOPvg=7r18D5uVb=mbMywQQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 20 March 2012 22:22, John R Pierce <pierce(at)hogranch(dot)com> wrote:
> your 7000 tables all contain the exact same information, with the only
> difference being the stock ticker symbol, right? then really, the single
> table, perhaps partitioned by month or whatever, is the right way to go.
> Any schema that makes you have to build SQL statements from strings for
> each query is designed wrong.
each table contains 1 minute price data for that symbol, so each table
has the same schema, open, high,low,close and volume etc, but not the
same data..
Thanks.
>
>
>
> --
> john r pierce N 37, W 122
> santa cruz ca mid-left coast
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Green | 2012-03-21 02:35:34 | Re: huge price database question.. |
Previous Message | Jim Green | 2012-03-21 02:26:53 | Re: huge price database question.. |