Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I came to know that Shrinking will reduce the performance of Database below i mentioned articles web address

http://www.sqlskills.com/blogs/paul/why-you-should-not-shrink-your-data-files/[^]
Am not expert in Database Could you please any one help me how to reduce the fragmentation percentage ?

Thanks
Posted

1 solution

Hi
Don’t confuse shrinking the transaction log with shrinking data files. Shrinking the log is necessary if your log has grown out of control, or as part of a process to remove excessive VLF fragmentation

data file shrink causes massive index fragmentation, So dont shrink Data File.

Please refer to the Link...
What is Fragmentation? How to detect fragmentation and how to eliminate it?

Regards
Willington
 
Share this answer
 
Comments
kimberly wind 27-Feb-13 4:29am    
My vote 5 ... thanks for the great link... do u ever done this ?
kimberly wind 27-Feb-13 4:48am    
Hi i tried this query
USE AdventureWorks;
GO
ALTER INDEX ALL ON Production.Product REORGANIZE
GO

But there is no change in percentage

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900