indexing vs partitioning

Hello,

Can you please provide us details on the (dis)advantages of partitioning when compared to indexing? We plan to support MS-SQL and MySQL platforms, to begin with.

Regards,
Raghu
LVL 1
raghuraniAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Guy Hengel [angelIII / a3]Billing EngineerCommented:
when you say partitionning, you can rule out MSSQL version 2000 or earlier, and rule out MySQL completely.
Only (Oracle and) MSSQL 2005 support partitionning of tables...
Indexes are possible in all of them.

Partitionning has more management overhead.
the advantages are however clear: each part of the table can be managed as part without disrupting the entire table.
each partition can have it's own (hence smaller) indexes, and queries on a partitionned table will be done by querying the partitions in parallel.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Aneesh RetnakaranDatabase AdministratorCommented:
raghurani,
> Can you please provide us details on the (dis)advantages of partitioning when compared to indexing?
If you have smaller partitions, then the size of indexes will also smaller..

read this article .
http://www.sqlteam.com/Item.ASP?ItemID=684
0
raghuraniAuthor Commented:
Hi,

Thanks for your quick responses.

First thought, angelIII: MySQL 5.x supports partitions! But, I agree with you that pre-5.x releases do not support partitions. As such we are OK to use MS-SQL 2005.

aneesh: I will visit the URL and get back to you.

Regards,
Raghu


0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Guy Hengel [angelIII / a3]Billing EngineerCommented:
>First thought, angelIII: MySQL 5.x supports partitions!
to be exact, it seems that with 5.1 partitionning get's available, I only know up to 5.0
0
Guy Hengel [angelIII / a3]Billing EngineerCommented:
AW, can you explain why the delete?
Information has been given...
0
Arthur_WoodCommented:
I did not think that enough information was given for raghurani to get a useable answer, and he did in fact say (to aneeshattingal) that he/she would checkout the link and get back - and never made any further response.

It is not at all clear that simply telling raghurani that he/she could or could not use partitioning gave enough information to answer the original question, which had to do with the relative advantages or disadvantages of partitioning vis a vis indexing.  The closest to an actual answer was from aneeshattingal, and that directed him/her to another web site, and he/she may or may not have actually looked into that site.  The lack of any further response was the driving force behind the recommendation.

AW
0
Guy Hengel [angelIII / a3]Billing EngineerCommented:
well, it seems that everybody seems to (have) ignore(d) what I wrote in my first post... I wrote what the advantages and disadvantes of partitions are, although it is not really clear that "partitionning" vs "indexing" is a bad question.
you should (will) always use indexing, wether you use partitionning or not. Partitionning can help the indexing, but is not a replacement.
There are no other arguments in regards to partitions itself than "CONS"=more management needed and "PRO"=more management possible, and that partitions do not replace indexes, but are to be used in additions to indexes.
0
Arthur_WoodCommented:
ok. I give..

AW
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Databases

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.