Hello,
I need some advise in table design, and more specifically about table partitioning. I read some papers and there was mentioned that if a table is expected to hold millions of rows, it's a good idea to partition it.
Vertical partitioning, as I understood it, is separating data that differs in some way in a separate table, adding a key field as an identifier to what segment it belongs.
The particular table holds signal measurements from different sites and has the following layout :
SiteID int,
MeasID int,
Timestamp datetime,
Value real,
Status int
etcJunk int
SiteID, MeasID and Timestamp form the PK.
The horizontal partitioning should be obviously done by Timestamp, but that creates pretty bad problems with automatic table creation (when it's time to do so), inserts from measurement system and selects from report tools - generally with the application code.
I would appreciate any consistent strategy for implementing such partitioning.
Ops, just to mention - OS - Windows, MSSQL 2000, in case that matters in any way.