Skip to Main Content

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Massimo.

Asked: March 19, 2017 - 5:37 pm UTC

Last updated: March 20, 2017 - 12:21 pm UTC

Version: 11 g

Viewed 1000+ times

You Asked

Hi all at ASK, we have a 180 gb table with 340 gb index and we want partioning index and table.

Is possible ?

There is a year column and i suppose that column is ok for partioning table and index.

Which strategy is best ?

Thanks in advance, Massimo

and Connor said...

Partitioning *any* table is generally possible.

The more important question is why, and this is generally a combination of business requirements and/or technical requirements.

For example, there is nothing wrong with a 180GB table that is not partitioned...*unless* there is something about it that makes a case for *needing* partitioning.

This could be:

a) it is hard to manage an object that size
b) you might to manage different parts of the data in different way (eg compress old data, or have some of it read only)
c) you might get some performance benefits from a partitioning scheme.

Generally its (c) that tends to motivate people toward partitioning, and this is also what governs the *how* you partition. If you partition on a YEAR column, but every query never provides that column in queries, then its unlikely you'll any performance benefit for those queries.

So focus on the *business needs* and your current *pain points*. They are the things that will determine *if* you need to partition, and if so, *how* to partition the data.

Rating

  (1 rating)

Is this answer out of date? If it is, please let us know via a Comment

Comments

Table e Index Partitioning

Massimo, March 21, 2017 - 12:22 pm UTC

Thanks so mutch Connor.

Massimo

More to Explore

VLDB

If you are new to partitioning, check out Connor McDonald's introduction series here.

VLDB

Documentation set on VLDB and Partitioning.