EE and EEE partitioning

Posted on 2003-03-06
Medium Priority
Last Modified: 2012-05-04
1) From which version of EEE, partitioning is allowed? Which is the best suited version to use in EEE?

2) Using EE how do we achieve multiple partitioning which is provided in EEE and which version is suited most to achieve the same effect.

--- k_murli_krishna
Question by:k_murli_krishna
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment

Accepted Solution

mglxxx earned 300 total points
ID: 8194059
1) The first EEE version I used was 6.2. If I remember
correctly, there aren't any differences in how DB2
handles partitioning between 6.2 and 8.x. (There
are some new features in 8.x for how partitioned tables
are loaded, though)

2) One possibility I (still) need to test is:

1. Create several tables of identical structure having
a 'partitioning column', e.g. a year. I'll call these
'partition tables'.

2. Create a view which is a 'union all' of those tables
and contains a criterion in the 'where' clause, which
tells the optimizer that rows for a given year can be found
only in one of the partition tables, e.g.
create view all_years as
select ... from year_2001
where year = 2001
union all
select ... from year_2002
where year = 2002

I'll call this the 'union view'.

3. Test: create a select which accesses the 'union view'
only for a given year and for a críterion on some other
attribute of the partition tables.
E.g. let's assume that the union tables contain a
column 'product_category' and that there is an index
on that column.

Then a suitable test statement would be:

select count(*) from all_years
 where year = 2002
   and product_category = 'Widget'

If the optimizer is really smart, it should only
access the partition table year_2002 and use the
index on 'product_category' on that table.

If this works, this setup would be somewhat similar to
'partitioned view' Oracle introduced with 7.3 (I think).  

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question