Multiple Data files and Multiple File Groups

前端 未结 1 1149
醉酒成梦
醉酒成梦 2021-01-23 14:28

Dear Experts. I have a question in mind regarding multiple file groups in SQL Server 2005. I am convinced that our database should have secondary data files, because of various

相关标签:
1条回答
  • 2021-01-23 15:10

    Don't bother separating system and user data. It doesn't add anything. In real life, either your MDF is there or it isn't. There aren't many shades of grey.

    As for splitting, I wouldn't bother with multiple filegroups until one or more of:

    • I'm approaching terabyte size
    • Very high load
    • More than one large table (not just one large table)
    • Maybe separate indexes based on load/size/large tables

    And only if I can have separate LUNs or RAID arrays for each file. Otherwise it's pointless because you're dividing a finite resource between more files

    Summary: for most databases, it isn't worth it

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