Hi I have prod DB about 16GB and only single file we plan to move to enterprise artitecture and will be more used in future so planning to add more data files for parallelism and better performance. My idead is to have additional 20GB ndf files but ho wdo i configure the existing datafile and addiotnal ndf files
Do i restore the DB with a single file and add other files but how do I make sure that the data is spreading across evenly. Can i limit the original file to 20GB and add the other files as 20GB
PLS can anyone give me som ehelp
AdminAnup
restore the database and make sure it's working correctly. Then use 'alter database' statement to add the ndf file to a different filegroup. Then you can re/create a clustered index with drop_existing to move the table(s) to the new datafile.
Take a look at 'alter database' and 'create index' in book online for additional details.
|||yes I understand that part my question was more on the autogrow properties and how data is spread across. All these are in single filegroup
say restoring the DB there is one file 16GB then what are the options for this I mean do I limit it to be 20GB
then I add 2 more ndf files each with 20GB what are the options like do I set autogrowth by 1GB or 10%
I am not sure how data is written in each of these and for each the settings of autogrowth to make sure I have a cnsistent 20GB 3 files
No comments:
Post a Comment