0

Is this possible? I have never seen it before but recently came into running some servers where the application/service creates a new data file and new data filegroup every week. Beyond the absurdity of this design ( and the developer mandate that we keep two years of data on hand, or 104 data files and filegroups) was my question as to "Is this possible?". Many thanks for the education in advance!

1

Yes, it is called table partitioning. A single table is created over multiple different filegroups and a column within the table is used to figure out which partition the data for that row should be in.

2
  • I was aware that you could partition databases and files, I was unaware of specific table partitioning. Thank you! – Ddono25 Dec 16 '10 at 2:21
  • No problem. It was introduced in SQL Server 2005, and requires the Enterprise Edition or higher. – mrdenny Dec 16 '10 at 3:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.