Take the 2-minute tour ×
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.

I'm trying to learn something about distributed databases and I stumbled upon the concepts of fragmentation and partitioning. It seems to me as if both do the same thing and produce similar results (deviding a relation horizontally/vertically/both).

So what's the difference between fragmentation and partitioning?

share|improve this question

closed as unclear what you're asking by Jon Seigel, StanleyJohns, Max Vernon, RolandoMySQLDBA, Michael - sqlbot Sep 6 '13 at 16:26

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
What RDBMS are you referring to ? –  Kin Jun 29 '13 at 20:05
    
No specific one. Im just asking in general. –  nozzleman Jun 29 '13 at 22:21
3  
I think you mean sharding, not fragmentation? –  Jon Seigel Jul 10 '13 at 3:18
    
no no, i meant partitioning, i've actually never heard of sharding... –  nozzleman Jul 10 '13 at 14:57
    
Then please clarify what you mean by fragmentation, because the two concepts you're asking about are completely different, at least using the standard definitions of them. –  Jon Seigel Jul 10 '13 at 16:27

2 Answers 2

The terminology depends on the RDBMS. In SQL server: Partitioning is a DB feature that can be used to improve performance and/or manageability of your DB.

Fragmentation happens when your rows in the data pages are non-contiguous due to insert/delete operations. Your DB performance will decrease if you have high fragmentation of your data.

share|improve this answer

look here. Remember partitioning and fragmentation on your local hard disk.

http://de.wikipedia.org/wiki/Skalierbarkeit#Skalierung_hinsichtlich_Datenbankeintr.C3.A4ge_-_Denormalisierung

share|improve this answer
    
Thanks for your answer. Anyway, i think thats not comparable.. –  nozzleman Jun 29 '13 at 17:52

Not the answer you're looking for? Browse other questions tagged or ask your own question.