Tell me more ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

currently, I created 1 partition table with 1 file group and 4 data files (4 quarter/year).

Data have been inserted successfully. And everything is right when I check records belong to which partition by query:

Select i.name, i.index_id, p.partition_number, p.rows 
From sys.partitions As p Join sys.indexes As i     
On p.object_id = i.object_id And p.index_id = i.index_id 
Where p.object_id = object_id('DiASCII_850_PO') 
Order By i.index_id, p.partition_number;

Next, I add one more data file (named 'filegroup_20011_q1.ndf') to this file group, it created success with size 1mb. Next, I split the partition function by range '2011-01-01'. It's still fine.

So now, I have 5 partitions with the fifth partition stores data from date '2011-01-01'. And when I queried data with Execution Plan, it told me that data come from the fifth partition.

But when I check the size of data file 'filegroup_20011_q1.ndf', size is still 1mb.

So, where is the data from date '2011-01-01'? which data file is storing them?

thank you very much.

share|improve this question
I'm not sure how you created your data file, but if the data is going to be less than or equal to 1 MB then I don't see why this would cause you alarm. Are you questioning why the data file hasn't grown? What makes you think it should have? – Thomas Stringer Oct 2 '12 at 12:30

migrated from stackoverflow.com Oct 2 '12 at 11:50

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.