Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
dbthj
Posting Yak Master
143 Posts |
Posted - 2011-10-28 : 11:44:10
|
If you have a Filegroup with multiple files, does a table in that filegroup live exclusively in one file, or will it's data spread across files?The reason I ask: I have a Filegroup with multiple files on different drives. One drive is nearly full. Am I saved from impending DB death by the extra files? If a table lives in only onefile, then I am not. If it does, then I need to find out which tables/indexes are in that file. I only have queries to tell me which filegroup they live in. |
|
nigelrivett
Master Smack Fu Yak Hacker
3385 Posts |
Posted - 2011-10-28 : 12:04:53
|
It will spread across the the files proportionally by free space - means a full file shouldn't grow any more until the others are full. If you have created small extra files then I think it will inccrease the size of each in turn so make sure the new files have free space.==========================================Cursors are useful if you don't know sql.SSIS can be used in a similar way.Beer is not cold and it isn't fizzy. |
|
|
dbthj
Posting Yak Master
143 Posts |
Posted - 2011-10-28 : 12:18:47
|
Thanks a bunch. That's what I would guess. I just wasn't sure. |
|
|
Sachin.Nand
2937 Posts |
Posted - 2011-10-29 : 04:01:43
|
quote: Originally posted by nigelrivett It will spread across the the files proportionally by free space - means a full file shouldn't grow any more until the others are full. If you have created small extra files then I think it will inccrease the size of each in turn so make sure the new files have free space.==========================================Cursors are useful if you don't know sql.SSIS can be used in a similar way.Beer is not cold and it isn't fizzy.
Proportional fill does not expand a file..Once all the files(using proportional fill) in a filegroup are full then SQL Server expands one file at a time(based on the auto grow setting) in a round robin manner and once that one is full moves to the next file and expands it and so on...PBUH |
|
|
|
|
|