vsbabu / nodejs-timeseries

Node js example for building timeseries data; manually or scraping web sites
2 stars 3 forks source link

Make the db implementation with master-child #1

Closed vsbabu closed 11 years ago

vsbabu commented 11 years ago

Today the data gets logged in one table - naturally, that is not the right DB design. Split it into two tables like series 1..* readings; and add a composite unique index on series(source, source_key).