Re: huge price database question..
От | Jim Green |
---|---|
Тема | Re: huge price database question.. |
Дата | |
Msg-id | CACAe89ybCyk06ELRB2qR=N+fFzQBOPvg=7r18D5uVb=mbMywQQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: huge price database question.. (John R Pierce <pierce@hogranch.com>) |
Список | pgsql-general |
On 20 March 2012 22:22, John R Pierce <pierce@hogranch.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@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general
В списке pgsql-general по дате отправления: