Please some opinion in the free partitioning for Oracle standard Edition project

  • From: "Juan Carlos Reyes Pacheco" <juancarlosreyesp@xxxxxxxxx>
  • To: "Oracle" <Oracle-L@xxxxxxxxxxxxx>
  • Date: Thu, 14 Sep 2006 13:46:59 -0400

Hi, if you have some feedback please this is the proyect basically, I hope
be in this year
check it first please.

For every thing there is a function in a master package for every
partitioned table, for example there is a function to create addition

1. you have the table partitioned in several tables, every table is a
partition, every one has the indexes it needs
2. the information about range of every partition is store in the partitions
information table, the table name, and the range, and other info,
  there is a header table for partitioned tables is not in the scheme,
3. You can create global indexes, this are iot tables storing primary key,
the table partition where its stored and the rowid in that table
4. how you query?
  a. you have a view, union all of all tables, this give a transparent full
  b. you have a function table using the globalindextable
 c. you have a function table which queries only the tables partitiosn you
need, the primary key are parameter in the function table
5. To insert,update you use a temporary table, a funcion move data from the
temporary table to the proper partition, based on the partitions information
6. To delete there is function too, using the partitions table information

The main benefits are the fact
1.  to create historic data, you can create a new partition and move it to a
read only tablespace
2. you can improve the access in historic tables having a lot of historic
rows which are rarely accessed

This doesn't too simple, but the performance improvement in big tables
deserves the effort.
I either see really as a complex proyect  to program, is true there will be
lots of details, specially to add list partitioning, etc.
If you have some idea about improving this free project partitioning
concept, you are welcome.



Oracle Certified Profesional 9i 10g
Orace Certified Professional Developer 6i

10 years of experience from Oracle 7 to Oracle10g and developer 6i

Other related posts: