我建议使用一张桌子。1000000行两个int,一个double和一个FK将是非常有效的。如果您担心数据进出数据库,那么可能需要对这些数据执行linq-to-sql以外的操作
也就是说您可以使用XML键入列并将您的点存储在其中,这是Linq to sql所支持的。但也需要考虑其他一些因素。
来自文档
The SQL Server XML data type is
available starting in Microsoft SQL
Server 2005. You can map the SQL
Server XML data type to XElement,
XDocument, or String. If the column
stores XML fragments that cannot be
read into XElement, the column must be
mapped to String to avoid run-time
errors. XML fragments that must be
mapped to String include the
following:
XML元素的序列
属性
公共标识符(PI)
评论
Although you can map XElement and
XDocument to SQL Server as shown in
the Type Mapping Run Time Behavior
Matrix, the DataContext.CreateDatabase
method has no default SQL Server type
mapping for these types.