SQL Server need to partition data, but only have standard edition

前端 未结 1 586

Is there a way that I can in code (Sproc ,etc) distribute the data for a table into multiple filegroups without actually having SQL Server partitioning available (Only have

1条回答
  •  天涯浪人
    2021-01-01 03:51

    You can distribute your data into different databases and join them with views. The tricky part of that will be to keep the views updated as you add/remove data.

    You need to do this "partition" on a logical key (like a calendar date) where each DB has data within a certain range. If you cluster on this field, the query analyzer will be able to determine which DB to pull data from without issue.

    At my workplace we are using this technique for a very large (multi-billion row) data set that we get monthly additions to and it works great.

    0 讨论(0)
提交回复
热议问题